OGRE  master
Object-Oriented Graphics Rendering Engine
Ogre::GLRenderToVertexBuffer Class Reference

#include <OgreGLRenderToVertexBuffer.h>

+ Inheritance diagram for Ogre::GLRenderToVertexBuffer:

Public Member Functions

 GLRenderToVertexBuffer ()
 C'tor. More...
 
virtual ~GLRenderToVertexBuffer ()
 D'tor. More...
 
void update (SceneManager *sceneMgr) override
 Update the contents of this vertex buffer by rendering. More...
 
- Public Member Functions inherited from Ogre::RenderToVertexBuffer
 RenderToVertexBuffer ()
 
virtual ~RenderToVertexBuffer ()
 
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...
 
void getRenderOperation (RenderOperation &op)
 Get the render operation for this buffer. More...
 
const MaterialPtrgetRenderToBufferMaterial ()
 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 RenderablegetSourceRenderable () const
 Get the source renderable of this object. More...
 
VertexDeclarationgetVertexDeclaration ()
 Get the vertex declaration that the pass will output. More...
 
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...
 

Constructor & Destructor Documentation

◆ GLRenderToVertexBuffer()

Ogre::GLRenderToVertexBuffer::GLRenderToVertexBuffer ( )

C'tor.

◆ ~GLRenderToVertexBuffer()

virtual Ogre::GLRenderToVertexBuffer::~GLRenderToVertexBuffer ( )
virtual

D'tor.

Member Function Documentation

◆ update()

void Ogre::GLRenderToVertexBuffer::update ( SceneManager sceneMgr)
overridevirtual

Update the contents of this vertex buffer by rendering.

Implements Ogre::RenderToVertexBuffer.


The documentation for this class was generated from the following file: