Interface: WebGLContextAttributes
Defined in: types/desktop-engine.d.ts:1836
The attributes the context really has (a plain object)
Properties
alpha
readonly alpha: boolean;Defined in: types/desktop-engine.d.ts:1838
The alpha option of getContext (true unless alpha: false)
antialias
readonly antialias: boolean;Defined in: types/desktop-engine.d.ts:1844
Whether the drawing buffer is multisampled (the antialias option of getContext, when supported)
depth
readonly depth: boolean;Defined in: types/desktop-engine.d.ts:1840
Always true: the drawing buffer has a depth buffer
desynchronized
readonly desynchronized: boolean;Defined in: types/desktop-engine.d.ts:1852
Always false
failIfMajorPerformanceCaveat
readonly failIfMajorPerformanceCaveat: boolean;Defined in: types/desktop-engine.d.ts:1850
Always false
powerPreference
readonly powerPreference: "default";Defined in: types/desktop-engine.d.ts:1854
Always "default"
premultipliedAlpha
readonly premultipliedAlpha: boolean;Defined in: types/desktop-engine.d.ts:1846
Always true: the canvas is composited as premultiplied alpha
preserveDrawingBuffer
readonly preserveDrawingBuffer: boolean;Defined in: types/desktop-engine.d.ts:1848
Always false: the drawing buffer is cleared after being presented
stencil
readonly stencil: boolean;Defined in: types/desktop-engine.d.ts:1842
Always true: the drawing buffer has an 8 bit stencil buffer
