Vertex cache profiler.
More...
#include <OgreVertexIndexData.h>
Vertex cache profiler.
Utility class for evaluating the effectiveness of the use of the vertex cache by a given index buffer.
◆ VertexCacheProfiler()
Ogre::VertexCacheProfiler::VertexCacheProfiler |
( |
unsigned int |
cachesize = 16 | ) |
|
|
inline |
◆ ~VertexCacheProfiler()
Ogre::VertexCacheProfiler::~VertexCacheProfiler |
( |
| ) |
|
|
inline |
◆ profile()
◆ reset()
void Ogre::VertexCacheProfiler::reset |
( |
void |
| ) |
|
|
inline |
◆ flush()
void Ogre::VertexCacheProfiler::flush |
( |
| ) |
|
|
inline |
◆ getHits()
unsigned int Ogre::VertexCacheProfiler::getHits |
( |
| ) |
|
|
inline |
◆ getMisses()
unsigned int Ogre::VertexCacheProfiler::getMisses |
( |
| ) |
|
|
inline |
◆ getSize()
unsigned int Ogre::VertexCacheProfiler::getSize |
( |
| ) |
|
|
inline |
◆ getAvgCacheMissRatio()
float Ogre::VertexCacheProfiler::getAvgCacheMissRatio |
( |
| ) |
|
|
inline |
Get the average cache miss ratio.
- Returns
- ratio of vertex cache misses to the triangle count (0.5 - 3.0)
The documentation for this class was generated from the following file: