C# Class Axiom.RenderSystems.OpenGLES.GLESDefaultHardwareVertexBuffer

Inheritance: Axiom.Graphics.HardwareVertexBuffer
显示文件 Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
_data byte[]
_dataPtr System.IntPtr

Public Methods

Method Description
GLESDefaultHardwareVertexBuffer ( int vertexSize, int numVertices, BufferUsage usage ) : System

GetData ( int offset ) : IntPtr

Lock ( int offset, int length, BufferLocking locking ) : IntPtr

ReadData ( int offset, int length, IntPtr dest ) : void

Unlock ( ) : 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

dispose ( bool disposeManagedResources ) : void

Method Details

GLESDefaultHardwareVertexBuffer() public method

public GLESDefaultHardwareVertexBuffer ( int vertexSize, int numVertices, BufferUsage usage ) : System
vertexSize int
numVertices int
usage BufferUsage
return System

GetData() public method

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

Lock() public method

public Lock ( int offset, int length, BufferLocking locking ) : IntPtr
offset int
length int
locking BufferLocking
return System.IntPtr

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

Unlock() public method

public Unlock ( ) : void
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

dispose() protected method

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

Property Details

_data protected_oe property

protected byte[] _data
return byte[]

_dataPtr protected_oe property

protected IntPtr,System _dataPtr
return System.IntPtr