C# Class Axiom.Graphics.HardwareIndexBuffer

Describes the graphics API independent functionality required by a hardware index buffer.
NB subclasses should override lock, unlock, readData, writeData
Inheritance: Axiom.Graphics.HardwareBuffer
ファイルを表示 Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
Manager HardwareBufferManagerBase
indexSize int
numIndices int
type IndexType

Public Methods

Method Description
HardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType type, int numIndices, BufferUsage usage, bool useSystemMemory, bool useShadowBuffer ) : System

Constructor.

Method Details

HardwareIndexBuffer() public method

Constructor.
public HardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType type, int numIndices, BufferUsage usage, bool useSystemMemory, bool useShadowBuffer ) : System
manager HardwareBufferManagerBase
type IndexType Type of index (16 or 32 bit).
numIndices int Number of indices to create in this buffer.
usage BufferUsage Buffer usage.
useSystemMemory bool Create in system memory?
useShadowBuffer bool Use a shadow buffer for reading/writing?
return System

Property Details

Manager protected_oe property

protected HardwareBufferManagerBase Manager
return HardwareBufferManagerBase

indexSize protected_oe property

Size of each index.
protected int indexSize
return int

numIndices protected_oe property

Number of indices in this buffer.
protected int numIndices
return int

type protected_oe property

Type of index (16 or 32 bit).
protected IndexType type
return IndexType