Luxar Viewer API Documentation - v2026.9.22
GitHub
Preparing search index...
config/sections/webgl/types
WebGLContextAttributes
Interface WebGLContextAttributes
WebGL context attributes
interface
WebGLContextAttributes
{
alpha
:
boolean
;
antialias
:
boolean
;
depth
:
boolean
;
stencil
:
boolean
;
powerPreference
:
"high-performance"
|
"low-power"
|
"default"
;
preserveDrawingBuffer
:
boolean
;
desynchronized
:
boolean
;
premultipliedAlpha
:
boolean
;
failIfMajorPerformanceCaveat
:
boolean
;
}
Index
Properties
alpha
antialias
depth
stencil
power
Preference
preserve
Drawing
Buffer
desynchronized
premultiplied
Alpha
fail
If
Major
Performance
Caveat
Properties
alpha
alpha
:
boolean
antialias
antialias
:
boolean
depth
depth
:
boolean
stencil
stencil
:
boolean
power
Preference
powerPreference
:
"high-performance"
|
"low-power"
|
"default"
preserve
Drawing
Buffer
preserveDrawingBuffer
:
boolean
desynchronized
desynchronized
:
boolean
premultiplied
Alpha
premultipliedAlpha
:
boolean
fail
If
Major
Performance
Caveat
failIfMajorPerformanceCaveat
:
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
alpha
antialias
depth
stencil
power
Preference
preserve
Drawing
Buffer
desynchronized
premultiplied
Alpha
fail
If
Major
Performance
Caveat
GitHub
Luxar Viewer API Documentation - v2026.9.22
Loading...
WebGL context attributes