OGRE-Next: Ogre::v1::VertexCacheProfiler Class Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Ogre::v1::VertexCacheProfiler Class Reference
Core » RenderSystem

Vertex cache profiler. More...

`#include <OgreVertexIndexData.h>`

Inheritance diagram for Ogre::v1::VertexCacheProfiler:
[legend]

## Public Member Functions
| VertexCacheProfiler (unsigned int cachesize=16)
| ~VertexCacheProfiler ()
void | flush ()
unsigned int | getHits ()
unsigned int | getMisses ()
unsigned int | getSize ()
void | profile (const HardwareIndexBufferSharedPtr &indexBuffer)
void | reset ()

## Detailed Description

Vertex cache profiler.

Remarks
  Utility class for evaluating the effectiveness of the use of the vertex cache by a given index buffer.

## Constructor & Destructor Documentation

## ◆ VertexCacheProfiler()

Ogre::v1::VertexCacheProfiler::VertexCacheProfiler | ( | unsigned int | cachesize = 16 | ) |
| inline

References Ogre::MEMCATEGORY_GEOMETRY, and OGRE_ALLOC_T.

## ◆ ~VertexCacheProfiler()

Ogre::v1::VertexCacheProfiler::~VertexCacheProfiler | ( |  | ) |
| inline

References Ogre::MEMCATEGORY_GEOMETRY, and OGRE_FREE.

## Member Function Documentation

## ◆ flush()

void Ogre::v1::VertexCacheProfiler::flush | ( |  | ) |
| inline

## ◆ getHits()

unsigned int Ogre::v1::VertexCacheProfiler::getHits | ( |  | ) |
| inline

## ◆ getMisses()

unsigned int Ogre::v1::VertexCacheProfiler::getMisses | ( |  | ) |
| inline

## ◆ getSize()

unsigned int Ogre::v1::VertexCacheProfiler::getSize | ( |  | ) |
| inline

## ◆ profile()

void Ogre::v1::VertexCacheProfiler::profile | ( | const HardwareIndexBufferSharedPtr & | indexBuffer | ) |

## ◆ reset()

void Ogre::v1::VertexCacheProfiler::reset | ( |  | ) |
| inline

The documentation for this class was generated from the following file:

- OgreVertexIndexData.h