COCOS2DX有没有取精灵上某个点的像素值的方法

如题所述

glReadPixels。
可以参考3.2版 base/CCUtil.cpp中
void onCaptureScreen(const std::function<void(bool, const std::string&)>& afterCaptured, const std::string& filename)
的实现。
温馨提示:答案为网友推荐,仅供参考