Convienence method that takes an array of data buffers, each representing a vertex element (in the order
declared by the vertex declaration), and writes all of the data to the vertex buffer. The buffers must match
the vertex declaration as well as the byte sizes of each element and all be of the same length.
Declaration Syntax
C# |
public void SetInterleavedData( params DataBuffer[] data )
Parameters
- data (array<DataBuffer>[]()[][])
- Array of databuffers representing the vertex data.
Remarks
See implementors for details on other exceptions that can be thrown.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the data is null. |
ArgumentOutOfRangeException | Thrown if the number of data buffers do not match
the number of vertex elements declared in the vertex buffer. |
TeslaException | Thrown if there is an error writing to 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)