OGRE
1.11.6
Object-Oriented Graphics Rendering Engine
|
An object which renders geometry to a vertex. More...
#include <OgreD3D11RenderToVertexBuffer.h>
Public Member Functions | |
D3D11RenderToVertexBuffer (D3D11Device &device, D3D11HardwareBufferManagerBase *bufManager) | |
virtual | ~D3D11RenderToVertexBuffer (void) |
unsigned int | getMaxVertexCount () const |
Get the maximum number of vertices that the buffer will hold. More... | |
RenderOperation::OperationType | getOperationType () const |
What type of primitives does this object generate? More... | |
virtual void | getRenderOperation (RenderOperation &op) |
Get the render operation for this buffer. More... | |
const MaterialPtr & | getRenderToBufferMaterial () |
Get the material which is used to render the geometry into the vertex buffer. More... | |
bool | getResetsEveryUpdate () const |
Does this object reset its buffer each time it updates? More... | |
const Renderable * | getSourceRenderable () const |
Get the source renderable of this object. More... | |
VertexDeclaration * | getVertexDeclaration () |
Get the vertex declaration that the pass will output. More... | |
void | reallocateBuffer (size_t index) |
virtual void | reset () |
Reset the vertex buffer to the initial state. More... | |
void | setMaxVertexCount (unsigned int maxVertexCount) |
Set the maximum number of vertices that the buffer will hold. More... | |
void | setOperationType (RenderOperation::OperationType operationType) |
Set the type of primitives that this object generates. More... | |
void | setRenderToBufferMaterialName (const String &materialName) |
Set the material name which is used to render the geometry into the vertex buffer. More... | |
void | setResetsEveryUpdate (bool resetsEveryUpdate) |
Set whether this object resets its buffers each time it updates. More... | |
void | setSourceRenderable (Renderable *source) |
Set the source renderable of this object. More... | |
virtual void | update (SceneManager *sceneMgr) |
Update the contents of this vertex buffer by rendering. More... | |
An object which renders geometry to a vertex.
Ogre::D3D11RenderToVertexBuffer::D3D11RenderToVertexBuffer | ( | D3D11Device & | device, |
D3D11HardwareBufferManagerBase * | bufManager | ||
) |
|
virtual |
|
virtual |
Get the render operation for this buffer.
Implements Ogre::RenderToVertexBuffer.
|
virtual |
Update the contents of this vertex buffer by rendering.
Implements Ogre::RenderToVertexBuffer.
void Ogre::D3D11RenderToVertexBuffer::reallocateBuffer | ( | size_t | index | ) |
|
inherited |
Get the vertex declaration that the pass will output.
|
inlineinherited |
Get the maximum number of vertices that the buffer will hold.
|
inlineinherited |
Set the maximum number of vertices that the buffer will hold.
|
inlineinherited |
What type of primitives does this object generate?
|
inlineinherited |
Set the type of primitives that this object generates.
|
inlineinherited |
Set whether this object resets its buffers each time it updates.
|
inlineinherited |
Does this object reset its buffer each time it updates?
|
inlinevirtualinherited |
Reset the vertex buffer to the initial state.
In the next update, the source renderable will be used as input.
|
inlineinherited |
Set the source renderable of this object.
During the first (and perhaps later) update of this object, this object's data will be used as input)
|
inlineinherited |
Get the source renderable of this object.
|
inlineinherited |
Get the material which is used to render the geometry into the vertex buffer.
|
inherited |
Set the material name which is used to render the geometry into the vertex buffer.