Tesla Graphics Engine Documentation (January 2012)
SetData<(Of <(<'T>)>)> Method (data, startIndex, elementCount, offsetInBytes, writeOptions)
TeslaTesla.Direct3D10.Graphics.ImplementationD3D10IndexBufferImplementationSetData<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Int32, Int32, DataWriteOptions)
Writes data from the array to the index buffer.
Declaration Syntax
public override void SetData<T>(
	T[] data,
	int startIndex,
	int elementCount,
	int offsetInBytes,
	DataWriteOptions writeOptions
where T : struct, new()
Generic Template Parameters
The type of data in the index buffer - int or short.
data (array<T>[]()[][])
Array to copy the data from
startIndex (Int32)
Starting index in the array at which to start copying from
elementCount (Int32)
Number of indices to write
offsetInBytes (Int32)
Offset from the start of the index buffer at which to start writing at
writeOptions (DataWriteOptions)
Write options, used only if this is a dynamic buffer. None, discard, no overwrite
See implementors for exceptions that may occur.

Assembly: Tesla.Direct3D10 (Module: Tesla.Direct3D10) Version: (