public static uint CreateVertexArray() { uint vao; GlNative.CreateVertexArrays(1, &vao); return(vao); }
public static uint[] CreateVertexArrays(int count) { var vaos = new uint[count]; fixed(uint *firstVao = vaos) GlNative.CreateVertexArrays(count, firstVao); return(vaos); }