← Docs
kotlin-stdlib / org.khronos.webgl / WebGLContextAttributes

WebGLContextAttributes

JS
1.1
fun WebGLContextAttributes (
alpha : Boolean ? = true ,
depth : Boolean ? = true ,
stencil : Boolean ? = false ,
antialias : Boolean ? = true ,
premultipliedAlpha : Boolean ? = true ,
preserveDrawingBuffer : Boolean ? = false ,
preferLowPowerToHighPerformance : Boolean ? = false ,
failIfMajorPerformanceCaveat : Boolean ? = false
) : WebGLContextAttributes

(source)
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .