C# Class Sharpex2D.Rendering.OpenGL.IndexBuffer

Inheritance: IDisposable
Datei anzeigen Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
Bind ( ) : void

Binds the IndexBuffer.

Dispose ( ) : void

Disposes the object.

IndexBuffer ( ) : System

Initializes a new IndexBuffer class.

SetData ( ushort indices ) : void

Sets the Data.

Bind must be called in order to take effect.

Unbind ( ) : void

Unbinds the IndexBuffer.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes the object.

Method Details

Bind() public method

Binds the IndexBuffer.
public Bind ( ) : void
return void

Dispose() public method

Disposes the object.
public Dispose ( ) : void
return void

Dispose() protected method

Disposes the object.
protected Dispose ( bool disposing ) : void
disposing bool The disposing state.
return void

IndexBuffer() public method

Initializes a new IndexBuffer class.
public IndexBuffer ( ) : System
return System

SetData() public method

Sets the Data.
Bind must be called in order to take effect.
public SetData ( ushort indices ) : void
indices ushort The Indices.
return void

Unbind() public method

Unbinds the IndexBuffer.
public Unbind ( ) : void
return void