# Class: textype

For creating textures or renderbuffers this defines the internal storage. Be aware that the rendersystem might not always be able to provide the format you asked for. Some types are baseformats which will leave it up to driver on which internalmode to pick. Formats such as depth and depth_stencil require special capabilities

## Hierarchy

    o-+ renderinterface
      o-+ textype

## Methods:

### Method overview:

- abgr
- alpha
- bgr
- bgra
- depth
- depth16
- depth24
- depth32
- depthstencil
- lum
- lumalpha
- rgb
- rgba
- stencil

abgr ()
  returns: (textype)
  reverses order of data for RGBA, internal remains baseformat
alpha ()
  returns: (textype)
  baseformat for ALPHA
bgr ()
  returns: (textype)
  reverses order of data for RGB, internal remains baseformat
bgra ()
  returns: (textype)
  reverses order of data for RGBA, internal remains baseformat
depth ()
  returns: (textype)
  baseformat for DEPTH_COMPONENT
depth16 ()
  returns: (textype)
  16 bit DEPTH_COMPONENT
depth24 ()
  returns: (textype)
  24 bit DEPTH_COMPONENT
depth32 ()
  returns: (textype)
  32 bit DEPTH_COMPONENT
depthstencil ()
  returns: (textype)
  baseformat for DEPTH_STENCIL
lum ()
  returns: (textype)
  baseformat for LUMINANCE
lumalpha ()
  returns: (textype)
  baseformat for LUMINANCE_ALPHA
rgb ()
  returns: (textype)
  baseformat for RGB
rgba ()
  returns: (textype)
  baseformat for RGBA
stencil ()
  returns: (textype)
  baseformat for STENCIL_INDEX. only for renderbuffers

## Inherited Methods: