H3D::X3DAppearanceChildNode Class Reference
[Abstract nodes.]

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

#include <H3D/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::postRender (  )  [inline, virtual]

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().

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

Referenced by H3D::Appearance::postRender().

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::PackagedShader, H3D::ProgramShader, H3D::RenderProperties, H3D::TwoSidedMaterial, H3D::X3DTextureNode, and H3D::X3DTextureTransformNode.

Referenced by H3D::Appearance::preRender().


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 10:31:22 2008 for H3D API by  doxygen 1.5.7