2013-12-11 17 views

回答

0

您可以使用 glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) ,在Android的每一個的OpenGL版本。顯然在GL線程中調用它。更多示例,請查看this問題。

+1

謝謝,我會試試這個。 – amorenew

+0

這個例子是關於使用glreadpixels返回像素的顏色,但我想要在這個glsurfaceview圖像的原始x和y。 – amorenew

相關問題