| 
    H3D API
    2.4.1
    
   | 
 
This abstract class is the base class for node types that want to change the rendering state temporarily while rendering sibling nodes in a X3DGroupingNode. More...
#include <H3D/H3DRenderStateObject.h>

Public Member Functions | |
| virtual | ~H3DRenderStateObject () | 
| Destructor.  | |
| virtual void | enableGraphicsState () | 
| Enable the states that you want to before all other nodes of a X3DGroupingNode's children field are rendered.  | |
| virtual void | disableGraphicsState () | 
| Disable the states that were enabled in the enableGraphicsState() function.  | |
| virtual void | enableHapticsState (TraverseInfo &) | 
| Enable the states that you want to before all other nodes of a X3DGroupingNode's children field are traversed with traverseSG.  | |
| virtual void | disableHapticsState (TraverseInfo &) | 
| Reset the states that were changed in the enableHapticsState() function.  | |
This abstract class is the base class for node types that want to change the rendering state temporarily while rendering sibling nodes in a X3DGroupingNode.
If put into the children field of a X3DGroupingNode the enable*() function of all H3DRenderStateObjects will be called first, then the render()/traverseSG() function for all the children and then lastly the disable*() function for all H3DRenderStateObjects.