Optimize texture usage in the scene graph by combining textures into texture atlas Use of texture atlas cuts down on the number of seperate states in the scene, reducing state changes and improving the chances of use larger batches of geomertry.
More...
List of all members.
Detailed Description
Optimize texture usage in the scene graph by combining textures into texture atlas Use of texture atlas cuts down on the number of seperate states in the scene, reducing state changes and improving the chances of use larger batches of geomertry.
Member Typedef Documentation
Constructor & Destructor Documentation
osgUtil::Optimizer::TextureAtlasVisitor::TextureAtlasVisitor |
( |
Optimizer * |
optimizer = 0 |
) |
[inline] |
default to traversing all children.
Member Function Documentation
virtual void osgUtil::Optimizer::TextureAtlasVisitor::apply |
( |
osg::Node & |
node |
) |
[virtual] |
virtual void osgUtil::Optimizer::TextureAtlasVisitor::apply |
( |
osg::Geode & |
geode |
) |
[virtual] |
TextureAtlasBuilder& osgUtil::Optimizer::TextureAtlasVisitor::getTextureAtlasBuilder |
( |
|
) |
[inline] |
void osgUtil::Optimizer::TextureAtlasVisitor::optimize |
( |
|
) |
|
void osgUtil::Optimizer::TextureAtlasVisitor::popStateSet |
( |
|
) |
[protected] |
bool osgUtil::Optimizer::TextureAtlasVisitor::pushStateSet |
( |
osg::StateSet * |
stateset |
) |
[protected] |
virtual void osgUtil::Optimizer::TextureAtlasVisitor::reset |
( |
|
) |
[virtual] |
empty visitor, make it ready for next traversal.
Reimplemented from osg::NodeVisitor.
Member Data Documentation
The documentation for this class was generated from the following file: