C# Class Axiom.RenderSystems.Xna.XnaHardwareIndexBuffer

Summary description for XnaHardwareIndexBuffer.
Inheritance: Axiom.Graphics.HardwareIndexBuffer
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
_device Microsoft.Xna.Framework.Graphics.GraphicsDevice
_xnaBuffer Microsoft.Xna.Framework.Graphics.IndexBuffer
data System.Array

Public Methods

Method Description
ReadData ( int offset, int length, IntPtr dest ) : void

WriteData ( int offset, int length, IntPtr src, bool discardWholeBuffer ) : void

XnaHardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType type, int numIndices, BufferUsage usage, Microsoft.Xna.Framework.Graphics device, bool useSystemMemory, bool useShadowBuffer ) : System

Protected Methods

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

UnlockImpl ( ) : void

dispose ( bool disposeManagedResources ) : void

Method Details

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

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

XnaHardwareIndexBuffer() public method

public XnaHardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType type, int numIndices, BufferUsage usage, Microsoft.Xna.Framework.Graphics device, bool useSystemMemory, bool useShadowBuffer ) : System
manager HardwareBufferManagerBase
type IndexType
numIndices int
usage BufferUsage
device Microsoft.Xna.Framework.Graphics
useSystemMemory bool
useShadowBuffer bool
return System

dispose() protected method

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

Property Details

_device protected property

protected GraphicsDevice,Microsoft.Xna.Framework.Graphics _device
return Microsoft.Xna.Framework.Graphics.GraphicsDevice

_xnaBuffer protected property

protected IndexBuffer,Microsoft.Xna.Framework.Graphics _xnaBuffer
return Microsoft.Xna.Framework.Graphics.IndexBuffer

data protected property

protected Array,System data
return System.Array