core  array_cache  math  swrast  swrast_setup  tnl  tnl_dd 
Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

gl_light_attrib Struct Reference

Lighting attributes. More...

#include <mtypes.h>


Data Fields

gl_light Light [MAX_LIGHTS]
 Array of lights. More...

gl_lightmodel Model
 Lighting model. More...

GLboolean Enabled
 Lighting enabled flag. More...

GLenum ShadeModel
 GL_FLAT or GL_SMOOTH. More...

GLenum ColorMaterialFace
 GL_FRONT, BACK or FRONT_AND_BACK. More...

GLenum ColorMaterialMode
 GL_AMBIENT, GL_DIFFUSE, etc. More...

GLuint ColorMaterialBitmask
 bitmask formed from Face and Mode. More...

GLboolean ColorMaterialEnabled
gl_light EnabledList
 List sentinel. More...

gl_material Material
 Includes front & back values. More...

GLboolean _NeedEyeCoords
 Derived for optimizations:. More...

GLboolean _NeedVertices
 Use fast shader? More...

GLuint _Flags
 LIGHT_* flags, see above. More...

GLfloat _BaseColor [2][3]


Detailed Description

Lighting attributes.


Field Documentation

GLfloat gl_light_attrib::_BaseColor[2][3]
 

GLuint gl_light_attrib::_Flags
 

LIGHT_* flags, see above.

GLboolean gl_light_attrib::_NeedEyeCoords
 

Derived for optimizations:.

GLboolean gl_light_attrib::_NeedVertices
 

Use fast shader?

GLuint gl_light_attrib::ColorMaterialBitmask
 

bitmask formed from Face and Mode.

GLboolean gl_light_attrib::ColorMaterialEnabled
 

GLenum gl_light_attrib::ColorMaterialFace
 

GL_FRONT, BACK or FRONT_AND_BACK.

GLenum gl_light_attrib::ColorMaterialMode
 

GL_AMBIENT, GL_DIFFUSE, etc.

GLboolean gl_light_attrib::Enabled
 

Lighting enabled flag.

struct gl_light gl_light_attrib::EnabledList
 

List sentinel.

struct gl_light gl_light_attrib::Light[MAX_LIGHTS]
 

Array of lights.

struct gl_material gl_light_attrib::Material
 

Includes front & back values.

struct gl_lightmodel gl_light_attrib::Model
 

Lighting model.

GLenum gl_light_attrib::ShadeModel
 

GL_FLAT or GL_SMOOTH.


The documentation for this struct was generated from the following file:
Generated on Sun May 16 15:55:13 2004 for Mesa Core by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001