OpenSceneGraph
3.0.1
|
Public Member Functions | |
VertexCacheMissVisitor (unsigned cacheSize=16) | |
void | reset () |
Method to call to reset visitor. | |
virtual void | apply (osg::Geode &geode) |
void | doGeometry (osg::Geometry &geom) |
Public Attributes | |
unsigned | misses |
unsigned | triangles |
Protected Attributes | |
const unsigned | _cacheSize |
osgUtil::VertexCacheMissVisitor::VertexCacheMissVisitor | ( | unsigned | cacheSize = 16 | ) |
virtual void osgUtil::VertexCacheMissVisitor::apply | ( | osg::Geode & | geode | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
void osgUtil::VertexCacheMissVisitor::doGeometry | ( | osg::Geometry & | geom | ) |
void osgUtil::VertexCacheMissVisitor::reset | ( | ) | [virtual] |
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.
const unsigned osgUtil::VertexCacheMissVisitor::_cacheSize [protected] |
![]() | Generated at Sun May 6 2012 20:07:54 for the OpenSceneGraph by doxygen 1.8.0. |