OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Vertex cache profiler. More...
#include <OgreVertexIndexData.h>
Public Member Functions | |
VertexCacheProfiler (unsigned int cachesize=16) | |
~VertexCacheProfiler () | |
void | flush () |
float | getAvgCacheMissRatio () |
Get the average cache miss ratio. | |
unsigned int | getHits () |
unsigned int | getMisses () |
unsigned int | getSize () |
void | profile (const HardwareIndexBufferSharedPtr &indexBuffer) |
void | reset () |
Vertex cache profiler.
Utility class for evaluating the effectiveness of the use of the vertex cache by a given index buffer.
|
inline |
void Ogre::VertexCacheProfiler::profile | ( | const HardwareIndexBufferSharedPtr & | indexBuffer | ) |
|
inline |
|
inline |
|
inline |
Get the average cache miss ratio.