GLPrimitiveStateItem Class Reference

#include <GLState.h>

Inheritance diagram for GLPrimitiveStateItem:

GLStateItem IFeatures

List of all members.

Public Member Functions

virtual ~GLPrimitiveStateItem ()
virtual bool sync ()
virtual bool apply ()

Public Attributes

State variables
std::map< GLenum, GLenum > polygonMode
 glPolygonMode; indexed by GL_POINT, GL_LINE, and GL_FILL
GLboolean enableCullFace
 glEnable; GL_TRUE or <GL_FALSE>
GLenum cullFace
 glCullFace; GL_FRONT, <GL_BACK>, GL_FRONT_AND_BACK
GLenum frontFace
 glFrontFace; GL_CW or <GL_CCW>
std::map< GLenum, GLboolean > enablePolygonOffset
 glEnable; indexed by GL_POLYGON_OFFSET_{FILL|LINE|POINT}
GLfloat polygonOffsetFactor
 glPolygonOffset
GLfloat polygonOffsetUnits
 glPolygonOffset


Detailed Description

Definition at line 197 of file GLState.h.


Constructor & Destructor Documentation

virtual GLPrimitiveStateItem::~GLPrimitiveStateItem (  )  [inline, virtual]

Definition at line 199 of file GLState.h.


Member Function Documentation

virtual bool GLPrimitiveStateItem::sync (  )  [virtual]

Implements GLStateItem.

virtual bool GLPrimitiveStateItem::apply (  )  [virtual]

Implements GLStateItem.


Member Data Documentation

std::map<GLenum, GLenum> GLPrimitiveStateItem::polygonMode

glPolygonMode; indexed by GL_POINT, GL_LINE, and GL_FILL

Definition at line 209 of file GLState.h.

glEnable; GL_TRUE or <GL_FALSE>

Definition at line 212 of file GLState.h.

glCullFace; GL_FRONT, <GL_BACK>, GL_FRONT_AND_BACK

Definition at line 214 of file GLState.h.

glFrontFace; GL_CW or <GL_CCW>

Definition at line 217 of file GLState.h.

std::map<GLenum, GLboolean> GLPrimitiveStateItem::enablePolygonOffset

glEnable; indexed by GL_POLYGON_OFFSET_{FILL|LINE|POINT}

Definition at line 220 of file GLState.h.

glPolygonOffset

Definition at line 223 of file GLState.h.

glPolygonOffset

Definition at line 225 of file GLState.h.


The documentation for this class was generated from the following file:

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6