#include <mtypes.h>
Data Fields | |
struct gl_light | Light [MAX_LIGHTS] |
Array of light sources. | |
struct gl_lightmodel | Model |
Lighting model. | |
GLboolean | Enabled |
Lighting enabled flag. | |
GLenum | ShadeModel |
GL_FLAT or GL_SMOOTH. | |
GLenum | ProvokingVertex |
GL_EXT_provoking_vertex. | |
GLenum | ColorMaterialFace |
GL_FRONT, BACK or FRONT_AND_BACK. | |
GLenum | ColorMaterialMode |
GL_AMBIENT, GL_DIFFUSE, etc. | |
GLbitfield | ColorMaterialBitmask |
bitmask formed from Face and Mode | |
GLboolean | ColorMaterialEnabled |
GLenum | ClampVertexColor |
struct gl_light | EnabledList |
List sentinel. | |
struct gl_material | Material |
Must flush FLUSH_VERTICES before referencing:. | |
GLboolean | _NeedEyeCoords |
Derived state for optimizations:. | |
GLboolean | _NeedVertices |
Use fast shader? | |
GLbitfield | _Flags |
LIGHT_* flags, see above. | |
GLfloat | _BaseColor [2][3] |
struct gl_light gl_light_attrib::Light[MAX_LIGHTS] [read] |
Array of light sources.
struct gl_lightmodel gl_light_attrib::Model [read] |
Lighting model.
struct gl_material gl_light_attrib::Material [read] |
Must flush FLUSH_VERTICES before referencing:.
Includes front & back values
GLboolean gl_light_attrib::Enabled |
Lighting enabled flag.
GLenum gl_light_attrib::ShadeModel |
GL_FLAT or GL_SMOOTH.
GL_EXT_provoking_vertex.
GL_FRONT, BACK or FRONT_AND_BACK.
GL_AMBIENT, GL_DIFFUSE, etc.
GLbitfield gl_light_attrib::ColorMaterialBitmask |
bitmask formed from Face and Mode
GLboolean gl_light_attrib::ColorMaterialEnabled |
struct gl_light gl_light_attrib::EnabledList [read] |
List sentinel.
GLboolean gl_light_attrib::_NeedEyeCoords |
Derived state for optimizations:.
GLboolean gl_light_attrib::_NeedVertices |
Use fast shader?
GLbitfield gl_light_attrib::_Flags |
LIGHT_* flags, see above.
GLfloat gl_light_attrib::_BaseColor[2][3] |