#include <DynamicRenderable.h>
Inheritance diagram for DynamicRenderable:
Public Member Functions | |
DynamicRenderable () | |
Constructor. | |
virtual | ~DynamicRenderable () |
Virtual destructor. | |
void | initialize (Ogre::RenderOperation::OperationType operationType, bool useIndices) |
virtual Ogre::Real | getBoundingRadius (void) const |
Implementation of Ogre::SimpleRenderable. | |
virtual Ogre::Real | getSquaredViewDepth (const Ogre::Camera *cam) const |
Implementation of Ogre::SimpleRenderable. | |
Protected Member Functions | |
virtual void | createVertexDeclaration ()=0 |
void | prepareHardwareBuffers (size_t vertexCount, size_t indexCount) |
virtual void | fillHardwareBuffers ()=0 |
Protected Attributes | |
size_t | mVertexBufferCapacity |
Maximum capacity of the currently allocated vertex buffer. | |
size_t | mIndexBufferCapacity |
Maximum capacity of the currently allocated index buffer. |
|
Constructor.
|
|
Virtual destructor.
|
|
Creates the vertex declaration.
Implemented in DynamicLines. |
|
Fills the hardware vertex and index buffers with data.
Implemented in DynamicLines. |
|
Implementation of Ogre::SimpleRenderable.
|
|
Implementation of Ogre::SimpleRenderable.
|
|
Initializes the dynamic renderable.
|
|
Prepares the hardware buffers for the requested vertex and index counts.
|
|
Maximum capacity of the currently allocated index buffer.
|
|
Maximum capacity of the currently allocated vertex buffer.
|