C# Class Axiom.RenderSystems.OpenGL.GLHardwareVertexBuffer

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

Public Methods

Method Description
GLHardwareVertexBuffer ( HardwareBufferManagerBase manager, Axiom.Graphics.VertexDeclaration vertexDeclaration, int numVertices, BufferUsage usage, bool useShadowBuffer ) : System
ReadData ( int offset, int length, IntPtr dest ) : 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

dispose ( bool disposeManagedResources ) : void

Called to destroy this buffer.

Method Details

GLHardwareVertexBuffer() public method

public GLHardwareVertexBuffer ( HardwareBufferManagerBase manager, Axiom.Graphics.VertexDeclaration vertexDeclaration, int numVertices, BufferUsage usage, bool useShadowBuffer ) : System
manager HardwareBufferManagerBase
vertexDeclaration Axiom.Graphics.VertexDeclaration
numVertices int
usage BufferUsage
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

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

Called to destroy this buffer.
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void