OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Summary class collecting together index data source information. More...
#include <OgreVertexIndexData.h>
Public Member Functions | |
IndexData () | |
~IndexData () | |
IndexData * | clone (bool copyData=true, HardwareBufferManagerBase *mgr=0) const |
Clones this index data, potentially including replicating the index buffer. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
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 *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | optimiseVertexCacheTriList (void) |
Re-order the indexes in this index data structure to be more vertex cache friendly; that is to re-use the same vertices as close together as possible. | |
Public Attributes | |
HardwareIndexBufferSharedPtr | indexBuffer |
Pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true. | |
size_t | indexCount |
The number of indexes to use from the buffer. | |
size_t | indexStart |
Index in the buffer to start from for this operation. | |
Summary class collecting together index data source information.
Ogre::v1::IndexData::IndexData | ( | ) |
Ogre::v1::IndexData::~IndexData | ( | ) |
IndexData * Ogre::v1::IndexData::clone | ( | bool | copyData = true , |
HardwareBufferManagerBase * | mgr = 0 |
||
) | const |
Clones this index data, potentially including replicating the index buffer.
copyData | Whether to create new buffers too or just reference the existing ones |
mgr | If supplied, the buffer manager through which copies should be made |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
Re-order the indexes in this index data structure to be more vertex cache friendly; that is to re-use the same vertices as close together as possible.
HardwareIndexBufferSharedPtr Ogre::v1::IndexData::indexBuffer |
Pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true.
size_t Ogre::v1::IndexData::indexCount |
The number of indexes to use from the buffer.
size_t Ogre::v1::IndexData::indexStart |
Index in the buffer to start from for this operation.