C 言語関数:glReadPixels サンプルコード

サンプルコードを検索した結果です。


TITLE : glReadPixels from a RenderTexture - Unity Answers
glReadPixels(0, 0, textureWidth, textureHeight, GL_RGBA, GL_FLOAT, data);.......
http://answers.unity3d.com/questions/1305191/glreadpixels-from-a-rendertexture.html


TITLE : glReadPixels from a RenderTexture - Unity Answers
glReadPixels(readPixelsX, readPixelsY, readPixelsWidth, readPixelsHeight, readPixelsFormat, readPixelsType, readPixelsDestination);.......
http://answers.unity3d.com/questions/1305191/glreadpixels-from-a-rendertexture.html
Googleで検索

https://www.google.co.jp/#q=glReadPixels