![]() |
VR-Forces 4.8 Class Documentation
|
non virtual Container class for holding on to the different states that are found for indirect geometry currently supports cull face and polygon offset More...
Public Member Functions | |
| DtIndirectOpenGLState (bool cullFaceEnabled, const DtIndirectPolygonOffset &polyOffset) | |
| constructor More... | |
| ~DtIndirectOpenGLState () | |
| destructor - non virtual since this is a container class that should not be derived from More... | |
| DtIndirectOpenGLState () | |
| constructor More... | |
| DtIndirectOpenGLState & | operator= (const DtIndirectOpenGLState &other) |
| Assignment Operator. More... | |
| DtIndirectOpenGLState (const DtIndirectOpenGLState &other) | |
| Copy Constructor. More... | |
| virtual bool | cullFaceEnabled (void) const |
| get the value of cull face (enabled or not) More... | |
| virtual void | setCullFaceEnabled (bool val) |
| set the value of cull face (enabled or not) More... | |
| virtual void | setPolygonOffset (const DtIndirectPolygonOffset &polyOffset) |
| set the polygon offset More... | |
| virtual const DtIndirectPolygonOffset & | polygonOffset (void) const |
| get the polygon offset More... | |
| virtual void | apply (void) const |
| apply the openGL state specified by this DtIndirectOpenGLState object currently only applies cull face, and polygon offset. More... | |
| virtual const SetInts & | modes (void) const |
| get the set of all modes that this state contains(and will modify on application) More... | |
| virtual const SetInts & | attributes (void) const |
| get the set of all attributes that this state contains(and will modify on application) More... | |
| bool | operator== (const DtIndirectOpenGLState &rhs) const |
| 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 More... | |
| bool | operator!= (const DtIndirectOpenGLState &rhs) const |
| implemented as just !(==) More... | |
Protected Attributes | |
| bool | myCullFaceEnabled |
| DtIndirectPolygonOffset | myPolygonOffset |
| SetInts | mySetModes |
| SetInts | mySetAttributes |
non virtual Container class for holding on to the different states that are found for indirect geometry currently supports cull face and polygon offset
| makVrv::DtIndirectOpenGLState::DtIndirectOpenGLState | ( | bool | cullFaceEnabled, |
| const DtIndirectPolygonOffset & | polyOffset | ||
| ) |
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 |
get the value of cull face (enabled or not)
|
virtual |
set the value of cull face (enabled or not)
|
virtual |
set the polygon offset
|
virtual |
get the polygon offset
|
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)
| bool makVrv::DtIndirectOpenGLState::operator== | ( | const DtIndirectOpenGLState & | rhs | ) | const |
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
| bool makVrv::DtIndirectOpenGLState::operator!= | ( | const DtIndirectOpenGLState & | rhs | ) | const |
implemented as just !(==)
|
protected |
|
protected |
|
protected |
|
protected |