C# Class NewTOAPIA.GL.GLBufferObject

Inheritance: GIObject, IBindable, IDisposable
Mostrar archivo Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
AllocateStorage ( IntPtr dataPtr, int size, BufferUsage usage ) : void
Bind ( ) : void
Dispose ( ) : void
GLBufferObject ( GraphicsInterface gi, BufferTarget target ) : System
GLBufferObject ( GraphicsInterface gi, BufferTarget target, BufferUsage usage, IntPtr dataPtr, int size ) : System
GetMappedPointer ( ) : IntPtr
MapBuffer ( BufferAccess access ) : IntPtr
Unbind ( ) : void
UnmapBuffer ( ) : void
Write ( IntPtr data, int size ) : void
Write ( IntPtr data, int offset, int size ) : void
Write ( byte data, int offset, int size ) : void

Method Details

AllocateStorage() public method

public AllocateStorage ( IntPtr dataPtr, int size, BufferUsage usage ) : void
dataPtr System.IntPtr
size int
usage BufferUsage
return void

Bind() public method

public Bind ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GLBufferObject() public method

public GLBufferObject ( GraphicsInterface gi, BufferTarget target ) : System
gi GraphicsInterface
target BufferTarget
return System

GLBufferObject() public method

public GLBufferObject ( GraphicsInterface gi, BufferTarget target, BufferUsage usage, IntPtr dataPtr, int size ) : System
gi GraphicsInterface
target BufferTarget
usage BufferUsage
dataPtr System.IntPtr
size int
return System

GetMappedPointer() public method

public GetMappedPointer ( ) : IntPtr
return System.IntPtr

MapBuffer() public method

public MapBuffer ( BufferAccess access ) : IntPtr
access BufferAccess
return System.IntPtr

Unbind() public method

public Unbind ( ) : void
return void

UnmapBuffer() public method

public UnmapBuffer ( ) : void
return void

Write() public method

public Write ( IntPtr data, int size ) : void
data System.IntPtr
size int
return void

Write() public method

public Write ( IntPtr data, int offset, int size ) : void
data System.IntPtr
offset int
size int
return void

Write() public method

public Write ( byte data, int offset, int size ) : void
data byte
offset int
size int
return void