Gl.AttrsSourceContext attributes.
Power 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.