openGLContext(for:)
Returns the OpenGL context to use for the requested pixel format.
Declaration
func openGLContext(for pixelFormat: NSOpenGLPixelFormat) -> NSOpenGLContextParameters
- pixelFormat:
The pixel format.
Return Value
An autoreleased NSOpenGLContext.