C# Class Vector.Gpu.IndexBuffer

IndexBuffer

An IndexBuffer connects vertices into primities

Inheritance: IDisposable
Afficher le fichier Open project: sinclairzx81/vector-cs

Méthodes publiques

Méthode 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

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

Disposes this IndexBuffer
public Dispose ( ) : void
Résultat void

GetData() public méthode

Gets the Index data in this buffer
public GetData ( ) : uint[]
Résultat uint[]

IndexBuffer() public méthode

public IndexBuffer ( Device device, BufferUsage usage ) : System
device Device
usage BufferUsage
Résultat System

SetData() public méthode

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

SetData() public méthode

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
Résultat void