Tesla Graphics Engine Documentation (January 2012)
IndexBuffer Constructor (renderSystem, data, usage)
TeslaTesla.GraphicsIndexBufferIndexBuffer(IRenderSystemProvider, DataBuffer<(Of <<'(Int32>)>>), ResourceUsage)
Creates a new instance of IndexBuffer.
Declaration Syntax
public IndexBuffer(
	IRenderSystemProvider renderSystem,
	DataBuffer<int> data,
	ResourceUsage usage
renderSystem (IRenderSystemProvider)
Render system used to create the underlying implementation.
data (DataBuffer<(Of <(<'Int32>)>)>)
The index data.
usage (ResourceUsage)
The resource usage specifying the type of memory the buffer should use.
Exception Condition
ArgumentNullException Thrown if the render system is null.
TeslaException Thrown if creating underlying buffer fails.

Assembly: Tesla (Module: Tesla) Version: (