Exemple #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...
 }
Exemple #2
0
 @Override
 public void glDrawElements(int mode, int count, int type, int indices) {
   gl.drawElements(mode, count, type, indices);
 }