DigitalSpaces::DIOGREVertexBufferBinding Struct Reference
[Ogre]

#include <OGREInterfaces.h>

Inherits DigitalSpaces::DIObjectBase.


Public Member Functions

void SetBinding (unsigned short index, DIOGREHardwareVertexBuffer *buffer)
void UnsetBinding (unsigned short index)
 Removes an existing binding.
void UnsetAllBindings (void)
 Removes all the bindings.
DIOGREHardwareVertexBufferGetBuffer (unsigned short index)
 Gets a read-only version of the buffer bindings.
unsigned long GetBufferCount (void)
unsigned short GetNextIndex (void)
 Gets the highest index which has already been set, plus 1.

Member Function Documentation

void DigitalSpaces::DIOGREVertexBufferBinding::SetBinding ( unsigned short  index,
DIOGREHardwareVertexBuffer buffer 
)

void DigitalSpaces::DIOGREVertexBufferBinding::UnsetBinding ( unsigned short  index  ) 

Removes an existing binding.

void DigitalSpaces::DIOGREVertexBufferBinding::UnsetAllBindings ( void   ) 

Removes all the bindings.

DIOGREHardwareVertexBuffer* DigitalSpaces::DIOGREVertexBufferBinding::GetBuffer ( unsigned short  index  ) 

Gets a read-only version of the buffer bindings.

Gets the buffer bound to the given source index

unsigned long DigitalSpaces::DIOGREVertexBufferBinding::GetBufferCount ( void   ) 

unsigned short DigitalSpaces::DIOGREVertexBufferBinding::GetNextIndex ( void   ) 

Gets the highest index which has already been set, plus 1.

Remarks:
This is to assist in binding the vertex buffers such that there are not gaps in the list.


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

Generated on Sun Aug 31 17:46:32 2008 for Digital Spaces by  doxygen 1.5.6