Creates a new instance of VertexDeclaration.
Declaration Syntax
C# |
public VertexDeclaration( int vertexStride, params VertexElement[] elements )
Parameters
- vertexStride (Int32)
- The vertex stride.
- elements (array<VertexElement>[]()[][])
- The array of vertex elements that define the vertex.
Exceptions
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)