readPixels method
void
readPixels()
Implementation
void readPixels(int x, int y, int width, int height, int format, int type, NativeArray data) {
// if (data is NativeArray) {
readPixelsNative(x, y, width, height, format, type, data.data.cast<Void>());
// } else {
// readPixelsNormal(x, y, width, height, format, type, data);
// }
}