HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_TextureTypes.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RE_MAX_TEXTURES   48
 
#define RE_MAX_TEXTURE_COORDS   16
 
#define RE_MAX_TEXTURE_STATE_STACK   16
 
#define RE_BAD_UNIFORM_UNIT   -1
 
#define RE_ACTIVE_UNIT   -2
 
#define RE_ALL_UNITS   -3
 
#define RE_TEXTURE_BAD_WRAPPING   3
 

Typedefs

typedef unsigned int RE_TextureID
 

Enumerations

enum  RE_TextureDimension {
  RE_TEXTURE_NONE = 0, RE_TEXTURE_1D, RE_TEXTURE_2D, RE_TEXTURE_3D,
  RE_TEXTURE_CUBE, RE_TEXTURE_RECTANGLE, RE_TEXTURE_1D_ARRAY, RE_TEXTURE_2D_ARRAY,
  RE_TEXTURE_2D_MULTISAMPLE, RE_TEXTURE_BUFFER
}
 
enum  RE_TextureDataType { RE_TEXTURE_DATA_COLOR, RE_TEXTURE_DATA_DEPTH, RE_TEXTURE_DATA_DEPTH_STENCIL, RE_TEXTURE_DATA_INTEGER }
 
enum  RE_TexFiltType {
  RE_FILT_MIN_FILTERS = -1, RE_FILT_NEAREST, RE_FILT_LINEAR, RE_FILT_NEAREST_MIPMAP_NEAREST,
  RE_FILT_NEAREST_MIPMAP_LINEAR, RE_FILT_LINEAR_MIPMAP_NEAREST, RE_FILT_LINEAR_MIPMAP_LINEAR, RE_FILT_MAX_FILTERS
}
 
enum  RE_TexClampType { RE_CLAMP_REPEAT = 0, RE_CLAMP_BORDER, RE_CLAMP_EDGE, RE_CLAMP_MIRROR }
 
enum  RE_TextureBorder { RE_TEX_BORDER_ZERO = 0, RE_TEX_BORDER_BLACK, RE_TEX_BORDER_WHITE, RE_TEX_BORDER_COLOR }
 
enum  RE_TextureCompress {
  RE_COMPRESS_NONE, RE_COMPRESS_NO_FP32, RE_COMPRESS_LOW_BIT_DEPTH, RE_COMPRESS_8_BIT_DEPTH,
  RE_COMPRESS_MIN_BIT_DEPTH, RE_COMPRESS_FP24, RE_COMPRESS_BIT, RE_COMPRESS_GL_FAST,
  RE_COMPRESS_GL_NICE, RE_COMPRESS_UNKNOWN
}
 
enum  RE_TextureMode {
  RE_TEXTURE_MODULATE, RE_TEXTURE_ADD, RE_TEXTURE_DECAL, RE_TEXTURE_REPLACE,
  RE_TEXTURE_BLEND, RE_TEXTURE_COMBINE, RE_TEXTURE_UNKNOWN
}
 
enum  RE_TextureCubeFace {
  RE_TEXTURE_CUBE_POS_X = 0, RE_TEXTURE_CUBE_NEG_X, RE_TEXTURE_CUBE_POS_Y, RE_TEXTURE_CUBE_NEG_Y,
  RE_TEXTURE_CUBE_POS_Z, RE_TEXTURE_CUBE_NEG_Z, RE_TEXTURE_CUBE_ALL_FACES
}
 
enum  RE_TextureBufferMode { RE_TEXTURE_ASSIGN_BUFFER = -1, RE_TEXTURE_ASSIGN_DATA = 0 }
 
enum  RE_TextureCompare {
  RE_TEXTURE_COMPARE_LESS, RE_TEXTURE_COMPARE_LESS_EQUAL, RE_TEXTURE_COMPARE_EQUALS, RE_TEXTURE_COMPARE_NOT_EQUAL,
  RE_TEXTURE_COMPARE_GREATER_EQUAL, RE_TEXTURE_COMPARE_GREATER
}
 
enum  RE_TextureFormatExtra { RE_TEXTURE_FORMAT_EXTRA_NONE, RE_TEXTURE_FORMAT_EXTRA_2CHAN_USE_RG, RE_TEXTURE_FORMAT_EXTRA_1CHAN_USE_ALPHA }
 
enum  RE_TextureSwizzle {
  RE_SWIZZLE_RED, RE_SWIZZLE_GREEN, RE_SWIZZLE_BLUE, RE_SWIZZLE_ALPHA,
  RE_SWIZZLE_ZERO, RE_SWIZZLE_ONE
}
 

Macro Definition Documentation

#define RE_ACTIVE_UNIT   -2

Definition at line 25 of file RE_TextureTypes.h.

#define RE_ALL_UNITS   -3
Examples:
DM/DM_LightBloomHook.C.

Definition at line 26 of file RE_TextureTypes.h.

#define RE_BAD_UNIFORM_UNIT   -1

Definition at line 24 of file RE_TextureTypes.h.

#define RE_MAX_TEXTURE_COORDS   16

Definition at line 18 of file RE_TextureTypes.h.

#define RE_MAX_TEXTURE_STATE_STACK   16

Definition at line 22 of file RE_TextureTypes.h.

#define RE_MAX_TEXTURES   48

Definition at line 17 of file RE_TextureTypes.h.

#define RE_TEXTURE_BAD_WRAPPING   3

Definition at line 28 of file RE_TextureTypes.h.

Typedef Documentation

typedef unsigned int RE_TextureID

Definition at line 14 of file RE_TextureTypes.h.

Enumeration Type Documentation

Enumerator
RE_CLAMP_REPEAT 
RE_CLAMP_BORDER 
RE_CLAMP_EDGE 
RE_CLAMP_MIRROR 

Definition at line 79 of file RE_TextureTypes.h.

Enumerator
RE_FILT_MIN_FILTERS 
RE_FILT_NEAREST 
RE_FILT_LINEAR 
RE_FILT_NEAREST_MIPMAP_NEAREST 
RE_FILT_NEAREST_MIPMAP_LINEAR 
RE_FILT_LINEAR_MIPMAP_NEAREST 
RE_FILT_LINEAR_MIPMAP_LINEAR 
RE_FILT_MAX_FILTERS 

Definition at line 65 of file RE_TextureTypes.h.

Enumerator
RE_TEX_BORDER_ZERO 
RE_TEX_BORDER_BLACK 
RE_TEX_BORDER_WHITE 
RE_TEX_BORDER_COLOR 

Definition at line 87 of file RE_TextureTypes.h.

Enumerator
RE_TEXTURE_ASSIGN_BUFFER 
RE_TEXTURE_ASSIGN_DATA 

Definition at line 151 of file RE_TextureTypes.h.

Enumerator
RE_TEXTURE_COMPARE_LESS 
RE_TEXTURE_COMPARE_LESS_EQUAL 
RE_TEXTURE_COMPARE_EQUALS 
RE_TEXTURE_COMPARE_NOT_EQUAL 
RE_TEXTURE_COMPARE_GREATER_EQUAL 
RE_TEXTURE_COMPARE_GREATER 

Definition at line 157 of file RE_TextureTypes.h.

Enumerator
RE_COMPRESS_NONE 
RE_COMPRESS_NO_FP32 
RE_COMPRESS_LOW_BIT_DEPTH 
RE_COMPRESS_8_BIT_DEPTH 
RE_COMPRESS_MIN_BIT_DEPTH 
RE_COMPRESS_FP24 
RE_COMPRESS_BIT 
RE_COMPRESS_GL_FAST 
RE_COMPRESS_GL_NICE 
RE_COMPRESS_UNKNOWN 

Definition at line 96 of file RE_TextureTypes.h.

Enumerator
RE_TEXTURE_CUBE_POS_X 
RE_TEXTURE_CUBE_NEG_X 
RE_TEXTURE_CUBE_POS_Y 
RE_TEXTURE_CUBE_NEG_Y 
RE_TEXTURE_CUBE_POS_Z 
RE_TEXTURE_CUBE_NEG_Z 
RE_TEXTURE_CUBE_ALL_FACES 

Definition at line 138 of file RE_TextureTypes.h.

Enumerator
RE_TEXTURE_DATA_COLOR 
RE_TEXTURE_DATA_DEPTH 
RE_TEXTURE_DATA_DEPTH_STENCIL 
RE_TEXTURE_DATA_INTEGER 

Definition at line 56 of file RE_TextureTypes.h.

Enumerator
RE_TEXTURE_NONE 
RE_TEXTURE_1D 
RE_TEXTURE_2D 
RE_TEXTURE_3D 
RE_TEXTURE_CUBE 
RE_TEXTURE_RECTANGLE 
RE_TEXTURE_1D_ARRAY 
RE_TEXTURE_2D_ARRAY 
RE_TEXTURE_2D_MULTISAMPLE 
RE_TEXTURE_BUFFER 

Definition at line 30 of file RE_TextureTypes.h.

Enumerator
RE_TEXTURE_FORMAT_EXTRA_NONE 
RE_TEXTURE_FORMAT_EXTRA_2CHAN_USE_RG 
RE_TEXTURE_FORMAT_EXTRA_1CHAN_USE_ALPHA 

Definition at line 169 of file RE_TextureTypes.h.

Enumerator
RE_TEXTURE_MODULATE 
RE_TEXTURE_ADD 
RE_TEXTURE_DECAL 
RE_TEXTURE_REPLACE 
RE_TEXTURE_BLEND 
RE_TEXTURE_COMBINE 
RE_TEXTURE_UNKNOWN 

Definition at line 122 of file RE_TextureTypes.h.

Enumerator
RE_SWIZZLE_RED 
RE_SWIZZLE_GREEN 
RE_SWIZZLE_BLUE 
RE_SWIZZLE_ALPHA 
RE_SWIZZLE_ZERO 
RE_SWIZZLE_ONE 

Definition at line 181 of file RE_TextureTypes.h.