readPixelsNormal method
dynamic
readPixelsNormal()
Implementation
readPixelsNormal(int x, int y, int width, int height, int format, int type,
Uint8List data) {
final dataPtr = toPointer(data);
glReadPixels(x, y, width, height, format, type, dataPtr);
Uint8List _data = (dataPtr as Pointer<Uint8>).asTypedList(data.length);
data.setAll(0, _data);
calloc.free(dataPtr);
}