Tesla Graphics Engine Documentation (January 2012)
SetData<(Of <(<'T>)>)> Method (data, writeOptions)
TeslaTesla.GraphicsIndexBufferSetData<(Of <<'(T>)>>)(array<T>[]()[][], DataWriteOptions)
Writes data from the array to the index buffer.
Declaration Syntax
C#
public void SetData<T>(
	T[] data,
	DataWriteOptions writeOptions
)
where T : struct, new()
Generic Template Parameters
T
The type of data in the index buffer - int or short.
Parameters
data (array<T>[]()[][])
Array to copy the data from
writeOptions (DataWriteOptions)
Write options, used only if this is a dynamic buffer. None, discard, no overwrite
Remarks
See implementors for exceptions that may occur.
Exceptions
Exception Condition
TeslaException Thrown if an error occurs while writing to the index buffer

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)