Instance Method

clearGLContext()

Releases the NSOpenGLContext object associated with the view.

Declaration

func clearGLContext()

Discussion

If necessary, this method calls the clearDrawable() method of the context object before releasing it.

See Also

Managing the NSOpenGLContext

func prepareOpenGL()

Used by subclasses to initialize OpenGL state.

Deprecated
var openGLContext: NSOpenGLContext?

The NSOpenGLContext object associated with the receiver.

Deprecated