Abstract base class providing mechanisms for dynamically growing hardware buffers.
More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/tools/DynamicRenderable.h>
Abstract base class providing mechanisms for dynamically growing hardware buffers.
Ogre::DynamicRenderable::DynamicRenderable |
( |
| ) |
|
Ogre::DynamicRenderable::~DynamicRenderable |
( |
| ) |
|
|
virtual |
virtual void Ogre::DynamicRenderable::createVertexDeclaration |
( |
| ) |
|
|
protectedpure virtual |
virtual void Ogre::DynamicRenderable::fillHardwareBuffers |
( |
| ) |
|
|
protectedpure virtual |
Real Ogre::DynamicRenderable::getBoundingRadius |
( |
void |
| ) |
const |
|
overridevirtual |
Implementation of SimpleRenderable.
Real Ogre::DynamicRenderable::getSquaredViewDepth |
( |
const Camera * |
cam | ) |
const |
|
overridevirtual |
Implementation of SimpleRenderable.
void Ogre::DynamicRenderable::initialize |
( |
RenderOperation::OperationType |
operationType, |
|
|
bool |
useIndices |
|
) |
| |
Initializes the dynamic renderable.
- Parameters
-
operationType | The type of render operation to perform. |
useIndices | Specifies whether to use indices to determine the vertices to use as input. |
void Ogre::DynamicRenderable::prepareHardwareBuffers |
( |
size_t |
vertexCount, |
|
|
size_t |
indexCount |
|
) |
| |
|
protected |
Prepares the hardware buffers for the requested vertex and index counts.
- The vertex and index count in the render operation are set to the values of vertexCount and indexCount respectively.
- Parameters
-
vertexCount | The number of vertices the buffer must hold. |
indexCount | The number of indices the buffer must hold. This parameter is ignored if not using indices. |
size_t Ogre::DynamicRenderable::mIndexBufferCapacity |
|
protected |
Maximum capacity of the currently allocated index buffer.
size_t Ogre::DynamicRenderable::mVertexBufferCapacity |
|
protected |
Maximum capacity of the currently allocated vertex buffer.
The documentation for this class was generated from the following files: