Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing back buffer



Is there any hack to get the ptr and rowbytes to the OpenGL back buffer?

Typically, the back buffer is not even in memory you can access. You can get/set the buffer using Read/DrawPixels(), but depending on what you want, this will probably be too slow. ReadPixels() is mostly used for screenshots. What you should do very much depends on what effect you're trying to achieve...?

Cheers,
Tim Wayper
_______________________________________________
mac-opengl mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-opengl
Do not post admin requests to the list. They will be ignored.

References: 
 >Accessing back buffer (From: Pierre-Olivier Latour <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.