H3D::X3DAppearanceChildNode Class Reference
[Abstract nodes.]

This is the base node type for the child nodes of the X3DAppearanceNode type. More...

#include <X3DAppearanceChildNode.h>

Inheritance diagram for H3D::X3DAppearanceChildNode:

Inheritance graph
List of all members.

Public Member Functions

 X3DAppearanceChildNode (Inst< DisplayList > _displayList=0, Inst< SFNode > _metadata=0)
 Constructor.
virtual void preRender ()
 This function will be called by the X3DShapeNode before any rendering of geometry and before the call to the render function.
virtual void postRender ()
 This function will be called by the X3DShapeNode after the geometry has been rendered to restore the states to what it was before the call to preRender().

Detailed Description

This is the base node type for the child nodes of the X3DAppearanceNode type.


Member Function Documentation

virtual void H3D::X3DAppearanceChildNode::preRender  )  [inline, virtual]
 

This function will be called by the X3DShapeNode before any rendering of geometry and before the call to the render function.

So this is the place to save the states that are going to be changed in render() in order to restore it in postRender().

Reimplemented in H3D::ComposedShader, H3D::FillProperties, H3D::GeneratedCubeMapTexture, H3D::LineProperties, H3D::Material, H3D::RenderProperties, H3D::TwoSidedMaterial, H3D::X3DTextureNode, and H3D::X3DTextureTransformNode.


Generated on Thu Aug 24 12:40:16 2006 for H3D API by  doxygen 1.4.5