C# Class Fusion.Drivers.Graphics.IndexBuffer

Inheritance: System.DisposableBase
显示文件 Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Immediately releases the unmanaged resources used by this object.

Method Details

Create() public static method

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

Dispose() protected method

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

IndexBuffer() public method

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

SetData() public method

Copies array data to the index buffer.
public SetData ( int data ) : void
data int
return void

SetData() public method

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