Gets the data from the texture.
| C# |
public void GetData<T>( T[] data ) where T : struct, new()
- T
- Type of data in the array
- data (array<T>[]()[][])
- The array of data
See implementors for details on other exceptions that can be thrown.
| 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)