readPixels method
Implementation
void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) {
startCheck("readPixels");
glReadPixels(_gl, x, y, width, height, format, type, pixels.jsify());
checkError('readPixels');
}