Exemplo n.º 1
0
 public static void SetAttributePointer <T>(this VertexArrayBinding @this, T attribute, int size, VertexAttribType attribType, bool normalized, int stride, int offset)
     where T : IAttribute => @this.SetAttributePointer(attribute.Index, size, attribType, normalized, stride, offset);
Exemplo n.º 2
0
 public static void SetAttributePointer(this VertexArrayBinding @this, Vec4Attribute attribute, int stride, int offset)
 => @this.SetAttributePointer(attribute, 4, VertexAttribType.Float, false, stride, offset);