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