NSOpenGLPixelFormat
An object that specifies the types of buffers and other attributes of the OpenGL context.
Declaration
class NSOpenGLPixelFormatOverview
To render with OpenGL into an NSOpenGLContext, you must specify the context’s pixel format.
Every NSOpenGLPixelFormat object wraps a low-level, platform-specific Core OpenGL (CGL) pixel format object. Your application can retrieve the CGL pixel format object by calling the cglPixelFormatObj method. For more information on the underling CGL pixel format object, see CGL.