An object that represents an OpenGL graphics context, into which all OpenGL calls are rendered.
- macOS 10.0–10.14Deprecated
An OpenGL context is created using an
NSOpenobject that specifies the context’s buffer types and other attributes. A context can be full-screen, offscreen, or associated with an
NSView object. A context draws into its drawable object, which is the frame buffer that is the target of OpenGL drawing operations.
NSOpen object wraps a low-level, platform-specific Core OpenGL (CGL) context. Your application can retrieve the CGL context by calling the
CGLContext method. For more information on the underling CGL context, see CGL.