Inheritance:
Public Classes
-
enum ShareMode
Public Methods
-
SharedStateManager()
-
void setShareMode(unsigned int mode)
-
unsigned int getShareMode()
-
void prune()
-
void share(osg::Node* node, OpenThreads::Mutex* mt=0)
Protected Fields
-
TextureSet _sharedTextureList
-
StateSetSet _sharedStateSetList
-
TextureTextureSharePairMap tmpSharedTextureList
-
StateSetStateSetSharePairMap tmpSharedStateSetList
-
unsigned int shareMode
-
OpenThreads::Mutex* mutex
Protected Methods
-
void apply(osg::Node& node)
-
void apply(osg::Geode& geode)
-
void process(osg::StateSet* ss, osg::Object* parent)
-
inline osg::StateAttribute* find(osg::StateAttribute* sa)
-
inline osg::StateSet* find(osg::StateSet* ss)
-
inline void setStateSet(osg::StateSet* ss, osg::Object* object)
-
inline void shareTextures(osg::StateSet* ss)
Protected
-
typedef std::set< osg::ref_ptr<osg::StateAttribute> > TextureSet
-
typedef std::set< osg::ref_ptr<osg::StateSet> > StateSetSet
-
typedef std::pair<osg::StateAttribute*, bool> TextureSharePair
-
typedef std::map<osg::StateAttribute*, TextureSharePair> TextureTextureSharePairMap
-
typedef std::pair<osg::StateSet*, bool> StateSetSharePair
-
typedef std::map<osg::StateSet*, StateSetSharePair> StateSetStateSetSharePairMap
Documentation
enum ShareMode
SHARE_NONE
SHARE_TEXTURES
SHARE_STATESETS
SHARE_ALL
SharedStateManager()
void setShareMode(unsigned int mode)
unsigned int getShareMode()
void prune()
void share(osg::Node* node, OpenThreads::Mutex* mt=0)
void apply(osg::Node& node)
void apply(osg::Geode& geode)
void process(osg::StateSet* ss, osg::Object* parent)
inline osg::StateAttribute* find(osg::StateAttribute* sa)
inline osg::StateSet* find(osg::StateSet* ss)
inline void setStateSet(osg::StateSet* ss, osg::Object* object)
inline void shareTextures(osg::StateSet* ss)
typedef std::set< osg::ref_ptr<osg::StateAttribute> > TextureSet
TextureSet _sharedTextureList
typedef std::set< osg::ref_ptr<osg::StateSet> > StateSetSet
StateSetSet _sharedStateSetList
typedef std::pair<osg::StateAttribute*, bool> TextureSharePair
typedef std::map<osg::StateAttribute*, TextureSharePair> TextureTextureSharePairMap
TextureTextureSharePairMap tmpSharedTextureList
typedef std::pair<osg::StateSet*, bool> StateSetSharePair
typedef std::map<osg::StateSet*, StateSetSharePair> StateSetStateSetSharePairMap
StateSetStateSetSharePairMap tmpSharedStateSetList
unsigned int shareMode
OpenThreads::Mutex* mutex
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.