C# Class Axiom.RenderSystems.OpenGL.GLDefaultHardwareVertexBuffer

Inheritance: Axiom.Graphics.HardwareVertexBuffer
Exibir arquivo Open project: WolfgangSt/axiom

Public Methods

Method Description
DataPtr ( int offset ) : IntPtr
GLDefaultHardwareVertexBuffer ( HardwareBufferManagerBase manager, Axiom.Graphics.VertexDeclaration vertexDeclaration, int numVertices, BufferUsage usage, bool useSystemMemory, 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

Method Details

DataPtr() public method

public DataPtr ( int offset ) : IntPtr
offset int
return System.IntPtr

GLDefaultHardwareVertexBuffer() public method

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

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