Example #1
0
 @Override
 public void glDrawElements(int mode, int count, int type, Buffer indices) {
   gl.drawElements(
       mode,
       count,
       type,
       indices.position()); // FIXME this is assuming WebGL supports client side buffers...
 }
Example #2
0
 @Override
 public void glDrawElements(int mode, int count, int type, int indices) {
   gl.drawElements(mode, count, type, indices);
 }