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