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 override void SetInterleavedData( params DataBuffer[] data )
Parameters
- data (array<DataBuffer>[]()[][])
- Array of databuffers representing the vertex data.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if data is null. |
ArgumentOutOfRangeException | Thrown if the number of buffers do not match the number
of vertex elements, or if the number of vertices in each buffer does not match the vertex count,
or if there is a byte size mismatch of any kind. |
Assembly: Tesla.Direct3D10 (Module: Tesla.Direct3D10) Version: 0.5.0.0 (0.5.0.0)