One Logo Pool Ball
OpenGLES · IOS API REFERENCE

EAGLContext

class · iOS 2.0+ · Deprecated in iOS 12.0 · SDK 27.1

class EAGLContext

Members (14)

static · iOS 2.0+ · Deprecated in iOS 12.0

current

TypeScript
static current(): (EAGLContext) | null
Swift declaration
class func current() -> EAGLContext?
static · iOS 2.0+ · Deprecated in iOS 12.0

setCurrent

TypeScript
static setCurrent(context?: (EAGLContext) | null): boolean
Swift declaration
class func setCurrent(_ context: EAGLContext?) -> Bool
init · iOS 2.0+ · Deprecated in iOS 12.0

init

TypeScript
static initApi(api: EAGLRenderingAPI): (EAGLContext) | null
Swift declaration
convenience init?(api: EAGLRenderingAPI)
init · iOS 2.0+ · Deprecated in iOS 12.0

init

TypeScript
static initApiSharegroup(api: EAGLRenderingAPI, sharegroup: EAGLSharegroup): (EAGLContext) | null
Swift declaration
init?(api: EAGLRenderingAPI, sharegroup: EAGLSharegroup)
method · iOS 2.0+ · Deprecated in iOS 12.0

presentRenderbuffer

TypeScript
presentRenderbuffer(target: number): boolean
Swift declaration
func presentRenderbuffer(_ target: Int) -> Bool
method · iOS 2.0+ · Deprecated in iOS 12.0

presentRenderbuffer

TypeScript
presentRenderbufferAfterMinimumDuration(target: number, duration: number): boolean
Swift declaration
func presentRenderbuffer(_ target: Int, afterMinimumDuration duration: CFTimeInterval) -> Bool
method · iOS 2.0+ · Deprecated in iOS 12.0

presentRenderbuffer

TypeScript
presentRenderbufferAtTime(target: number, presentationTime: number): boolean
Swift declaration
func presentRenderbuffer(_ target: Int, atTime presentationTime: CFTimeInterval) -> Bool
method · iOS 2.0+ · Deprecated in iOS 12.0

renderbufferStorage

TypeScript
renderbufferStorage(target: number, drawable?: (SDKHandle) | null): boolean
Swift declaration
func renderbufferStorage(_ target: Int, from drawable: (any EAGLDrawable)?) -> Bool
get · iOS 2.0+ · Deprecated in iOS 12.0

api

TypeScript
get api(): EAGLRenderingAPI
Swift declaration
var api: EAGLRenderingAPI { get }
get · iOS 6.0+ · Deprecated in iOS 12.0

debugLabel

TypeScript
get debugLabel(): (string) | null
Swift declaration
var debugLabel: String? { get set }
set · iOS 6.0+ · Deprecated in iOS 12.0

debugLabel

TypeScript
set debugLabel(value: (string) | null)
Swift declaration
var debugLabel: String? { get set }
get · iOS 7.1+ · Deprecated in iOS 12.0

isMultiThreaded

TypeScript
get isMultiThreaded(): boolean
Swift declaration
var isMultiThreaded: Bool { get set }
set · iOS 7.1+ · Deprecated in iOS 12.0

isMultiThreaded

TypeScript
set isMultiThreaded(value: boolean)
Swift declaration
var isMultiThreaded: Bool { get set }
get · iOS 2.0+ · Deprecated in iOS 12.0

sharegroup

TypeScript
get sharegroup(): EAGLSharegroup
Swift declaration
var sharegroup: EAGLSharegroup { get }

Skipped declarations

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)

All OpenGLES types →