#include <ivf/IvfRenderState.h>
Inheritance diagram for CIvfRenderState:
Public Member Functions | |
CIvfRenderState () | |
virtual | ~CIvfRenderState () |
IvfClassInfo ("CIvfRenderState", CIvfBase) | |
void | remove () |
void | apply () |
virtual void | doSaveState () |
virtual void | doState () |
virtual void | doRestoreState () |
This class manages a OpenGL state change. This class is an abstract class, and should not be used directly.
Definition at line 39 of file IvfRenderState.h.
|
CIvfRenderState constructor |
|
CIvfRenderState destructor |
|
Removes previously applied state This method calls the virtual method doRestoreState() to remove the previously applied state. This method will be called by the render() method of CIvfObject. |
|
Restore state to previous state Should be overidden by derived classes. Reimplemented in CIvfBlendState, CIvfCompositeState, CIvfCullState, CIvfDepthBufferState, CIvfLightingState, and CIvfPolyState. |
|
Save the current state Should be overidden by derived classes. Reimplemented in CIvfBlendState, CIvfCompositeState, CIvfCullState, CIvfDepthBufferState, CIvfLightingState, and CIvfPolyState. |
|
Apply new state Should be overidden by derived classes. Reimplemented in CIvfBlendState, CIvfCompositeState, CIvfCullState, CIvfDepthBufferState, CIvfLightingState, and CIvfPolyState. |
|
Applies state This method first calls the virtual doSaveState() method to save the current state. Then it calls doState() to apply the new state. This method will be called by the render() method of CIvfObject. |