Ejemplo n.º 1
0
 /// <summary>
 /// Return vertex size for a legacy vertex element bitmask.
 /// </summary>
 public static uint GetVertexSize(ElementMask elementMask)
 {
     Runtime.Validate(typeof(VertexBuffer));
     return(VertexBuffer_GetVertexSize3((uint)elementMask));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Set size and vertex elements and dynamic mode using legacy element bitmask. Previous data will be lost.
 /// </summary>
 public bool SetSize(uint vertexCount, ElementMask elementMask, bool dynamic = false)
 {
     Runtime.ValidateRefCounted(this);
     return(VertexBuffer_SetSize(handle, vertexCount, (uint)elementMask, dynamic));
 }