Sets the data to the texture.
| C# |
public void SetData<T>( CubeMapFace face, T[] data ) where T : struct, new()
- T
- Type of data in the array.
- face (CubeMapFace)
- Cube map face to write to.
- data (array<T>[]()[][])
- 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 writing to 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)