|  | OGRE-Next 3.0.0
    Object-Oriented Graphics Rendering Engine | 
Summary class collecting together index data source information. More...
#include <OgreVertexIndexData.h>
 Inheritance diagram for Ogre::v1::IndexData:
 Inheritance diagram for Ogre::v1::IndexData:| 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 | optimiseVertexCacheTriList () | 
| 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 | 
| void Ogre::v1::IndexData::optimiseVertexCacheTriList | ( | ) | 
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.
Referenced by Ogre::VerticesRemapInfo::markUsedIndices(), and Ogre::VerticesRemapInfo::performIndexDataRemap().
| size_t Ogre::v1::IndexData::indexCount | 
The number of indexes to use from the buffer.
Referenced by Ogre::VerticesRemapInfo::markUsedIndices(), and Ogre::VerticesRemapInfo::performIndexDataRemap().
| size_t Ogre::v1::IndexData::indexStart | 
Index in the buffer to start from for this operation.
Referenced by Ogre::VerticesRemapInfo::markUsedIndices(), and Ogre::VerticesRemapInfo::performIndexDataRemap().