C# Class Axiom.RenderSystems.Xna.XnaHardwareVertexBuffer

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

Protected Properties

Property Type Description
_buffer Microsoft.Xna.Framework.Graphics.VertexBuffer
_device Microsoft.Xna.Framework.Graphics.GraphicsDevice

Public Methods

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

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

XnaHardwareVertexBuffer ( HardwareBufferManagerBase manager, VertexDeclaration vertexDeclaration, int numVertices, BufferUsage usage, Microsoft.Xna.Framework.Graphics dev, 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

XnaHardwareVertexBuffer() public method

public XnaHardwareVertexBuffer ( HardwareBufferManagerBase manager, VertexDeclaration vertexDeclaration, int numVertices, BufferUsage usage, Microsoft.Xna.Framework.Graphics dev, bool useSystemMemory, bool useShadowBuffer ) : System
manager HardwareBufferManagerBase
vertexDeclaration VertexDeclaration
numVertices int
usage BufferUsage
dev Microsoft.Xna.Framework.Graphics
useSystemMemory bool
useShadowBuffer bool
return System

dispose() protected method

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

Property Details

_buffer protected property

protected VertexBuffer,Microsoft.Xna.Framework.Graphics _buffer
return Microsoft.Xna.Framework.Graphics.VertexBuffer

_device protected property

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