![]() |
VR-Forces 4.10 Class Documentation
|
Simple state/glmodes class for handling setting up modes It can now handle generic state modes and attributes so it should work for any osg states needed for indirect. More...
Public Member Functions | |
| DtIndirectGeometryStateManager (DtDe &de) | |
| constructor, currently does nothing More... | |
| ~DtIndirectGeometryStateManager () | |
| destructor, currently does nothing More... | |
| virtual int | stateId (const DtIndirectOpenGLState &state) |
| get the state id for this state More... | |
| virtual bool | applyState (int stateId) |
| apply the state More... | |
| virtual void | restoreAllModes (osg::State &state) |
| restore all modes that have been added to the manager More... | |
| virtual void | setStateCaching (bool val) |
| opengl call optimization/minimization between calls to apply() off by default More... | |
| virtual bool | stateCaching (void) const |
| opengl call optimization/minimization between calls to apply() off by default More... | |
| virtual GLenum | primitiveType (int stateId) const |
| apply the state More... | |
| virtual void | setReverseZEnabled (bool val) |
| set whether reverse z is enabled More... | |
| virtual bool | reverseZEnabled (void) const |
| get whether reverse z is enabled More... | |
Protected Types | |
| typedef tbb::concurrent_unordered_map < DtIndirectOpenGLState, int, DtIndirectOpenGLStateHasher > | MapStateToId |
| typedef tbb::concurrent_unordered_map < int, DtIndirectOpenGLState > | MapIdToState |
| typedef tbb::concurrent_unordered_set < int > | ConcurrentSetInts |
Protected Attributes | |
| MapStateToId | myMapStateToId |
| MapIdToState | myMapIdToState |
| ConcurrentSetInts | myUniqueModes |
| ConcurrentSetInts | myUniqueAttributes |
| tbb::atomic< int > | myNextStateId |
| DtIndirectOpenGLState | myLastAppliedState |
| DtDe & | myDe |
| bool | myStateCaching |
| bool | myReverseZEnabled |
Private Member Functions | |
| DtIndirectGeometryStateManager (const DtIndirectGeometryStateManager &other)=delete | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtIndirectGeometryStateManager & | operator= (const DtIndirectGeometryStateManager &other)=delete |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
Simple state/glmodes class for handling setting up modes It can now handle generic state modes and attributes so it should work for any osg states needed for indirect.
|
protected |
|
protected |
|
protected |
| makVrv::DtIndirectGeometryStateManager::DtIndirectGeometryStateManager | ( | DtDe & | de | ) |
constructor, currently does nothing
| makVrv::DtIndirectGeometryStateManager::~DtIndirectGeometryStateManager | ( | ) |
destructor, currently does nothing
|
privatedelete |
Copy Constructor not implemented – Copy Not Allowed.
|
privatedelete |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
get the state id for this state
apply the state
|
virtual |
restore all modes that have been added to the manager
|
virtual |
opengl call optimization/minimization between calls to apply() off by default
|
virtual |
opengl call optimization/minimization between calls to apply() off by default
apply the state
|
virtual |
set whether reverse z is enabled
|
virtual |
get whether reverse z is enabled
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |