Contents

openGLContext

The Nsopenglcontext object associated with the receiver.

Declaration

var openGLContext: NSOpenGLContext? { get set }

Discussion

If the receiver has no associated context object, a new NSOpenGLContext object is created. The new object is initialized with the receiver’s pixel format information.

See Also

Related Documentation

Managing the NSOpenGLContext