A view that displays OpenGL content in a view.
- macOS 10.0+
NSOpen object maintains an
NSOpen object into which OpenGL calls can be rendered. The view provides methods for accessing and managing the
NSOpen objects, as well as notifications of visible region changes.
NSOpen object cannot have subviews. You can, however, divide a single
NSOpen into multiple rendering areas using the
When creating an
NSOpen object in Interface Builder, you use the inspector window to specify the pixel format attributes you want for the view. Only those attributes listed in the Interface Builder inspector are set when the view is instantiated.