Creates a new instance of VertexDeclaration.
| C# |
public VertexDeclaration( int vertexStride, params VertexElement[] elements )
- vertexStride (Int32)
- The vertex stride.
- elements (array<VertexElement>[]()[][])
- The array of vertex elements that define the vertex.
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if the vertex elements are null. |
| ArgumentException | Thrown if the vertex elements are invalid. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)