OpenSceneGraph
3.4.0
|
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 Tue Dec 8 2015 00:16:50 for the OpenSceneGraph by doxygen 1.7.6.1. |