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

gl_current_attrib Struct Reference

Current attributes. More...

#include <mtypes.h>


Data Fields

Values valid only when FLUSH_VERTICES has been called.
GLfloat Attrib [VERT_ATTRIB_MAX][4]
 Current vertex attributes indexed by VERT_ATTRIB_*. More...

GLfloat Index
 Current color index. More...

GLboolean EdgeFlag
 Current edge flag. More...

Values are always valid.
Note:
BTW, note how similar this set of attributes is to the SWvertex data type in the software rasterizer...


GLfloat RasterPos [4]
 Current raster position. More...

GLfloat RasterDistance
 Current raster distance. More...

GLfloat RasterColor [4]
 Current raster color. More...

GLfloat RasterSecondaryColor [4]
 Current raster secondary color. More...

GLfloat RasterIndex
 Current raster index. More...

GLfloat RasterTexCoords [MAX_TEXTURE_UNITS][4]
 Current raster texcoords. More...

GLboolean RasterPosValid
 Raster pos valid flag. More...


Detailed Description

Current attributes.


Field Documentation

GLfloat gl_current_attrib::Attrib[VERT_ATTRIB_MAX][4]
 

Current vertex attributes indexed by VERT_ATTRIB_*.

GLboolean gl_current_attrib::EdgeFlag
 

Current edge flag.

GLfloat gl_current_attrib::Index
 

Current color index.

GLfloat gl_current_attrib::RasterColor[4]
 

Current raster color.

GLfloat gl_current_attrib::RasterDistance
 

Current raster distance.

GLfloat gl_current_attrib::RasterIndex
 

Current raster index.

GLfloat gl_current_attrib::RasterPos[4]
 

Current raster position.

GLboolean gl_current_attrib::RasterPosValid
 

Raster pos valid flag.

GLfloat gl_current_attrib::RasterSecondaryColor[4]
 

Current raster secondary color.

GLfloat gl_current_attrib::RasterTexCoords[MAX_TEXTURE_UNITS][4]
 

Current raster texcoords.


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