Class type WebGL.contextAttributes

5.2 WebGLContextAttributes

method alpha : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method depth : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method stencil : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method antialias : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method premultipliedAlpha : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method preserveDrawingBuffer : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method preferLowPowerToHighPerformance : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop

Removed from the specification, superseded by powerPreference.

method failIfMajorPerformanceCaveat : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method powerPreference : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop

"default", "low-power" or "high-performance".

method desynchronized : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method xrCompatible : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop