C# Class Fusion.Drivers.Graphics.IndexBuffer

Inheritance: System.DisposableBase
Afficher le fichier Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Create ( GraphicsDevice device, int indices ) : IndexBuffer

Creates buffer from given indices

IndexBuffer ( GraphicsDevice device, int capacity ) : System

Creates an instance of this object.

SetData ( int data ) : void

Copies array data to the index buffer.

SetData ( int data, int offset, int count ) : void

Copies array data to the index buffer.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Immediately releases the unmanaged resources used by this object.

Method Details

Create() public static méthode

Creates buffer from given indices
public static Create ( GraphicsDevice device, int indices ) : IndexBuffer
device GraphicsDevice
indices int
Résultat IndexBuffer

Dispose() protected méthode

Immediately releases the unmanaged resources used by this object.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

IndexBuffer() public méthode

Creates an instance of this object.
public IndexBuffer ( GraphicsDevice device, int capacity ) : System
device GraphicsDevice
capacity int
Résultat System

SetData() public méthode

Copies array data to the index buffer.
public SetData ( int data ) : void
data int
Résultat void

SetData() public méthode

Copies array data to the index buffer.
public SetData ( int data, int offset, int count ) : void
data int
offset int
count int
Résultat void