OpenGL ES 2.0 / GLSL 1.0
Reading Pixels
最終更新:
opengles
-
view
void ReadPixels(int x, int y, sizei width, sizei height, enum format, enum type, void *data);
//format: RGBA type: UNSIGNED_BYTE
Note: ReadPixels() also accepts a queriable implementationdefined format/type combination, see [4.3.1].