Tesla Graphics Engine Documentation (January 2012)
GetData<(Of <(<'T>)>)> Method (face, data, mipLevel, subimage, startIndex, elementCount)
TeslaTesla.GraphicsTextureCubeGetData<(Of <<'(T>)>>)(CubeMapFace, array<T>[]()[][], Int32, Nullable<(Of <<'(Rectangle>)>>), Int32, Int32)
Gets the data from the texture.
Declaration Syntax
C#
public void GetData<T>(
	CubeMapFace face,
	T[] data,
	int mipLevel,
	Nullable<Rectangle> subimage,
	int startIndex,
	int elementCount
)
where T : struct, new()
Generic Template Parameters
T
Type of data in the array.
Parameters
face (CubeMapFace)
Cube map face to read from.
data (array<T>[]()[][])
Array of data.
mipLevel (Int32)
Mip map level to access.
subimage (Nullable<(Of <(<'Rectangle>)>)>)
Rectangle representing a sub-image of the 2D texture to read from, if null the whole image is read from.
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)