C# Class Axiom.Graphics.DefaultHardwareBufferManagerBase

Specialization of HardwareBufferManagerBase to emulate hardware buffers.
You might want to instantiate this class if you want to utilize classes like MeshSerializer without having initialized the rendering system (which is required to create a 'real' hardware buffer manager.
Inheritance: HardwareBufferManagerBase
Mostra file Open project: WolfgangSt/axiom

Public Methods

Method Description
CreateIndexBuffer ( IndexType itype, int numIndices, BufferUsage usage, bool useShadowBuffer ) : HardwareIndexBuffer
CreateVertexBuffer ( Axiom.Graphics.VertexDeclaration vertexDeclaration, int numVerts, BufferUsage usage, bool useShadowBuffer ) : HardwareVertexBuffer
DefaultHardwareBufferManagerBase ( ) : System

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Method Details

CreateIndexBuffer() public method

public CreateIndexBuffer ( IndexType itype, int numIndices, BufferUsage usage, bool useShadowBuffer ) : HardwareIndexBuffer
itype IndexType
numIndices int
usage BufferUsage
useShadowBuffer bool
return HardwareIndexBuffer

CreateVertexBuffer() public method

public CreateVertexBuffer ( Axiom.Graphics.VertexDeclaration vertexDeclaration, int numVerts, BufferUsage usage, bool useShadowBuffer ) : HardwareVertexBuffer
vertexDeclaration Axiom.Graphics.VertexDeclaration
numVerts int
usage BufferUsage
useShadowBuffer bool
return HardwareVertexBuffer

DefaultHardwareBufferManagerBase() public method

public DefaultHardwareBufferManagerBase ( ) : System
return System

dispose() protected method

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