Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
BoingX
Last Revision: | |
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.
Copyright © 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-11-06