WebGLContextAttributes

inline 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)

Platform and version requirements: JS