29 #ifndef _DynamicRenderable_H__ 30 #define _DynamicRenderable_H__ 34 #include <OgreSimpleRenderable.h> 59 void initialize(RenderOperation::OperationType operationType,
63 virtual Real getBoundingRadius(
void)
const override;
65 virtual Real getSquaredViewDepth(
const Camera* cam)
const override;
81 virtual void createVertexDeclaration() = 0;
101 void prepareHardwareBuffers(
size_t vertexCount,
size_t indexCount);
112 virtual void fillHardwareBuffers() = 0;
size_t mIndexBufferCapacity
Maximum capacity of the currently allocated index buffer.
Definition: DynamicRenderable.h:71
Abstract base class providing mechanisms for dynamically growing hardware buffers.
Definition: DynamicRenderable.h:39
size_t mVertexBufferCapacity
Maximum capacity of the currently allocated vertex buffer.
Definition: DynamicRenderable.h:69
Definition: CorePrereqs.h:362