28 #ifndef __RenderToVertexBuffer_H__
29 #define __RenderToVertexBuffer_H__
111 virtual void reset() { mResetRequested =
true; }
135 void setRenderToBufferMaterialName(
const String& materialName);
virtual void reset()
Reset the vertex buffer to the initial state.
void setOperationType(RenderOperation::OperationType operationType)
Set the type of primitives that this object generates.
Manages the organisation and rendering of a 'scene' i.e.
RenderOperation::OperationType getOperationType() const
What type of primitives does this object generate?
SharedPtr< RenderToVertexBuffer > RenderToVertexBufferSharedPtr
An object which renders geometry to a vertex.
Abstract class defining the interface all renderable objects must implement.
Renderable * mSourceRenderable
const MaterialPtr & getRenderToBufferMaterial()
Get the material which is used to render the geometry into the vertex buffer.
unsigned int getMaxVertexCount() const
Get the maximum number of vertices that the buffer will hold.
Summary class collecting together vertex source information.
'New' rendering operation using vertex buffers.
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
RenderOperation::OperationType mOperationType
void setResetsEveryUpdate(bool resetsEveryUpdate)
Set wether this object resets its buffers each time it updates.
bool getResetsEveryUpdate() const
Does this object reset its buffer each time it updates?
Reference-counted shared pointer, used for objects where implicit destruction is required.
Specialisation of SharedPtr to allow SharedPtr to be assigned to MaterialPtr.
void setMaxVertexCount(unsigned int maxVertexCount)
Set the maximum number of vertices that the buffer will hold.
const Renderable * getSourceRenderable() const
Get the source renderable of this object.
void setSourceRenderable(Renderable *source)
Set the source renderable of this object.
unsigned int mMaxVertexCount
OperationType
The rendering operation type to perform.