drawElements method

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

Implementation

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