Type Property

current

Returns the current OpenGL graphics context.

Declaration

class var current: NSOpenGLContext? { get }

Return Value

The current OpenGL graphics context, or nil if no such object has been set.

See Also

Managing the Current Context

class func clearCurrentContext()

Sets the current context to nil.

Deprecated
func makeCurrentContext()

Sets the receiver as the current OpenGL context object.

Deprecated