Type Method

clearCurrentContext()

Sets the current context to nil.

Declaration

class func clearCurrentContext()

Discussion

Until you issue a subsequent call to the makeCurrentContext() method, OpenGL calls do nothing.

See Also

Managing the Current Context

class var current: NSOpenGLContext?

Returns the current OpenGL graphics context.

Deprecated
func makeCurrentContext()

Sets the receiver as the current OpenGL context object.

Deprecated