Example #1
0
 public void SetVertexAttribPointer(int index, int size, VBO buffer)
 {
     GL.EnableVertexAttribArray(index);
     GL.BindBuffer(BufferTarget.ArrayBuffer, buffer.getHandle());
     GL.VertexAttribPointer(index, size, VertexAttribPointerType.Float, true, 0, 0);
 }