drawElementsInstanced method
dynamic
drawElementsInstanced(
- dynamic mode,
- dynamic count,
- dynamic type,
- dynamic offset,
- 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;
}