package js_of_ocaml
Module Js_of_ocaml.WebGLSource
WebGL binding
5.1 Types
5.2 WebGLContextAttributes
5.13.1 Attributes
5.14 WebGLContextEvent
Get a context
Source
val getContextWithAttributes :
Dom_html.canvasElement Js.t ->
contextAttributes Js.t ->
renderingContext Js.t Js.opt