Tesla Graphics Engine Documentation (January 2012)
SetData<(Of <(<'T>)>)> Method (data, mipLevel, left, right, top, bottom, front, back, startIndex, elementCount)
TeslaTesla.Direct3D10.Graphics.ImplementationD3D10Texture3DImplementationSetData<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Sets the data from the texture.
Declaration Syntax
C#
public override void SetData<T>(
	T[] data,
	int mipLevel,
	int left,
	int right,
	int top,
	int bottom,
	int front,
	int back,
	int startIndex,
	int elementCount
)
where T : struct, new()
Generic Template Parameters
T
Type of data in the array
Parameters
data (array<T>[]()[][])
The array of data
mipLevel (Int32)
Mip map level to read from
left (Int32)
Right-most width position in the texture at which to acess. (0 or greater)
right (Int32)
Right-most width position in the texture at which to acess. (width or less)
top (Int32)
Top-most height position in the texture at which to acess. (0 or greater)
bottom (Int32)
Bottom-most height position in the texture at which to acess. (height or less)
front (Int32)
Front-most depth position in the texture at which to acess. (0 or greater)
back (Int32)
Back-most depth position in the texture at which to acess. (depth or less)
startIndex (Int32)
Starting index in the array to start reading from.
elementCount (Int32)
Number of elements to write.
Exceptions
Exception Condition
ArgumentException Thrown if the format byte size of the type to write and the texture do not match, the subimage dimensions are invalid, or if the total size to write and the total size in the texture do not match
TeslaException Thrown if there was an error writing to the texture.

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