Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class 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 Member Functions

 IndexData ()
 ~IndexData ()
IndexDataclone (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 Member Functions

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

IndexDataoperator= (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.

Ogre::IndexData::IndexData  ) 
 

Ogre::IndexData::~IndexData  ) 
 


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

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

Protected operator=, to prevent misuse.


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.

size_t Ogre::IndexData::indexCount
 

The number of indexes to use from the buffer.

Definition at line 162 of file OgreVertexIndexData.h.

size_t Ogre::IndexData::indexStart
 

index in the buffer to start from for this operation

Definition at line 159 of file OgreVertexIndexData.h.


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

Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 13:04:57 2006