跳转到内容

glContextAttributes

此内容尚不支持你的语言。

glContextAttributes(preserveDrawingBuffer?): WebGLContextAttributes

Defined in: runtime/packagedRuntime.ts:185

The attributes every host creates the engine’s WebGL2 context with. WebGL gives no stencil buffer unless asked, and sprite masks draw through one. preserveDrawingBuffer is for a harness that reads a composited frame back.

boolean = false

WebGLContextAttributes