Gets the data from the vertex buffer and copies it into specified array.
| C# |
public void GetData<T>( T[] data ) where T : struct, new()
- T
- The type of data in the vertex buffer.
- data (array<T>[]()[][])
- Array to copy contents to from the vertex buffer into
See implementors for details on other exceptions that can be thrown.
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if the data is null. |
| TeslaException | Thrown if there is an error reading from the vertex buffer
or arguments are invalid, check the inner exception for additional details. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)