Ejemplo n.º 1
0
 public static VBO Create(int position_dimensions,VertexAttributes attribs)
 {
     VBO v = new VBO();
     GL.GenBuffers(1,out v.PositionArrayBufferID);
     GL.GenBuffers(1,out v.OtherArrayBufferID);
     GL.GenBuffers(1,out v.ElementArrayBufferID);
     v.PositionDimensions = position_dimensions;
     v.VertexAttribs = attribs;
     return v;
 }
Ejemplo n.º 2
0
 public static VBO Create()
 {
     VBO v = new VBO();
     GL.GenBuffers(1,out v.PositionArrayBufferID);
     GL.GenBuffers(1,out v.OtherArrayBufferID);
     GL.GenBuffers(1,out v.ElementArrayBufferID);
     return v;
 }