C# Class Vector.Gpu.IndexBuffer

IndexBuffer

An IndexBuffer connects vertices into primities

Inheritance: IDisposable
Exibir arquivo Open project: sinclairzx81/vector-cs

Public Methods

Method Description
Dispose ( ) : void

Disposes this IndexBuffer

GetData ( ) : uint[]

Gets the Index data in this buffer

IndexBuffer ( Device device, BufferUsage usage ) : System
SetData ( uint data ) : void

Sets the indices for this buffer.

SetData ( uint data, int start, int length ) : void

Sets the indices for this buffer.

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

Disposes this IndexBuffer
public Dispose ( ) : void
return void

GetData() public method

Gets the Index data in this buffer
public GetData ( ) : uint[]
return uint[]

IndexBuffer() public method

public IndexBuffer ( Device device, BufferUsage usage ) : System
device Device
usage BufferUsage
return System

SetData() public method

Sets the indices for this buffer.
public SetData ( uint data ) : void
data uint An array of unsigned integers
return void

SetData() public method

Sets the indices for this buffer.
public SetData ( uint data, int start, int length ) : void
data uint An array of unsigned integers
start int The index to start
length int The length of the buffer
return void