Creates a new instance of VertexElement.
Declaration Syntax
C# |
public VertexElement( VertexSemantic semantic, int semanticIndex, VertexFormat format, int offset )
Parameters
- semantic (VertexSemantic)
- The element's shader semantic.
- semanticIndex (Int32)
- The element's shader semantic index
- format (VertexFormat)
- The element's format.
- offset (Int32)
- The element's offset from the start of the vertex data.
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)