Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
Kotlin libraries
1.3
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JS
switch theme
search in API
kotlin-stdlib
/
org.khronos.webgl
/
WebGLContextAttributes
Web
GLContext
Attributes
JS
external
interface
WebGLContextAttributes
(
source
)
Since Kotlin
1.1
Members
Properties
alpha
Link copied to clipboard
JS
open
var
alpha
:
Boolean
?
Since Kotlin
1.1
antialias
Link copied to clipboard
JS
open
var
antialias
:
Boolean
?
Since Kotlin
1.1
depth
Link copied to clipboard
JS
open
var
depth
:
Boolean
?
Since Kotlin
1.1
fail
If
Major
Performance
Caveat
Link copied to clipboard
JS
open
var
failIfMajorPerformanceCaveat
:
Boolean
?
Since Kotlin
1.1
prefer
Low
Power
To
High
Performance
Link copied to clipboard
JS
open
var
preferLowPowerToHighPerformance
:
Boolean
?
Since Kotlin
1.1
premultiplied
Alpha
Link copied to clipboard
JS
open
var
premultipliedAlpha
:
Boolean
?
Since Kotlin
1.1
preserve
Drawing
Buffer
Link copied to clipboard
JS
open
var
preserveDrawingBuffer
:
Boolean
?
Since Kotlin
1.1
stencil
Link copied to clipboard
JS
open
var
stencil
:
Boolean
?
Since Kotlin
1.1
Thanks for your feedback!
Was this page helpful?
Yes
No
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or
contact our support
.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using
third-party services
for this purpose in accordance with the
JetBrains Privacy Policy
.