OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::NULLVertexArrayObject Struct Reference

#include <OgreNULLVertexArrayObject.h>

+ Inheritance diagram for Ogre::NULLVertexArrayObject:

Public Member Functions

 NULLVertexArrayObject (uint32 vaoName, uint32 renderQueueId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
 
- Public Member Functions inherited from Ogre::VertexArrayObject
 VertexArrayObject (uint32 vaoName, uint32 renderQueueId, uint16 inputLayoutId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType operationType)
 
VertexArrayObjectclone (VaoManager *vaoManager, SharedVertexBufferMap *sharedBuffers, int vertexBufferType=-1, int indexBufferType=-1) const
 Clones the vertex & index buffers and creates a new VertexArrayObject. More...
 
const VertexElement2findBySemantic (VertexElementSemantic semantic, size_t &outIndex, size_t &outOffset, size_t repeat=0) const
 Returns the entire VertexElement2 descriptor in the vertex buffers. More...
 
VertexBufferPackedgetBaseVertexBuffer () const
 
IndexBufferPackedgetIndexBuffer () const
 
uint16 getInputLayoutId () const
 
OperationType getOperationType () const
 
uint32 getPrimitiveCount () const
 
uint32 getPrimitiveStart () const
 
uint32 getRenderQueueId () const
 
uint32 getVaoName () const
 
const VertexBufferPackedVecgetVertexBuffers () const
 
VertexElement2VecVec getVertexDeclaration () const
 Gets the combined vertex declaration of all the vertex buffers. More...
 
void readRequests (ReadRequestsVec &requests, size_t elementStart=0, size_t elementCount=0, bool skipRequestIfBufferHasShadowCopy=false)
 Utility to get multiple pointers & read specific elements of the vertex, even if they're in separate buffers. More...
 
void setPrimitiveRange (uint32 primStart, uint32 primCount)
 Limits the range of triangle primitives that is rendered. More...
 

Additional Inherited Members

- Public Types inherited from Ogre::VertexArrayObject
typedef vector< ReadRequests >::type ReadRequestsVec
 
- Static Public Member Functions inherited from Ogre::VertexArrayObject
static VertexElement2VecVec getVertexDeclaration (const VertexBufferPackedVec &vertexBuffers)
 
static void mapAsyncTickets (ReadRequestsVec &tickets)
 Maps the buffers requested via. More...
 
static void unmapAsyncTickets (ReadRequestsVec &tickets)
 Unmaps the buffers mapped via. More...
 
- Static Public Attributes inherited from Ogre::VertexArrayObject
static VertexBufferPacked msDummyVertexBuffer
 When a Vao doesn't have a vertex buffer, a dummy one is assigned for performance reasons (avoid checking if pointer is null, avoid crashing inside Ogre) More...
 

Constructor & Destructor Documentation

◆ NULLVertexArrayObject()

Ogre::NULLVertexArrayObject::NULLVertexArrayObject ( uint32  vaoName,
uint32  renderQueueId,
const VertexBufferPackedVec vertexBuffers,
IndexBufferPacked indexBuffer,
OperationType  opType 
)
inline

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