readPixelsNative method
void
readPixelsNative()
Implementation
void readPixelsNative(int x, int y, int width, int height, int format, int type,
NativeArray data) {
final dataPtr = data.data;
gl.glReadPixels(x, y, width, height, format, type, dataPtr);
}