C# Class Axiom.Graphics.IndexData

Summary class collecting together index data source information.
Inheritance: DisposableObject
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
indexBuffer HardwareIndexBuffer
indexCount int
indexStart int

Public Methods

Method Description
Clone ( ) : IndexData

Creates a copy of the index data object, without a copy of the buffer data.

Clone ( bool copyData ) : IndexData

Clones this vertex data, potentially including replicating any index buffers.

Method Details

Clone() public method

Creates a copy of the index data object, without a copy of the buffer data.
public Clone ( ) : IndexData
return IndexData

Clone() public method

Clones this vertex data, potentially including replicating any index buffers.
public Clone ( bool copyData ) : IndexData
copyData bool /// If true, makes a copy the index buffer in addition to the definition. /// If false, the clone will refer to the same index buffer this object refers to. ///
return IndexData

Property Details

indexBuffer public property

Reference to the HardwareIndexBuffer to use, must be specified if useIndexes = true
public HardwareIndexBuffer,Axiom.Graphics indexBuffer
return HardwareIndexBuffer

indexCount public property

The number of indexes to use from the buffer.
public int indexCount
return int

indexStart public property

Index in the buffer to start from for this operation.
public int indexStart
return int