I'm currently grabbing a screenshot of an OpenGL ES game using glReadPixels
. The screenshots are great however the call to glReadPixels
causes a small stutter in the game.
glCopyTexImage2D
has been suggested as a more efficient replacement for glReadPixels
. How does glCopyTexImage2D
work? For some context I'm using this Apple method.
I'm relatively new to OpenGL so any help is much appreciated :-)