Gl.AttrsContext attributes.
module Power_preference : sig ... endPower preference enumeration.
The type for WebGLContextAttributes.
val v : ?alpha:bool -> ?depth:bool -> ?stencil:bool -> ?antialias:bool ->
?premultiplied_alpha:bool -> ?preserve_drawing_buffer:bool -> ?power_preference:Power_preference.t ->
?fail_if_major_performance_caveat:bool -> ?desynchronized:bool -> unit -> tv () are WebGL context attributes with the given properties and defaults.
val alpha : t -> boolval depth : t -> boolval stencil : t -> boolval antialias : t -> boolval premultiplied_alpha : t -> boolval preserve_drawing_buffer : t -> boolval power_preference : t -> Power_preference.tval desynchronized : t -> bool