core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

state_key Struct Reference


Data Fields

unsigned light_color_material_mask:12
unsigned light_global_enabled:1
unsigned light_local_viewer:1
unsigned light_twoside:1
unsigned material_shininess_is_zero:1
unsigned need_eye_coords:1
unsigned normalize:1
unsigned rescale_normals:1
unsigned fog_source_is_depth:1
unsigned separate_specular:1
unsigned point_attenuated:1
unsigned point_array:1
unsigned texture_enabled_global:1
unsigned fragprog_inputs_read:12
unsigned varying_vp_inputs
struct {
   unsigned   light_enabled:1
   unsigned   light_eyepos3_is_zero:1
   unsigned   light_spotcutoff_is_180:1
   unsigned   light_attenuated:1
   unsigned   texunit_really_enabled:1
   unsigned   texmat_enabled:1
   unsigned   texgen_enabled:4
   unsigned   texgen_mode0:4
   unsigned   texgen_mode1:4
   unsigned   texgen_mode2:4
   unsigned   texgen_mode3:4
unit [NUM_UNITS]
GLuint nr_enabled_units:8
GLuint enabled_units:8
GLuint separate_specular:1
GLuint fog_enabled:1
GLuint fog_mode:2
 FOG_x.
GLuint inputs_available:12
struct {
   GLuint   enabled:1
   GLuint   source_index:3
 TEXTURE_x_INDEX.
   GLuint   shadow:1
   GLuint   ScaleShiftRGB:2
   GLuint   ScaleShiftA:2
   GLuint   NumArgsRGB:3
 up to MAX_COMBINER_TERMS
   GLuint   ModeRGB:5
 MODE_x.
   GLuint   NumArgsA:3
 up to MAX_COMBINER_TERMS
   GLuint   ModeA:5
 MODE_x.
   struct mode_opt   OptRGB [MAX_COMBINER_TERMS]
   struct mode_opt   OptA [MAX_COMBINER_TERMS]
unit [MAX_TEXTURE_UNITS]

Field Documentation

unsigned state_key::light_color_material_mask

unsigned state_key::light_global_enabled

unsigned state_key::light_local_viewer

unsigned state_key::light_twoside

unsigned state_key::material_shininess_is_zero

unsigned state_key::need_eye_coords

unsigned state_key::normalize

unsigned state_key::rescale_normals

unsigned state_key::fog_source_is_depth

unsigned state_key::separate_specular

unsigned state_key::point_attenuated

unsigned state_key::point_array

unsigned state_key::texture_enabled_global

unsigned state_key::fragprog_inputs_read

unsigned state_key::varying_vp_inputs

unsigned state_key::light_enabled

unsigned state_key::light_eyepos3_is_zero

unsigned state_key::light_spotcutoff_is_180

unsigned state_key::light_attenuated

unsigned state_key::texunit_really_enabled

unsigned state_key::texmat_enabled

unsigned state_key::texgen_enabled

unsigned state_key::texgen_mode0

unsigned state_key::texgen_mode1

unsigned state_key::texgen_mode2

unsigned state_key::texgen_mode3

struct { ... } state_key::unit[NUM_UNITS]

GLuint state_key::nr_enabled_units

GLuint state_key::enabled_units

GLuint state_key::separate_specular

GLuint state_key::fog_enabled

GLuint state_key::fog_mode

FOG_x.

GLuint state_key::inputs_available

GLuint state_key::enabled

GLuint state_key::source_index

TEXTURE_x_INDEX.

GLuint state_key::shadow

GLuint state_key::ScaleShiftRGB

GLuint state_key::ScaleShiftA

GLuint state_key::NumArgsRGB

up to MAX_COMBINER_TERMS

GLuint state_key::ModeRGB

MODE_x.

GLuint state_key::NumArgsA

up to MAX_COMBINER_TERMS

GLuint state_key::ModeA

MODE_x.

struct mode_opt state_key::OptRGB[MAX_COMBINER_TERMS] [read]

struct mode_opt state_key::OptA[MAX_COMBINER_TERMS] [read]

struct { ... } state_key::unit[MAX_TEXTURE_UNITS]


The documentation for this struct was generated from the following files:
Generated on Sun Sep 27 06:47:47 2009 for Mesa Main by  doxygen 1.5.4