C# Class Axiom.RenderSystems.OpenGL.GLHardwareVertexBuffer

Summary description for GLHardwareVertexBuffer.
Inheritance: Axiom.Graphics.HardwareVertexBuffer
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
LockImpl ( int offset, int length, BufferLocking locking ) : IntPtr

UnlockImpl ( ) : void

dispose ( bool disposeManagedResources ) : void

Called to destroy this buffer.

Method Details

GLHardwareVertexBuffer() public méthode

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
Résultat System

LockImpl() protected méthode

protected LockImpl ( int offset, int length, BufferLocking locking ) : IntPtr
offset int
length int
locking BufferLocking
Résultat System.IntPtr

ReadData() public méthode

public ReadData ( int offset, int length, IntPtr dest ) : void
offset int
length int
dest System.IntPtr
Résultat void

UnlockImpl() protected méthode

protected UnlockImpl ( ) : void
Résultat void

WriteData() public méthode

public WriteData ( int offset, int length, IntPtr src, bool discardWholeBuffer ) : void
offset int
length int
src System.IntPtr
discardWholeBuffer bool
Résultat void

dispose() protected méthode

Called to destroy this buffer.
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Résultat void