Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# Ogre::IndexData Class Reference

Summary class collecting together index data source information. More...

`#include <OgreVertexIndexData.h>`

List of all members.

## Public Methods

| IndexData ()
| ~IndexData ()
IndexData * | clone (bool copyData=true) const
| Clones this index data, potentially including replicating the index buffer.

## Public Attributes

HardwareIndexBufferSharedPtr | indexBuffer
| pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true
size_t | indexStart
| index in the buffer to start from for this operation
size_t | indexCount
| The number of indexes to use from the buffer.

## Protected Methods

| IndexData (const IndexData &rhs)
| Protected copy constructor, to prevent misuse.
IndexData & | operator= (const IndexData &rhs)
| Protected operator=, to prevent misuse.

## Detailed Description

Summary class collecting together index data source information.

Definition at line 145 of file OgreVertexIndexData.h.

## Constructor & Destructor Documentation

Ogre::IndexData::IndexData | ( | const IndexData & | rhs | ) | `[protected]`

| Protected copy constructor, to prevent misuse. Definition at line 149 of file OgreVertexIndexData.h.

Ogre::IndexData::IndexData | ( |  | ) |

| Definition at line 489 of file OgreVertexIndexData.cpp. References indexCount, and indexStart. Referenced by clone().

Ogre::IndexData::~IndexData | ( |  | ) |

| Definition at line 496 of file OgreVertexIndexData.cpp.

## Member Function Documentation

IndexData * Ogre::IndexData::clone | ( | bool | copyData = true | ) | const

Clones this index data, potentially including replicating the index buffer.

Remarks:
  The caller is expected to delete the returned pointer when finished

Definition at line 500 of file OgreVertexIndexData.cpp.

References Ogre::SharedPtr< HardwareIndexBuffer >::get(), indexBuffer, indexCount, IndexData(), and indexStart.

Referenced by Ogre::Mesh::clone().

IndexData& Ogre::IndexData::operator= | ( | const IndexData & | rhs | ) | `[protected]`

| Protected operator=, to prevent misuse. Definition at line 151 of file OgreVertexIndexData.h.

## Member Data Documentation

HardwareIndexBufferSharedPtr Ogre::IndexData::indexBuffer

pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true

Definition at line 156 of file OgreVertexIndexData.h.

Referenced by Ogre::BillboardSet::_createBuffers(), Ogre::GLRenderSystem::_render(), Ogre::D3D9RenderSystem::_render(), Ogre::D3DRenderSystem::_render(), Ogre::ProgressiveMesh::addWorkingData(), Ogre::ProgressiveMesh::bakeNewLOD(), Ogre::Mesh::buildTangentVectors(), Ogre::EdgeListBuilder::buildTrianglesEdges(), clone(), Ogre::MeshManager::createPrefabPlane(), Ogre::Entity::EntityShadowRenderable::EntityShadowRenderable(), Ogre::TerrainRenderable::generateTriListIndexes(), Ogre::TerrainRenderable::generateTriStripIndexes(), Ogre::BorderPanelGuiElement::initialise(), Ogre::PatchMesh::load(), Ogre::EdgeListBuilder::log(), Ogre::MeshSerializerImpl::readMeshLodUsageGenerated(), Ogre::MeshSerializerImpl::readSubMesh(), Ogre::BspSceneManager::renderStaticGeometry(), Ogre::BspSceneManager::setWorldGeometry(), Ogre::MeshManager::tesselate2DMesh(), Ogre::MeshSerializerImpl::writeLodUsageGenerated(), and Ogre::MeshSerializerImpl::writeSubMesh().

size_t Ogre::IndexData::indexCount

The number of indexes to use from the buffer.

Definition at line 162 of file OgreVertexIndexData.h.

Referenced by Ogre::BillboardSet::_createBuffers(), Ogre::RenderSystem::_render(), Ogre::GLRenderSystem::_render(), Ogre::D3D9RenderSystem::_render(), Ogre::D3DRenderSystem::_render(), Ogre::ProgressiveMesh::addWorkingData(), Ogre::ProgressiveMesh::bakeNewLOD(), Ogre::ProgressiveMesh::build(), Ogre::Mesh::buildTangentVectors(), Ogre::EdgeListBuilder::buildTrianglesEdges(), Ogre::MeshSerializerImpl::calcSubMeshSize(), clone(), Ogre::MeshManager::createPrefabPlane(), Ogre::ShadowCaster::generateShadowVolume(), Ogre::TerrainRenderable::generateTriListIndexes(), Ogre::TerrainRenderable::generateTriStripIndexes(), Ogre::BillboardSet::getRenderOperation(), IndexData(), Ogre::BorderPanelGuiElement::initialise(), Ogre::PatchMesh::load(), Ogre::EdgeListBuilder::log(), Ogre::MeshSerializerImpl::readMeshLodUsageGenerated(), Ogre::MeshSerializerImpl::readSubMesh(), Ogre::BspSceneManager::renderStaticGeometry(), Ogre::PatchMesh::setSubdivision(), Ogre::BspSceneManager::setWorldGeometry(), Ogre::MeshManager::tesselate2DMesh(), Ogre::MeshSerializerImpl::writeLodUsageGenerated(), and Ogre::MeshSerializerImpl::writeSubMesh().

size_t Ogre::IndexData::indexStart

index in the buffer to start from for this operation

Definition at line 159 of file OgreVertexIndexData.h.

Referenced by Ogre::BillboardSet::_createBuffers(), Ogre::GLRenderSystem::_render(), Ogre::D3D9RenderSystem::_render(), Ogre::D3DRenderSystem::_render(), Ogre::ProgressiveMesh::bakeNewLOD(), clone(), Ogre::MeshManager::createPrefabPlane(), Ogre::Entity::EntityShadowRenderable::EntityShadowRenderable(), Ogre::ShadowCaster::generateShadowVolume(), Ogre::TerrainRenderable::generateTriListIndexes(), Ogre::TerrainRenderable::generateTriStripIndexes(), Ogre::BillboardSet::getRenderOperation(), IndexData(), Ogre::BorderPanelGuiElement::initialise(), Ogre::PatchMesh::load(), Ogre::MeshSerializerImpl::readSubMesh(), and Ogre::BspSceneManager::setWorldGeometry().

The documentation for this class was generated from the following files:

- OgreVertexIndexData.h
- OgreVertexIndexData.cpp

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:50:14 2004