Inheritance diagram for osgUtil::Optimizer::TextureAtlasVisitor:
Public Member Functions | |
TextureAtlasVisitor (Optimizer *optimizer=0) | |
default to traversing all children. | |
TextureAtlasBuilder & | getTextureAtlasBuilder () |
virtual void | reset () |
virtual void | apply (osg::Node &node) |
virtual void | apply (osg::Geode &geode) |
void | optimize () |
Protected Types | |
typedef std::set< osg::Drawable * > | Drawables |
typedef std::map< osg::StateSet *, Drawables > | StateSetMap |
typedef std::set< osg::Texture2D * > | Textures |
typedef std::vector< osg::StateSet * > | StateSetStack |
Protected Member Functions | |
bool | pushStateSet (osg::StateSet *stateset) |
void | popStateSet () |
Protected Attributes | |
TextureAtlasBuilder | _builder |
StateSetMap | _statesetMap |
StateSetStack | _statesetStack |
Textures | _textures |
|
|
|
|
|
|
|
|
|
default to traversing all children.
|
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
empty visitor, make it ready for next traversal. Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|