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

osgUtil::ShaderGenVisitor::ShaderGenVisitor ( )
osgUtil::ShaderGenVisitor::ShaderGenVisitor ( ShaderGenCache stateCache)

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.

osg::StateSet* osgUtil::ShaderGenVisitor::getRootStateSet ( ) const [inline]
ShaderGenCache* osgUtil::ShaderGenVisitor::getStateCache ( ) const [inline]
void osgUtil::ShaderGenVisitor::reset ( ) [virtual]

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.

void osgUtil::ShaderGenVisitor::setRootStateSet ( osg::StateSet stateSet)

Top level state set applied as the first one.

void osgUtil::ShaderGenVisitor::setStateCache ( ShaderGenCache stateCache) [inline]
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 Oct 3 2011 12:39:50 for the OpenSceneGraph by doxygen 1.7.5.