C# Class Axiom.Graphics.DefaultHardwareIndexBuffer

Inheritance: HardwareIndexBuffer
Mostra file Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
DefaultHardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType idxType, int numIndexes, BufferUsage usage ) : System
DefaultHardwareIndexBuffer ( IndexType idxType, int numIndexes, BufferUsage usage ) : System
Lock ( int offset, int length, BufferLocking locking ) : IntPtr
ReadData ( int offset, int length, IntPtr dest ) : void
Unlock ( ) : void
WriteData ( int offset, int length, Array data, bool discardWholeBuffer ) : void
WriteData ( int offset, int length, IntPtr src, bool discardWholeBuffer ) : void

Protected Methods

Method Description
LockImpl ( int offset, int length, BufferLocking locking ) : IntPtr
UnlockImpl ( ) : void

Method Details

DefaultHardwareIndexBuffer() public method

public DefaultHardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType idxType, int numIndexes, BufferUsage usage ) : System
manager HardwareBufferManagerBase
idxType IndexType
numIndexes int
usage BufferUsage
return System

DefaultHardwareIndexBuffer() public method

public DefaultHardwareIndexBuffer ( IndexType idxType, int numIndexes, BufferUsage usage ) : System
idxType IndexType
numIndexes int
usage BufferUsage
return System

Lock() public method

public Lock ( int offset, int length, BufferLocking locking ) : IntPtr
offset int
length int
locking BufferLocking
return System.IntPtr

LockImpl() protected method

protected LockImpl ( int offset, int length, BufferLocking locking ) : IntPtr
offset int
length int
locking BufferLocking
return System.IntPtr

ReadData() public method

public ReadData ( int offset, int length, IntPtr dest ) : void
offset int
length int
dest System.IntPtr
return void

Unlock() public method

public Unlock ( ) : void
return void

UnlockImpl() protected method

protected UnlockImpl ( ) : void
return void

WriteData() public method

public WriteData ( int offset, int length, Array data, bool discardWholeBuffer ) : void
offset int
length int
data System.Array
discardWholeBuffer bool
return void

WriteData() public method

public WriteData ( int offset, int length, IntPtr src, bool discardWholeBuffer ) : void
offset int
length int
src System.IntPtr
discardWholeBuffer bool
return void