Mac OS X Reference Library Apple Developer
Search

LayerBackedOpenGLView

Last Revision:
Version 1.0, 2007-06-12
"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.
Build Requirements:
Xcode 3.0, Mac OS X 10.5
Runtime Requirements:
Mac OS X 10.5

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"




Last updated: 2007-06-12

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