Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE_OGREDYNAMICRENDERABLE_HH_
18 #define GZ_RENDERING_OGRE_OGREDYNAMICRENDERABLE_HH_
21 #include "gz/rendering/ogre/Export.hh"
30 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
37 public Ogre::SimpleRenderable
52 public:
void Init(
MarkerType _opType,
bool _useIndices =
false);
56 public:
void SetOperationType(
MarkerType _opType);
64 public:
virtual Ogre::Real getBoundingRadius()
const;
70 public:
virtual Ogre::Real getSquaredViewDepth(
71 const Ogre::Camera *_cam)
const;
76 protected:
virtual void CreateVertexDeclaration() = 0;
91 protected:
void PrepareHardwareBuffers(
size_t _vertexCount,
100 protected:
virtual void FillHardwareBuffers() = 0;
103 protected:
size_t vertexBufferCapacity = 0;
106 protected:
size_t indexBufferCapacity = 0;
Abstract base class providing mechanisms for dynamically growing hardware buffers.
Definition: gz/rendering/ogre/OgreDynamicRenderable.hh:36
MarkerType
Enum for marker types.
Definition: gz/rendering/Marker.hh:35