OpenSceneGraph  3.0.1
Public Member Functions | Protected Member Functions | Protected Attributes
osgUtil::ShaderGenVisitor Class Reference
Inheritance diagram for osgUtil::ShaderGenVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ShaderGenVisitor ()
 ShaderGenVisitor (ShaderGenCache *stateCache)
void setStateCache (ShaderGenCache *stateCache)
ShaderGenCachegetStateCache () const
void setRootStateSet (osg::StateSet *stateSet)
 Top level state set applied as the first one.
osg::StateSetgetRootStateSet () const
void apply (osg::Node &node)
void apply (osg::Geode &geode)
void reset ()
 Method to call to reset visitor.

Protected Member Functions

void update (osg::Drawable *drawable)

Protected Attributes

osg::ref_ptr< ShaderGenCache_stateCache
osg::ref_ptr< osg::State_state
osg::ref_ptr< osg::StateSet_rootStateSet

Constructor & Destructor Documentation


Member Function Documentation

void osgUtil::ShaderGenVisitor::apply ( osg::Node node) [virtual]

Reimplemented from osg::NodeVisitor.

void osgUtil::ShaderGenVisitor::apply ( osg::Geode geode) [virtual]

Reimplemented from osg::NodeVisitor.

Method to call to reset visitor.

Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal.

Reimplemented from osg::NodeVisitor.

Top level state set applied as the first one.

void osgUtil::ShaderGenVisitor::update ( osg::Drawable drawable) [protected]

Member Data Documentation


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

osg logo
Generated at Mon May 7 2012 07:18:38 for the OpenSceneGraph by doxygen 1.8.0.