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

gl_current_attrib Struct Reference

#include <mtypes.h>


Detailed Description

Current attribute group (GL_CURRENT_BIT).

Data Fields

Current vertex attributes.
Note:
Values are valid only after FLUSH_VERTICES has been called.

Index and Edgeflag current values are stored as floats in the SIX and SEVEN attribute slots.



GLfloat Attrib [VERT_ATTRIB_MAX][4]
 Position, color, texcoords, etc.
Current raster position attributes (always valid).
Note:
This set of attributes is very similar to the SWvertex struct.


GLfloat RasterPos [4]
GLfloat RasterDistance
GLfloat RasterColor [4]
GLfloat RasterSecondaryColor [4]
GLfloat RasterIndex
GLfloat RasterTexCoords [MAX_TEXTURE_UNITS][4]
GLboolean RasterPosValid

Field Documentation

GLfloat gl_current_attrib::Attrib[VERT_ATTRIB_MAX][4]

Position, color, texcoords, etc.

GLfloat gl_current_attrib::RasterPos[4]

GLfloat gl_current_attrib::RasterDistance

GLfloat gl_current_attrib::RasterColor[4]

GLfloat gl_current_attrib::RasterSecondaryColor[4]

GLfloat gl_current_attrib::RasterIndex

GLfloat gl_current_attrib::RasterTexCoords[MAX_TEXTURE_UNITS][4]

GLboolean gl_current_attrib::RasterPosValid


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