#include <OgreVertexIndexData.h>
Public Types | |
| enum | CacheType { FIFO, LRU } |
Public Member Functions | |
| VertexCacheProfiler (unsigned int cachesize=16, CacheType cachetype=FIFO) | |
| ~VertexCacheProfiler () | |
| void | profile (const HardwareIndexBufferSharedPtr &indexBuffer) |
| void | reset () |
| void | flush () |
| unsigned int | getHits () |
| unsigned int | getMisses () |
| unsigned int | getSize () |
Private Member Functions | |
| bool | inCache (unsigned int index) |
Private Attributes | |
| unsigned int | size |
| uint32 * | cache |
| CacheType | type |
| unsigned int | tail |
| unsigned int | buffersize |
| unsigned int | hit |
| unsigned int | miss |
Definition at line 249 of file OgreVertexIndexData.h.
| Ogre::VertexCacheProfiler::VertexCacheProfiler | ( | unsigned int | cachesize = 16, |
|
| CacheType | cachetype = FIFO | |||
| ) |
Definition at line 256 of file OgreVertexIndexData.h.
| Ogre::VertexCacheProfiler::~VertexCacheProfiler | ( | ) |
Definition at line 262 of file OgreVertexIndexData.h.
| void Ogre::VertexCacheProfiler::profile | ( | const HardwareIndexBufferSharedPtr & | indexBuffer | ) |
| void Ogre::VertexCacheProfiler::reset | ( | void | ) |
Definition at line 268 of file OgreVertexIndexData.h.
| void Ogre::VertexCacheProfiler::flush | ( | ) |
Definition at line 269 of file OgreVertexIndexData.h.
| unsigned int Ogre::VertexCacheProfiler::getHits | ( | ) |
Definition at line 271 of file OgreVertexIndexData.h.
| unsigned int Ogre::VertexCacheProfiler::getMisses | ( | ) |
Definition at line 272 of file OgreVertexIndexData.h.
| unsigned int Ogre::VertexCacheProfiler::getSize | ( | ) |
Definition at line 273 of file OgreVertexIndexData.h.
| bool Ogre::VertexCacheProfiler::inCache | ( | unsigned int | index | ) | [private] |
unsigned int Ogre::VertexCacheProfiler::size [private] |
Definition at line 273 of file OgreVertexIndexData.h.
uint32* Ogre::VertexCacheProfiler::cache [private] |
Definition at line 276 of file OgreVertexIndexData.h.
CacheType Ogre::VertexCacheProfiler::type [private] |
Definition at line 277 of file OgreVertexIndexData.h.
unsigned int Ogre::VertexCacheProfiler::tail [private] |
Definition at line 279 of file OgreVertexIndexData.h.
unsigned int Ogre::VertexCacheProfiler::buffersize [private] |
Definition at line 279 of file OgreVertexIndexData.h.
unsigned int Ogre::VertexCacheProfiler::hit [private] |
Definition at line 280 of file OgreVertexIndexData.h.
unsigned int Ogre::VertexCacheProfiler::miss [private] |
Definition at line 280 of file OgreVertexIndexData.h.
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:55:10 2008