gfx::TexelDefs Class Reference

Component of Texture mixin class (texel defs). More...

#include <gfx_opengl_texture.hh>

Inheritance diagram for gfx::TexelDefs:

gfx::TextureBase gfx::Texture

List of all members.

Private Types

enum  { TEXEL32_BB = 0, TEXEL32_GG = 1, TEXEL32_RR = 2, TEXEL32_AA = 3 }
 < Texel32 abstracts BGRA8 or RGBA8 format More...
enum  
enum  { TEXEL32_LEN = 4, TEXEL32_BGRA8_LEN = 4, TEXEL32_RGBA8_LEN = 4, TEXEL_DEFAULT_LEN = 4 }
 Bytes in texel formats. More readable than "4". More...
enum  eTexelType {
  eTexelType_BGR8 = GL_BGR, eTexelType_RGB8 = GL_RGB, eTexelType_BGRA8 = GL_BGRA, eTexelType_RGBA8 = GL_RGBA,
  eTexelType_Texel32 = GL_BGRA, eTexelType_DEFAULT = GL_BGRA
}
 Texel type. More...
enum  eTexEnv { eTexEnv_MODULATE = GL_MODULATE, eTexEnv_DECAL = GL_DECAL, eTexEnv_REPLACE = GL_REPLACE }
 Texture environment modes. More...


Detailed Description

Component of Texture mixin class (texel defs).

Member Enumeration Documentation

anonymous enum [private]

< Texel32 abstracts BGRA8 or RGBA8 format

Texel format. BGRA8 is the default. BGRA8 is faster than RGBA8 on Nvidia cards (driver must swizzle RGBA8 to BGRA8). Whether RGBA8 or BGRA8 format is compiled is abstracted by these macros. Currently, only RGBA8 or BGRA8 texels are supported. Byte indexs that abstract RGBA/BGRA format of Texel32. Independent of CPU endianness.

Enumerator:
TEXEL32_BB 
TEXEL32_GG 
TEXEL32_RR 
TEXEL32_AA 

anonymous enum [private]

Bit shifts to Texel32 bytes. These depend on CPU endianness when uint32 is stored as uint8[4]. uint8[4] must be in CPU-neutral byte-order defined by OpenGL.

anonymous enum [private]

Bytes in texel formats. More readable than "4".

Enumerator:
TEXEL32_LEN 
TEXEL32_BGRA8_LEN 
TEXEL32_RGBA8_LEN 
TEXEL_DEFAULT_LEN 

enum gfx::TexelDefs::eTexelType [private]

Texel type.

Enumerator:
eTexelType_BGR8 
eTexelType_RGB8 
eTexelType_BGRA8 
eTexelType_RGBA8 
eTexelType_Texel32 
eTexelType_DEFAULT 

enum gfx::TexelDefs::eTexEnv [private]

Texture environment modes.

Enumerator:
eTexEnv_MODULATE 
eTexEnv_DECAL 
eTexEnv_REPLACE 


The documentation for this class was generated from the following file: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:27 2007