Module Js_of_ocaml__WebGL
WebGL binding
type sizei= inttype sizeiptr= inttype intptr= inttype uint= inttype clampf= floattype voidtype clearBufferMask= inttype beginModetype blendingFactortype blendModetype bufferTargettype bufferUsagetype cullFaceModetype depthFunctiontype enableCaptype errorCodetype frontFaceDirtype hintTargettype hintModetype textureUnit= inttype 'a pixelStoreParamtype stencilOptype fbTargettype attachmentPointtype rbTargettype texTargettype 'a parametertype 'a bufferParametertype 'a vertexAttribParamtype vertexAttribPointerParamtype 'a attachParamtype framebufferStatustype 'a renderbufferParamtype formattype pixelFormattype pixelTypetype 'a texParamtype dataTypetype shaderTypetype 'a programParamtype 'a shaderParamtype textureFiltertype wrapModetype texFiltertype uniformTypetype colorspaceConversiontype shaderPrecisionTypetype objectType
class type contextAttributes = object ... end5.2 WebGLContextAttributes
val defaultContextAttributes : contextAttributes Js_of_ocaml.Js.t
type buffertype framebuffertype programtype renderbuffertype shadertype texturetype 'a uniformLocation
class type activeInfo = object ... endclass type shaderPrecisionFormat = object ... endclass type renderingContext = object ... endclass type contextEvent = object ... endmodule Event : sig ... endval getContext : Js_of_ocaml.Dom_html.canvasElement Js_of_ocaml.Js.t -> renderingContext Js_of_ocaml.Js.t Js_of_ocaml.Js.optval getContextWithAttributes : Js_of_ocaml.Dom_html.canvasElement Js_of_ocaml.Js.t -> contextAttributes Js_of_ocaml.Js.t -> renderingContext Js_of_ocaml.Js.t Js_of_ocaml.Js.opt