Instance Property

openGLContext

The NSOpenGLContext object associated with the receiver.

Declaration

@property(strong) NSOpenGLContext *openGLContext;

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

Managing the NSOpenGLContext

- prepareOpenGL

Used by subclasses to initialize OpenGL state.

Deprecated
- clearGLContext

Releases the NSOpenGLContext object associated with the view.

Deprecated