public VertexAttribute(VertexAttributeName name, int size, VertexAttributeType type, bool normalized, uint offset = 0)
        {
            Name = name;
            Size = size;
            Type = type;

            Normalized = normalized;

            Index = GetAttributeIndex(name) + offset;
        }
 public VertexAttributeAttribute(VertexAttributeName attribute)
 {
     Attribute = attribute;
 }
 public static uint GetAttributeIndex(VertexAttributeName name)
 {
     return(_attributeIndices[name]);
 }