コード例 #1
0
ファイル: VAO.cs プロジェクト: dschoerk/TransvoxelCS
 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);
 }