![]() |
VR-Forces Developer's Guide
|
non virtual Container class for holding on to the different states that are found for indirect geometry currently supports cull face and polygon offset
Static Public Member Functions | |
| static DtIndirectOpenGLState | lightSourceState () |
| makVrv::DtIndirectOpenGLState::DtIndirectOpenGLState | ( | bool | cullFaceEnabled, |
| bool | blendingEnabled, | ||
| bool | alphaToCoverageEnabled, | ||
| const DtIndirectBlendFunction & | blendFunction, | ||
| const DtIndirectBlendEquation & | blendEquation, | ||
| const DtIndirectPolygonOffset & | polyOffset, | ||
| GLenum | primitiveType, | ||
| bool | depthOnly | ||
| ) |
constructor
| makVrv::DtIndirectOpenGLState::~DtIndirectOpenGLState | ( | ) |
destructor - non virtual since this is a container class that should not be derived from
| makVrv::DtIndirectOpenGLState::DtIndirectOpenGLState | ( | ) |
constructor
| makVrv::DtIndirectOpenGLState::DtIndirectOpenGLState | ( | const DtIndirectOpenGLState & | other | ) |
Copy Constructor.
| DtIndirectOpenGLState& makVrv::DtIndirectOpenGLState::operator= | ( | const DtIndirectOpenGLState & | other | ) |
Assignment Operator.
|
virtual |
set/get the value of cull face (enabled or not)
|
virtual |
set/get the value of cull face (enabled or not)
|
virtual |
set/get the polygon offset
|
virtual |
set/get the polygon offset
|
virtual |
set/get whether blending is enabled
|
virtual |
set/get whether blending is enabled
|
virtual |
set/get whether a2c is enabled
|
virtual |
set/get whether a2c is enabled
|
virtual |
set/get the blending function
|
virtual |
set/get the blending function
|
virtual |
set/get the blending equation
|
virtual |
set/get the blending equation
|
virtual |
set/get whether depth only
|
virtual |
set/get whether depth only
|
virtual |
apply the openGL state specified by this DtIndirectOpenGLState object currently only applies cull face, and polygon offset.
|
virtual |
get the set of all modes that this state contains(and will modify on application)
|
virtual |
get the set of all attributes that this state contains(and will modify on application)
|
virtual |
comparison operator to check for equality of two DtIndirectOpenGLStates only compares the myCullFaceEnabled and myPolygonOffset since the state sets should be constant across all DtIndirectOpenGLStates
|
virtual |
implemented as just !(==)
|
virtual |
get the primitive type for this open gl state
|
static |
|
protected |
culling enabled or not
|
protected |
blending enabled or not
|
protected |
a2C enabled or not
|
protected |
the blending function
|
protected |
the blending equation
|
protected |
the polygon offset
|
protected |
|
protected |
|
protected |
|
protected |