Type Method

current()

Returns the current rendering context for the calling thread.

Declaration

class func current() -> EAGLContext?

Return Value

The current context for the calling thread.

See Also

Getting Context Information

var api: EAGLRenderingAPI

The OpenGL ES rendering API version supported by the context. (read-only)

Deprecated
var sharegroup: EAGLSharegroup

The context’s sharegroup object. (read-only)

Deprecated
var debugLabel: String?

A label describing the context for use in debugging.

Deprecated