Tesla Graphics Engine Documentation (January 2012)
IndexBuffer Constructor (data, usage)
TeslaTesla.GraphicsIndexBufferIndexBuffer(DataBuffer<(Of <<'(Int16>)>>), ResourceUsage)
Creates a new instance of IndexBuffer.
Declaration Syntax
public IndexBuffer(
	DataBuffer<short> data,
	ResourceUsage usage
data (DataBuffer<(Of <(<'Int16>)>)>)
The index data.
usage (ResourceUsage)
The resource usage specifying the type of memory the buffer should use.
Exception Condition
TeslaException Thrown if creating underlying buffer fails or the render system was not initialized.

Assembly: Tesla (Module: Tesla) Version: (