#include <OgreHardwareVertexBuffer.h>
Inheritance diagram for Ogre::VertexBufferBinding:
Public Types | |
typedef std::map< unsigned short, HardwareVertexBufferSharedPtr > | VertexBufferBindingMap |
Defines the vertex buffer bindings used as source for vertex declarations. | |
typedef std::map< ushort, ushort > | BindingIndexMap |
Public Member Functions | |
VertexBufferBinding () | |
Constructor, should not be called direct, use HardwareBufferManager::createVertexBufferBinding. | |
virtual | ~VertexBufferBinding () |
virtual void | setBinding (unsigned short index, const HardwareVertexBufferSharedPtr &buffer) |
Set a binding, associating a vertex buffer with a given index. | |
virtual void | unsetBinding (unsigned short index) |
Removes an existing binding. | |
virtual void | unsetAllBindings (void) |
Removes all the bindings. | |
virtual const VertexBufferBindingMap & | getBindings (void) const |
Gets a read-only version of the buffer bindings. | |
virtual const HardwareVertexBufferSharedPtr & | getBuffer (unsigned short index) const |
Gets the buffer bound to the given source index. | |
virtual bool | isBufferBound (unsigned short index) const |
Gets whether a buffer is bound to the given source index. | |
virtual size_t | getBufferCount (void) const |
virtual unsigned short | getNextIndex (void) const |
Gets the highest index which has already been set, plus 1. | |
virtual unsigned short | getLastBoundIndex (void) const |
Gets the last bound index. | |
virtual bool | hasGaps (void) const |
Check whether any gaps in the bindings. | |
virtual void | closeGaps (BindingIndexMap &bindingIndexMap) |
Remove any gaps in the bindings. | |
AllocatedObject () | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
Protected Attributes | |
VertexBufferBindingMap | mBindingMap |
unsigned short | mHighIndex |
Definition at line 466 of file OgreHardwareVertexBuffer.h.
|
Definition at line 514 of file OgreHardwareVertexBuffer.h. |
|
Defines the vertex buffer bindings used as source for vertex declarations.
Definition at line 470 of file OgreHardwareVertexBuffer.h. |
|
Constructor, should not be called direct, use HardwareBufferManager::createVertexBufferBinding.
|
|
|
|
Definition at line 55 of file OgreMemoryAllocatedObject.h. |
|
Remove any gaps in the bindings.
|
|
Gets a read-only version of the buffer bindings.
|
|
Gets the buffer bound to the given source index.
|
|
Definition at line 501 of file OgreHardwareVertexBuffer.h. |
|
Gets the last bound index.
|
|
Gets the highest index which has already been set, plus 1.
Definition at line 508 of file OgreHardwareVertexBuffer.h. |
|
Check whether any gaps in the bindings.
|
|
Gets whether a buffer is bound to the given source index.
|
|
Definition at line 101 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 95 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 89 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 112 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 106 of file OgreMemoryAllocatedObject.h. |
|
placement operator new
Definition at line 73 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 67 of file OgreMemoryAllocatedObject.h. |
|
operator new, with debug line info
Definition at line 62 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 84 of file OgreMemoryAllocatedObject.h. |
|
array operator new, with debug line info
Definition at line 79 of file OgreMemoryAllocatedObject.h. |
|
Set a binding, associating a vertex buffer with a given index.
|
|
Removes all the bindings.
|
|
Removes an existing binding.
|
|
Definition at line 472 of file OgreHardwareVertexBuffer.h. |
|
Definition at line 473 of file OgreHardwareVertexBuffer.h. |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:48:22 2009