LayerBackedOpenGLView
Last Revision: | |
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.
Copyright © 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-04-11