drawElementsInstanced method

dynamic drawElementsInstanced(
  1. dynamic mode,
  2. dynamic count,
  3. dynamic type,
  4. dynamic offset,
  5. dynamic instanceCount,
)

Implementation

drawElementsInstanced(mode, count, type, offset, instanceCount) {
  var offSetPointer = Pointer<Void>.fromAddress(offset);
  glDrawElementsInstanced(mode, count, type, offSetPointer, instanceCount);
  calloc.free(offSetPointer);
  return;
}