Type Property

currentContext

Returns the current OpenGL graphics context.

Declaration

@property(class, readonly, strong) NSOpenGLContext *currentContext;

Return Value

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

See Also

Managing the Current Context

+ clearCurrentContext

Sets the current context to nil.

Deprecated
- makeCurrentContext

Sets the receiver as the current OpenGL context object.

Deprecated