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)
ShaderGenCache * getStateCache () const
void setRootStateSet (osg::StateSet *stateSet)
 Top level state set applied as the first one.
osg::StateSet * getRootStateSet () 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 Thu Sep 27 2012 12:20:31 for the OpenSceneGraph by doxygen 1.7.6.1.