H3D::H3DRenderStateObject Class Reference
[Abstract interface classes.]

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 <H3DRenderStateObject.h>

Inheritance diagram for H3D::H3DRenderStateObject:

Inheritance graph
List of all members.

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.

Detailed Description

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.


Generated on Thu Aug 24 12:39:21 2006 for H3D API by  doxygen 1.4.5