gz/rendering/ogre/OgreDynamicRenderable.hh
Go to the documentation of this file.
Abstract base class providing mechanisms for dynamically growing hardware buffers.
Definition: gz/rendering/ogre/OgreDynamicRenderable.hh:38
virtual ~OgreDynamicRenderable()
Virtual destructor.
virtual Ogre::Real getSquaredViewDepth(const Ogre::Camera *_cam) const
Implementation of Ogre::SimpleRenderable.
virtual void CreateVertexDeclaration()=0
Creates the vertex declaration.
MarkerType OperationType() const
Get the render operation type.
void Init(MarkerType _opType, bool _useIndices=false)
Initializes the dynamic renderable.
void SetOperationType(MarkerType _opType)
Set the render operation type.
OgreDynamicRenderable()
Constructor.
virtual void FillHardwareBuffers()=0
Fills the hardware vertex and index buffers with data.
virtual Ogre::Real getBoundingRadius() const
Implementation of Ogre::SimpleRenderable.
void PrepareHardwareBuffers(size_t _vertexCount, size_t _indexCount)
Prepares the hardware buffers for the requested vertex and index counts.
MarkerType
Enum for marker types.
Definition: gz/rendering/Marker.hh:36