Ejemplo n.º 1
0
 public void LoadIndices(int offset, short[] indices, int indexDataSizeInBytes)
 {
     GLHelper.BufferSubData(BufferTarget.ElementArrayBuffer, offset, indexDataSizeInBytes, indices);
 }
Ejemplo n.º 2
0
 public void LoadVertexData <T>(int offset, T[] vertices, int vertexDataSizeInBytes)
     where T : struct
 {
     GLHelper.BufferSubData(BufferTarget.ArrayBuffer, offset, vertexDataSizeInBytes, vertices);
 }