Mac OS X Reference Library Apple Developer
Search

BoingX

Last Revision:
Version 1.2, 2007-11-06
Minor bug fix and cosmetic changes.
(Full Revision History)
Build Requirements:
Xcode 2.x
Runtime Requirements:
Mac OS X Quartz Extreme, Mac OS X 10.2 or later.

This demo shows how to use Quartz Extreme to provide borderless OpenGL content on the desktop. The code is fairly straightforward, and uses the NSOpenGLCPSurfaceOpacity parameter to mark the view as being transparent. Pressing 't' will fade the background and allow the ball to bounce freely at the bottom of the desktop.




Last updated: 2007-11-06

Did this document help you? Yes It's good, but... Not helpful...