#include <physicsdebugdrawer.h>
DynamicRenderable::DynamicRenderable |
( |
| ) |
|
DynamicRenderable::~DynamicRenderable |
( |
| ) |
|
|
virtual |
virtual void DynamicRenderable::createVertexDeclaration |
( |
| ) |
|
|
protectedpure virtual |
Creates the vertex declaration.
Implemented in DynamicLines.
virtual void DynamicRenderable::fillHardwareBuffers |
( |
| ) |
|
|
protectedpure virtual |
Fills the hardware vertex and index buffers with data.
Implemented in DynamicLines.
Ogre::Real DynamicRenderable::getBoundingRadius |
( |
void |
| ) |
const |
|
virtual |
Implementation of SimpleRenderable.
Ogre::Real DynamicRenderable::getSquaredViewDepth |
( |
const Ogre::Camera * |
cam | ) |
const |
|
virtual |
Implementation of SimpleRenderable.
void DynamicRenderable::initialize |
( |
Ogre::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 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 DynamicRenderable::mIndexBufferCapacity |
|
protected |
Maximum capacity of the currently allocated index buffer.
size_t DynamicRenderable::mVertexBufferCapacity |
|
protected |
Maximum capacity of the currently allocated vertex buffer.
The documentation for this class was generated from the following files: