readPixels(int x, int y, int width, int height, int format, int type, data) { gl.readPixels(x, y, width, height, format, type, getData(data)); }