|
Version: 1.1 Posted: 2008-08-14 Build Requirements: Xcode 3.0 Runtime Requirements: Mac OS X 10.5 Download Sample (OpenGLScreenSnapshot.zip, 38.8K) |
||||||
DescriptionOpenGLScreenSnapshot is a Mac OS X application which demonstrates how to use OpenGL to grab a "snapshot" of the screen and save it to a image file on disk. This sample uses the OpenGL glReadPixels function to get the pixel data for the screen. This technique is actually very simple to use, and is sufficient for grabbing a single or a very few frames. Document Revision History
|
|