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