current
TypeScriptstatic current(): (EAGLContext) | nullSwift declarationclass func current() -> EAGLContext?class · iOS 2.0+ · Deprecated in iOS 12.0 · SDK 27.1
class EAGLContextstatic current(): (EAGLContext) | nullSwift declarationclass func current() -> EAGLContext?static setCurrent(context?: (EAGLContext) | null): booleanSwift declarationclass func setCurrent(_ context: EAGLContext?) -> Boolstatic initApi(api: EAGLRenderingAPI): (EAGLContext) | nullSwift declarationconvenience init?(api: EAGLRenderingAPI)static initApiSharegroup(api: EAGLRenderingAPI, sharegroup: EAGLSharegroup): (EAGLContext) | nullSwift declarationinit?(api: EAGLRenderingAPI, sharegroup: EAGLSharegroup)presentRenderbuffer(target: number): booleanSwift declarationfunc presentRenderbuffer(_ target: Int) -> BoolpresentRenderbufferAfterMinimumDuration(target: number, duration: number): booleanSwift declarationfunc presentRenderbuffer(_ target: Int, afterMinimumDuration duration: CFTimeInterval) -> BoolpresentRenderbufferAtTime(target: number, presentationTime: number): booleanSwift declarationfunc presentRenderbuffer(_ target: Int, atTime presentationTime: CFTimeInterval) -> BoolrenderbufferStorage(target: number, drawable?: (SDKHandle) | null): booleanSwift declarationfunc renderbufferStorage(_ target: Int, from drawable: (any EAGLDrawable)?) -> Boolget api(): EAGLRenderingAPISwift declarationvar api: EAGLRenderingAPI { get }get debugLabel(): (string) | nullSwift declarationvar debugLabel: String? { get set }set debugLabel(value: (string) | null)Swift declarationvar debugLabel: String? { get set }get isMultiThreaded(): booleanSwift declarationvar isMultiThreaded: Bool { get set }set isMultiThreaded(value: boolean)Swift declarationvar isMultiThreaded: Bool { get set }get sharegroup(): EAGLSharegroupSwift declarationvar sharegroup: EAGLSharegroup { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
EAGLContext.init()
inherited init: cannot prove legal (class declares 4 custom initializers)