Tesla Graphics Engine Documentation (January 2012)
SetData<(Of <(<'T>)>)> Method (data, startIndex, elementCount)
TeslaTesla.GraphicsTexture1DSetData<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Int32)
Sets the data to the texture.
Declaration Syntax
C#
public void SetData<T>(
	T[] data,
	int startIndex,
	int elementCount
)
where T : struct, new()
Generic Template Parameters
T
Type of data in the array.
Parameters
data (array<T>[]()[][])
Array of data.
startIndex (Int32)
Start index in the array to start reading from
elementCount (Int32)
Number of elements to copy
Remarks
See implementors for details on other exceptions that can be thrown.
Exceptions
Exception Condition
ArgumentNullException Thrown if data is null.
TeslaException Thrown if there is an error writing to the texture or arguments are invalid, check the inner exception for additional details.

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