Sets the vertex data from an array source.
Declaration Syntax
Generic Template Parameters
- T
- The type of data in the vertex buffer.
Parameters
- data (array<T>[]()[][])
- Array that holds the vertex data
- startIndex (Int32)
- Starting index of the element in the array at which to start copying from
- elementCount (Int32)
- Number of elements to copy from the array
- offsetInBytes (Int32)
- Offset in bytes from the beginning of the vertex buffer to the data.
- vertexStride (Int32)
- Size of an element in bytes.
Remarks
See implementors for details on other exceptions that can be thrown.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the data is null. |
TeslaException | Thrown if there was an error writing to the 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)