Reads data from the index buffer into the array.

Declaration Syntax
public void GetData<T>(
T[] data,
int startIndex,
int elementCount,
int offsetInBytes
)
where T : struct, new()

Generic Template Parameters
-
T
- The type of data in the index buffer - int or short.

Parameters
-
data (array<T>[]()[][])
- Array to write the data to
-
startIndex (Int32)
- Starting index in the array at which to start writing to
-
elementCount (Int32)
- Number of indices to read
-
offsetInBytes (Int32)
- Offset from the start of the index buffer at which to start copying from

Remarks
See implementors for exceptions that may occur.

Exceptions
| Exception |
Condition |
|
TeslaException
|
Thrown if an error occurs while reading from the index buffer
|
Assembly:
Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)