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   64
 
#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_CUBE_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
}
 
enum  RE_MaterialTextureBinding {
  RE_MATTEX_NONE = -1, RE_MATTEX_FIRST_INDEX = 20, RE_MATTEX_DIFFUSE = RE_MATTEX_FIRST_INDEX, RE_MATTEX_DIFFUSE_UDIM,
  RE_MATTEX_OPACITY, RE_MATTEX_OPACITY_UDIM, RE_MATTEX_SPECULAR, RE_MATTEX_SPECULAR_UDIM,
  RE_MATTEX_EMISSION, RE_MATTEX_EMISSION_UDIM, RE_MATTEX_NORMAL, RE_MATTEX_NORMAL_UDIM,
  RE_MATTEX_ROUGH, RE_MATTEX_ROUGH_UDIM, RE_MATTEX_OCCLUSION, RE_MATTEX_OCCLUSION_UDIM,
  RE_MATTEX_METALLIC, RE_MATTEX_METALLIC_UDIM, RE_MATTEX_COAT_INT, RE_MATTEX_COAT_INT_UDIM,
  RE_MATTEX_COAT_ROUGH, RE_MATTEX_COAT_ROUGH_UDIM, RE_MATTEX_REFLECT_INT, RE_MATTEX_REFLECT_INT_UDIM,
  RE_MATTEX_DISPLACE, RE_MATTEX_DISPLACE_UDIM, RE_MATTEX_ENV, RE_MATTEX_REFLECT,
  RE_MATTEX_SPECIAL_MAT_START, RE_MATTEX_HAIR_DIFFUSE = RE_MATTEX_SPECIAL_MAT_START, RE_MATTEX_HAIR_DIFFUSE_UDIM, RE_MATTEX_HAIR_DIFFUSE_BLEND,
  RE_MATTEX_HAIR_SPECULAR, RE_MATTEX_HAIR_SPECULAR_UDIM, RE_MATTEX_HAIR_SPECULAR_BLEND, RE_MATTEX_HAIR_ALPHA,
  RE_MATTEX_TERRAIN_BLEND = RE_MATTEX_SPECIAL_MAT_START, RE_MATTEX_TERRAIN_TEXTURE1, RE_MATTEX_TERRAIN_TEXTURE2, RE_MATTEX_TERRAIN_TEXTURE3,
  RE_MATTEX_TERRAIN_TEXTURE4, RE_MATTEX_TERRAIN_TEXTURE5, RE_MATTEX_TERRAIN_TEXTURE6, RE_MATTEX_TERRAIN_TEXTURE7,
  RE_MATTEX_TERRAIN_TEXTURE8, RE_MATTEX_TERRAIN_TEXTURE9, RE_MATTEX_TERRAIN_TEXTURE10, RE_MATTEX_MAX_BINDING
}
 

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   64

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_MATTEX_NONE 
RE_MATTEX_FIRST_INDEX 
RE_MATTEX_DIFFUSE 
RE_MATTEX_DIFFUSE_UDIM 
RE_MATTEX_OPACITY 
RE_MATTEX_OPACITY_UDIM 
RE_MATTEX_SPECULAR 
RE_MATTEX_SPECULAR_UDIM 
RE_MATTEX_EMISSION 
RE_MATTEX_EMISSION_UDIM 
RE_MATTEX_NORMAL 
RE_MATTEX_NORMAL_UDIM 
RE_MATTEX_ROUGH 
RE_MATTEX_ROUGH_UDIM 
RE_MATTEX_OCCLUSION 
RE_MATTEX_OCCLUSION_UDIM 
RE_MATTEX_METALLIC 
RE_MATTEX_METALLIC_UDIM 
RE_MATTEX_COAT_INT 
RE_MATTEX_COAT_INT_UDIM 
RE_MATTEX_COAT_ROUGH 
RE_MATTEX_COAT_ROUGH_UDIM 
RE_MATTEX_REFLECT_INT 
RE_MATTEX_REFLECT_INT_UDIM 
RE_MATTEX_DISPLACE 
RE_MATTEX_DISPLACE_UDIM 
RE_MATTEX_ENV 
RE_MATTEX_REFLECT 
RE_MATTEX_SPECIAL_MAT_START 
RE_MATTEX_HAIR_DIFFUSE 
RE_MATTEX_HAIR_DIFFUSE_UDIM 
RE_MATTEX_HAIR_DIFFUSE_BLEND 
RE_MATTEX_HAIR_SPECULAR 
RE_MATTEX_HAIR_SPECULAR_UDIM 
RE_MATTEX_HAIR_SPECULAR_BLEND 
RE_MATTEX_HAIR_ALPHA 
RE_MATTEX_TERRAIN_BLEND 
RE_MATTEX_TERRAIN_TEXTURE1 
RE_MATTEX_TERRAIN_TEXTURE2 
RE_MATTEX_TERRAIN_TEXTURE3 
RE_MATTEX_TERRAIN_TEXTURE4 
RE_MATTEX_TERRAIN_TEXTURE5 
RE_MATTEX_TERRAIN_TEXTURE6 
RE_MATTEX_TERRAIN_TEXTURE7 
RE_MATTEX_TERRAIN_TEXTURE8 
RE_MATTEX_TERRAIN_TEXTURE9 
RE_MATTEX_TERRAIN_TEXTURE10 
RE_MATTEX_MAX_BINDING 

Definition at line 194 of file RE_TextureTypes.h.

Enumerator
RE_CLAMP_REPEAT 
RE_CLAMP_BORDER 
RE_CLAMP_EDGE 
RE_CLAMP_MIRROR 

Definition at line 80 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 66 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 88 of file RE_TextureTypes.h.

Enumerator
RE_TEXTURE_ASSIGN_BUFFER 
RE_TEXTURE_ASSIGN_DATA 

Definition at line 152 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 158 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 97 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 139 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 57 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_CUBE_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 170 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 123 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 182 of file RE_TextureTypes.h.