C# Class Axiom.RenderSystems.Xna.XnaHardwareVertexBuffer

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

Protected Properties

Свойство Type Description
_buffer Microsoft.Xna.Framework.Graphics.VertexBuffer
_device Microsoft.Xna.Framework.Graphics.GraphicsDevice

Méthodes publiques

Méthode Description
ReadData ( int offset, int length, IntPtr dest ) : void

WriteData ( int offset, int length, IntPtr src, bool discardWholeBuffer ) : void

XnaHardwareVertexBuffer ( HardwareBufferManagerBase manager, VertexDeclaration vertexDeclaration, int numVertices, BufferUsage usage, Microsoft.Xna.Framework.Graphics dev, bool useSystemMemory, bool useShadowBuffer ) : System

Méthodes protégées

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

UnlockImpl ( ) : void

dispose ( bool disposeManagedResources ) : void

Method Details

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

XnaHardwareVertexBuffer() public méthode

public XnaHardwareVertexBuffer ( HardwareBufferManagerBase manager, VertexDeclaration vertexDeclaration, int numVertices, BufferUsage usage, Microsoft.Xna.Framework.Graphics dev, bool useSystemMemory, bool useShadowBuffer ) : System
manager HardwareBufferManagerBase
vertexDeclaration VertexDeclaration
numVertices int
usage BufferUsage
dev Microsoft.Xna.Framework.Graphics
useSystemMemory bool
useShadowBuffer bool
Résultat System

dispose() protected méthode

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Résultat void

Property Details

_buffer protected_oe property

protected VertexBuffer,Microsoft.Xna.Framework.Graphics _buffer
Résultat Microsoft.Xna.Framework.Graphics.VertexBuffer

_device protected_oe property

protected GraphicsDevice,Microsoft.Xna.Framework.Graphics _device
Résultat Microsoft.Xna.Framework.Graphics.GraphicsDevice