OpenGL Distilled
5.3. Copying Pixels
OpenGL also provides a mechanism to copy pixel data from one framebuffer location to another. The glCopyPixels() command behaves as though your application called glReadPixels() to obtain a pixel rectangle and then called glDrawPixels() to render it back into the framebuffer.
|