Tesla Graphics Engine Documentation (January 2012)
GetData<(Of <(<'T>)>)> Method (data, mipLevel, left, right, startIndex, elementCount)
TeslaTesla.GraphicsTexture1DGetData<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Int32, Int32, Int32, Int32)
Gets the data from the texture.
Declaration Syntax
C#
public void GetData<T>(
	T[] data,
	int mipLevel,
	int left,
	int right,
	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
mipLevel (Int32)
Mip map level to access
left (Int32)
The left-most position in the 1D texture at which to access.
right (Int32)
The right-most position in the 1D texture at which to acess.
startIndex (Int32)
Starting index in the array to start writing to.
elementCount (Int32)
Number of elements to read.
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 reading from 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)