C# Class Axiom.RenderSystems.DirectX9.D3DHardwareIndexBuffer

Summary description for D3DHardwareIndexBuffer.
Inheritance: Axiom.Graphics.HardwareIndexBuffer
Exibir arquivo Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
d3dBuffer SlimDX.Direct3D9.IndexBuffer
d3dPool SlimDX.Direct3D9.Pool

Public Methods

Method Description
D3DHardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType type, int numIndices, BufferUsage usage, SlimDX.Direct3D9 device, bool useSystemMemory, bool useShadowBuffer ) : System
ReadData ( int offset, int length, IntPtr dest ) : void

RecreateIfDefaultPool ( SlimDX.Direct3D9 device ) : bool
ReleaseIfDefaultPool ( ) : bool
WriteData ( int offset, int length, IntPtr src, bool discardWholeBuffer ) : void

Protected Methods

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

UnlockImpl ( ) : void

dispose ( bool disposeManagedResources ) : void

Method Details

D3DHardwareIndexBuffer() public method

public D3DHardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType type, int numIndices, BufferUsage usage, SlimDX.Direct3D9 device, bool useSystemMemory, bool useShadowBuffer ) : System
manager HardwareBufferManagerBase
type IndexType
numIndices int
usage BufferUsage
device SlimDX.Direct3D9
useSystemMemory bool
useShadowBuffer bool
return System

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

RecreateIfDefaultPool() public method

public RecreateIfDefaultPool ( SlimDX.Direct3D9 device ) : bool
device SlimDX.Direct3D9
return bool

ReleaseIfDefaultPool() public method

public ReleaseIfDefaultPool ( ) : bool
return bool

UnlockImpl() protected method

protected UnlockImpl ( ) : void
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

dispose() protected method

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void

Property Details

d3dBuffer protected_oe property

protected IndexBuffer,SlimDX.Direct3D9 d3dBuffer
return SlimDX.Direct3D9.IndexBuffer

d3dPool protected_oe property

protected Pool,SlimDX.Direct3D9 d3dPool
return SlimDX.Direct3D9.Pool