Simple state/glmodes class for handling setting up modes This will need to be extended to handle more than one mode at a time if we end up finding another mode we want to render with chaned for now it is just handling the GL_CULL_FACE mode not putting in it's own file at this point since the DtIndirectGeometry class is the only user and it may go away if we need a better solution for indirect state changes.
More...
Detailed Description
Simple state/glmodes class for handling setting up modes This will need to be extended to handle more than one mode at a time if we end up finding another mode we want to render with chaned for now it is just handling the GL_CULL_FACE mode not putting in it's own file at this point since the DtIndirectGeometry class is the only user and it may go away if we need a better solution for indirect state changes.
Member Typedef Documentation
Constructor & Destructor Documentation
| makVrv::DtIndirectGeometryStateManager::DtIndirectGeometryStateManager |
( |
| ) |
|
contructor, currently does nothing
| makVrv::DtIndirectGeometryStateManager::~DtIndirectGeometryStateManager |
( |
| ) |
|
desctructor, currently does nothing
Member Function Documentation
| void makVrv::DtIndirectGeometryStateManager::insertMode |
( |
int |
index, |
|
|
bool |
enable, |
|
|
int |
mode |
|
) |
| |
add a glMode to the list of modes at the specified index, enable specifies whether it is turning the mode on or off
| void makVrv::DtIndirectGeometryStateManager::applyMode |
( |
int |
index | ) |
const |
| void makVrv::DtIndirectGeometryStateManager::restoreAllModes |
( |
osg::State & |
state | ) |
const |
restore all modes that have been added to the manager
| int makVrv::DtIndirectGeometryStateManager::numberOfStates |
( |
| ) |
const |
number of different states being handled by the manager
Member Data Documentation
| GlModeVec makVrv::DtIndirectGeometryStateManager::myModesVec |
|
protected |
| GlModeSet makVrv::DtIndirectGeometryStateManager::myModeSet |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-6-branch/include/vrvOsg/DtIndirectGeometry.h