LayerBackedOpenGLView

Last Revision:
Version 1.1, 2013-04-11
Fixed texture issues.
(Full Revision History)
Build Requirements:
OS X 10.6 or later, Xcode 3.2 or later
Runtime Requirements:
OS X 10.6 or later

The ability to render a Cocoa view hierarchy as a Core Animation layer tree opens the possibility of freely combining disparate types of content in ways heretofore difficult. This sample provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView by making the OpenGL view layer-backed.