C# Class Axiom.RenderSystems.OpenGL.GLHardwareIndexBuffer

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

Méthodes publiques

Méthode Description
GLHardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType type, int numIndices, BufferUsage usage, bool useShadowBuffer ) : System

Constructor.

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

GLHardwareIndexBuffer() public méthode

Constructor.
public GLHardwareIndexBuffer ( HardwareBufferManagerBase manager, IndexType type, int numIndices, BufferUsage usage, bool useShadowBuffer ) : System
manager HardwareBufferManagerBase
type IndexType Index type (16 or 32 bit).
numIndices int Number of indices in the buffer.
usage BufferUsage Usage flags.
useShadowBuffer bool Should this buffer be backed by a software shadow buffer?
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