drawElements method

void drawElements(
  1. int mode,
  2. int count,
  3. int type,
  4. int offset,
)

Implementation

void drawElements(int mode, int count, int type, int offset) {
  var offSetPointer = Pointer<Void>.fromAddress(offset);
  gl.glDrawElements(mode, count, type, offSetPointer.cast<Void>());
  calloc.free(offSetPointer);
}