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.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 : Dom_html.canvasElement Js.t -> renderingContext Js.t Js.optval getContextWithAttributes : Dom_html.canvasElement Js.t -> contextAttributes Js.t -> renderingContext Js.t Js.opt