Gets the data from the texture.
Declaration Syntax
C# |
public void GetData<T>( T[] data ) where T : struct, new()
Generic Template Parameters
- T
- Type of data in the array
Parameters
- data (array<T>[]()[][])
- The array of data
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)