Interface: WebGLContextAttributes
Defined in: types/desktop-engine.d.ts:1257
The attributes the context really has (a plain object)
Properties
alpha
readonly alpha: boolean;Defined in: types/desktop-engine.d.ts:1259
The alpha option of getContext (true unless alpha: false)
antialias
readonly antialias: boolean;Defined in: types/desktop-engine.d.ts:1265
Whether the drawing buffer is multisampled (the antialias option of getContext, when supported)
depth
readonly depth: boolean;Defined in: types/desktop-engine.d.ts:1261
Always true: the drawing buffer has a depth buffer
desynchronized
readonly desynchronized: boolean;Defined in: types/desktop-engine.d.ts:1273
Always false
failIfMajorPerformanceCaveat
readonly failIfMajorPerformanceCaveat: boolean;Defined in: types/desktop-engine.d.ts:1271
Always false
powerPreference
readonly powerPreference: "default";Defined in: types/desktop-engine.d.ts:1275
Always "default"
premultipliedAlpha
readonly premultipliedAlpha: boolean;Defined in: types/desktop-engine.d.ts:1267
Always true: the canvas is composited as premultiplied alpha
preserveDrawingBuffer
readonly preserveDrawingBuffer: boolean;Defined in: types/desktop-engine.d.ts:1269
Always false: the drawing buffer is cleared after being presented
stencil
readonly stencil: boolean;Defined in: types/desktop-engine.d.ts:1263
Always true: the drawing buffer has an 8 bit stencil buffer
