源码与继承
成员目录8
构造函数
方法
setActive
setActive(active: boolean): boolean
静态getActiveContext
getActiveContext(): undefined | Readonly<Pick<Context, "getSettings">> 返回值
undefined | Readonly<Pick<Context, "getSettings">> 源码与继承
静态getActiveContextId
getActiveContextId(): bigint
静态getFunction
getFunction(name: string): undefined | bigint
静态isExtensionAvailable
isExtensionAvailable(name: string): boolean
符号成员
只读[graphicsNative]
"[graphicsNative]": NativeGraphicsHandle<"contextResource">
源码与继承
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
由原生端拥有的 OpenGL 上下文;激活状态仍按原生线程区分。