Version: 1.0

Posted: 2007-06-12

Build Requirements: Xcode 3.0, Mac OS X 10.5

Runtime Requirements: Mac OS X 10.5

View Source Code:

Download Sample Code (“LayerBackedOpenGLView.zip”, 653.7K)



Description

The ability to render a Cocoa view hierarchy as a Core Animation layer tree opens the possibility of freely combining disparate types of content. This sample provides a simple example of one such combination that is now becoming possible: hosting Cocoa controls as subviews of an NSOpenGLView.

This sample is a part of - WWDC 2007 Session 210, "Building Animated Cocoa User Interfaces"

Document Revision History

Date Notes
2007-06-12"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.