Class VertexField

VertexField class

Vertex’s field memory layout description.

public class VertexField : IComparable<VertexField>


Alias { get; }Alias annotated by attribute SemanticAttribute
DataType { get; }Data type of this field.
Index { get; }Index of this field in the vertex’s layout with same semantic.
Offset { get; }The offset in bytes of this field.
Semantic { get; }The usage semantic of this field.
Size { get; }The size in bytes of this field


CompareTo(VertexField)Compares this instance to a specified object and returns an indication of their relative values.
override Equals(object)Determines whether this instance and a specified object, which must also be a VertexField object, have the same value.
override GetHashCode()Returns the hash code for this string.
override ToString()Gets the string representation of VertexField

See Also