19 #ifndef OSGUTIL_SHADER_STATE_
20 #define OSGUTIL_SHADER_STATE_ 1
22 #include <osgUtil/Export>
23 #include <osg/NodeVisitor>
41 typedef std::map<int, osg::ref_ptr<osg::StateSet> >
StateSetMap;
This class provides an object-oriented thread mutex interface.
std::map< int, osg::ref_ptr< osg::StateSet > > StateSetMap
osg::ref_ptr< ShaderGenCache > _stateCache
ShaderGenCache * getStateCache() const
OpenThreads::Mutex _mutex
osg::ref_ptr< osg::State > _state
osg::ref_ptr< osg::StateSet > _rootStateSet
osg::StateSet * getRootStateSet() const
void setStateCache(ShaderGenCache *stateCache)
Shader generator framework.