Instance Method

makeCurrentContext()

Sets the receiver as the current OpenGL context object.

Declaration

func makeCurrentContext()

Discussion

Subsequent OpenGL calls are rendered into the context defined by the receiver.

See Also

Managing the Current Context

class func clearCurrentContext()

Sets the current context to nil.

Deprecated
class var current: NSOpenGLContext?

Returns the current OpenGL graphics context.

Deprecated