# Class type WebGL.renderingContext

    class type renderingContext = object .. end

    method canvas : Dom_html.canvasElement Js.t Js.readonly_prop

5.13.1 Attributes

    method drawingBufferWidth : sizei Js.readonly_prop

    method drawingBufferHeight : sizei Js.readonly_prop

    method getContextAttributes : contextAttributes Js.t Js.meth

5.13.2 Getting information about the context

    method activeTexture : textureUnit -> unit Js.meth

5.13.3 Setting and getting state

    method blendColor : clampf -> clampf -> clampf -> clampf -> unit Js.meth

    method blendEquation : blendMode -> unit Js.meth

    method blendEquationSeparate : blendMode -> blendMode -> unit Js.meth

    method blendFunc : blendingFactor -> blendingFactor -> unit Js.meth

    method blendFuncSeparate : blendingFactor ->
           blendingFactor ->
           blendingFactor -> blendingFactor -> unit Js.meth

    method clearColor : clampf -> clampf -> clampf -> clampf -> unit Js.meth

    method clearDepth : clampf -> unit Js.meth

    method clearStencil : int -> unit Js.meth

    method colorMask : bool Js.t -> bool Js.t -> bool Js.t -> bool Js.t -> unit Js.meth

    method cullFace : cullFaceMode -> unit Js.meth

    method depthFunc : depthFunction -> unit Js.meth

    method depthMask : bool Js.t -> unit Js.meth

    method depthRange : clampf -> clampf -> unit Js.meth

    method disable : enableCap -> unit Js.meth

    method enable : enableCap -> unit Js.meth

    method frontFace : frontFaceDir -> unit Js.meth

    method getParameter : 'a. 'a parameter -> 'a Js.meth

    method getError : errorCode Js.meth

    method hint : hintTarget -> hintMode -> unit Js.meth

    method isEnabled : enableCap -> bool Js.t Js.meth

    method lineWidth : float -> unit Js.meth

    method pixelStorei : 'a. 'a pixelStoreParam -> 'a -> unit Js.meth

    method polygonOffset : float -> float -> unit Js.meth

    method sampleCoverage : clampf -> bool Js.t -> unit Js.meth

    method stencilFunc : depthFunction -> int -> uint -> unit Js.meth

    method stencilFuncSeparate : cullFaceMode ->
           depthFunction -> int -> uint -> unit Js.meth

    method stencilMask : uint -> unit Js.meth

    method stencilMaskSeparate : cullFaceMode -> uint -> unit Js.meth

    method stencilOp : stencilOp -> stencilOp -> stencilOp -> unit Js.meth

    method stencilOpSeparate : cullFaceMode ->
           stencilOp -> stencilOp -> stencilOp -> unit Js.meth

    method scissor : int -> int -> sizei -> sizei -> unit Js.meth

5.13.4 Viewing and clipping

    method viewport : int -> int -> sizei -> sizei -> unit Js.meth

    method bindBuffer : bufferTarget -> buffer Js.t -> unit Js.meth

5.13.5 Buffer objects

    method bindBuffer_ : bufferTarget Js.opt -> buffer Js.t -> unit Js.meth

    method bufferData_create : bufferTarget -> sizeiptr -> bufferUsage -> unit Js.meth

    method bufferData : 'b.
             bufferTarget ->
             (#Typed_array.arrayBufferView as 'b) Js.t ->
             bufferUsage -> unit Js.meth

    method bufferData_raw : bufferTarget ->
           Typed_array.arrayBuffer Js.t -> bufferUsage -> unit Js.meth

    method bufferSubData : 'c.
             bufferTarget ->
             intptr -> (#Typed_array.arrayBufferView as 'c) Js.t -> unit Js.meth

    method bufferSubData_raw : bufferTarget ->
           intptr -> Typed_array.arrayBuffer Js.t -> unit Js.meth

    method createBuffer : buffer Js.t Js.meth

    method deleteBuffer : buffer Js.t -> unit Js.meth

    method getBufferParameter : bufferTarget -> bufferParameter -> int Js.meth

    method isBuffer : buffer Js.t -> bool Js.t Js.meth

    method bindFramebuffer : fbTarget -> framebuffer Js.t -> unit Js.meth

5.13.6 Framebuffer objects

    method bindFramebuffer_ : fbTarget Js.opt -> framebuffer Js.t -> unit Js.meth

    method checkFramebufferStatus : fbTarget -> framebufferStatus Js.meth

    method createFramebuffer : framebuffer Js.t Js.meth

    method deleteFramebuffer : framebuffer Js.t -> unit Js.meth

    method framebufferRenderbuffer : fbTarget ->
           attachmentPoint ->
           rbTarget -> renderbuffer Js.t -> unit Js.meth

    method framebufferTexture2D : fbTarget ->
           attachmentPoint ->
           texTarget -> texture -> int -> unit Js.meth

    method getFramebufferAttachmentParameter : 'a.
             fbTarget ->
             attachmentPoint -> 'a attachParam -> 'a Js.meth

    method isFramebuffer : framebuffer Js.t -> bool Js.t Js.meth

    method bindRenderbuffer : rbTarget -> renderbuffer Js.t -> unit Js.meth

5.13.7 Renderbuffer objects

    method bindRenderbuffer_ : rbTarget Js.opt -> renderbuffer Js.t -> unit Js.meth

    method createRenderbuffer : renderbuffer Js.t Js.meth

    method deleteRenderbuffer : renderbuffer Js.t -> unit Js.meth

    method getRenderbufferParameter : rbTarget -> renderbufferParam -> int Js.meth

    method isRenderbuffer : renderbuffer Js.t -> bool Js.t Js.meth

    method renderbufferStorage : rbTarget -> format -> sizei -> sizei -> unit Js.meth

    method bindTexture : texTarget -> texture Js.t -> unit Js.meth

5.13.8 Texture objects

    method bindTexture_ : texTarget Js.opt -> texture Js.t -> unit Js.meth

    method copyTexImage2D : texTarget ->
           int ->
           pixelFormat ->
           int -> int -> sizei -> sizei -> int -> unit Js.meth

    method copyTexSubImage2D : texTarget ->
           int -> int -> int -> int -> int -> sizei -> sizei -> unit Js.meth

    method createTexture : texture Js.t Js.meth

    method deleteTexture : texture Js.t -> unit Js.meth

    method generateMipmap : texTarget -> unit Js.meth

    method getTexParameter : 'a. texTarget -> 'a texParam -> 'a Js.meth

    method isTexture : texture Js.t -> bool Js.t Js.meth

    method texImage2D_fromView : 'd.
             texTarget ->
             int ->
             pixelFormat ->
             sizei ->
             sizei ->
             int ->
             pixelFormat ->
             pixelType -> (#Typed_array.arrayBufferView as 'd) Js.t -> unit

    method texImage2D_fromImageData : texTarget ->
           int ->
           pixelFormat ->
           pixelFormat ->
           pixelType -> Dom_html.imageData Js.t -> unit Js.meth

    method texImage2D_fromImage : texTarget ->
           int ->
           pixelFormat ->
           pixelFormat ->
           pixelType -> Dom_html.imageElement Js.t -> unit Js.meth

    method texImage2D_fromCanvas : texTarget ->
           int ->
           pixelFormat ->
           pixelFormat ->
           pixelType -> Dom_html.canvasElement Js.t -> unit Js.meth

    method texImage2D_fromVideo : texTarget ->
           int ->
           pixelFormat ->
           pixelFormat ->
           pixelType -> Dom_html.videoElement Js.t -> unit Js.meth

    method texParameteri : 'a. texTarget -> 'a texParam -> 'a -> unit Js.meth

    method texSubImage2D_fromView : 'e.
             texTarget ->
             int ->
             int ->
             int ->
             sizei ->
             sizei ->
             pixelFormat ->
             pixelType ->
             (#Typed_array.arrayBufferView as 'e) Js.t -> unit Js.meth

    method texSubImage2D_fromImageData : texTarget ->
           int ->
           int ->
           int ->
           pixelFormat ->
           pixelType -> Dom_html.imageData Js.t -> unit Js.meth

    method texSubImage2D_fromImage : texTarget ->
           int ->
           int ->
           int ->
           pixelFormat ->
           pixelType -> Dom_html.imageElement Js.t -> unit Js.meth

    method texSubImage2D_fromCanvas : texTarget ->
           int ->
           int ->
           int ->
           pixelFormat ->
           pixelType -> Dom_html.canvasElement Js.t -> unit Js.meth

    method texSubImage2D_fromVideo : texTarget ->
           int ->
           int ->
           int ->
           pixelFormat ->
           pixelType -> Dom_html.videoElement Js.t -> unit Js.meth

    method attachShader : program Js.t -> shader Js.t -> unit Js.meth

5.13.9 Programs and Shaders

    method bindAttribLocation : program Js.t -> uint -> Js.js_string Js.t -> unit Js.meth

    method compileShader : shader Js.t -> unit Js.meth

    method createProgram : program Js.t Js.meth

    method createShader : shaderType -> shader Js.t Js.meth

    method deleteProgram : program Js.t -> unit Js.meth

    method deleteShader : shader Js.t -> unit Js.meth

    method detachShader : program Js.t -> shader Js.t -> unit Js.meth

    method getAttachedShaders : program Js.t -> shader Js.t Js.js_array Js.t Js.meth

    method getProgramParameter : 'a. program Js.t -> 'a programParam -> 'a Js.meth

    method getProgramInfoLog : program Js.t -> Js.js_string Js.t Js.meth

    method getShaderParameter : 'a. shader Js.t -> 'a shaderParam -> 'a Js.meth

    method getShaderInfoLog : shader Js.t -> Js.js_string Js.t Js.meth

    method getShaderSource : shader Js.t -> Js.js_string Js.t Js.meth

    method isProgram : program Js.t -> bool Js.t Js.meth

    method isShader : shader Js.t -> bool Js.t Js.meth

    method linkProgram : program Js.t -> unit Js.meth

    method shaderSource : shader Js.t -> Js.js_string Js.t -> unit Js.meth

    method useProgram : program Js.t -> unit Js.meth

    method useProgram_ : program Js.t Js.opt -> unit Js.meth

    method validateProgram : program Js.t -> unit Js.meth

    method disableVertexAttribArray : uint -> unit Js.meth

5.13.10 Uniforms and attributes

    method enableVertexAttribArray : uint -> unit Js.meth

    method getActiveAttrib : program Js.t -> uint -> activeInfo Js.t Js.meth

    method getActiveUniform : program Js.t -> uint -> activeInfo Js.t Js.meth

    method getAttribLocation : program Js.t -> Js.js_string Js.t -> int Js.meth

    method getUniform : 'a 'b. program Js.t -> 'a uniformLocation Js.t -> 'b Js.meth

    method getUniformLocation : 'a.
             program Js.t ->
             Js.js_string Js.t -> 'a uniformLocation Js.t Js.meth

    method getVertexAttrib : 'a. uint -> 'a vertexAttribParam -> 'a Js.meth

    method getVertexAttribOffset : uint -> vertexAttribPointerParam -> sizeiptr Js.meth

    method uniform1f : float uniformLocation Js.t -> float -> unit Js.meth

    method uniform1fv_typed : float uniformLocation Js.t ->
           Typed_array.float32Array Js.t -> unit Js.meth

    method uniform1fv : float uniformLocation Js.t -> float Js.js_array Js.t -> unit Js.meth

    method uniform1i : int uniformLocation Js.t -> int -> unit Js.meth

    method uniform1iv_typed : int uniformLocation Js.t -> Typed_array.int32Array Js.t -> unit Js.meth

    method uniform1iv : int uniformLocation Js.t -> int Js.js_array Js.t -> unit Js.meth

    method uniform2f : [ `vec2 ] uniformLocation Js.t -> float -> float -> unit Js.meth

    method uniform2fv_typed : [ `vec2 ] uniformLocation Js.t ->
           Typed_array.float32Array Js.t -> unit Js.meth

    method uniform2fv : [ `vec2 ] uniformLocation Js.t ->
           float Js.js_array Js.t -> unit Js.meth

    method uniform2i : [ `ivec2 ] uniformLocation Js.t -> int -> int -> unit Js.meth

    method uniform2iv : [ `ivec2 ] uniformLocation Js.t -> int Js.js_array Js.t -> unit Js.meth

    method uniform2iv_typed : [ `ivec2 ] uniformLocation Js.t ->
           Typed_array.int32Array Js.t -> unit Js.meth

    method uniform3f : [ `vec3 ] uniformLocation Js.t ->
           float -> float -> float -> unit Js.meth

    method uniform3fv_typed : [ `vec3 ] uniformLocation Js.t ->
           Typed_array.float32Array Js.t -> unit Js.meth

    method uniform3fv : [ `vec3 ] uniformLocation Js.t ->
           float Js.js_array Js.t -> unit Js.meth

    method uniform3i : [ `ivec3 ] uniformLocation Js.t -> int -> int -> int -> unit Js.meth

    method uniform3iv : [ `ivec3 ] uniformLocation Js.t -> int Js.js_array Js.t -> unit Js.meth

    method uniform3iv_typed : [ `ivec3 ] uniformLocation Js.t ->
           Typed_array.int32Array Js.t -> unit Js.meth

    method uniform4f : [ `vec4 ] uniformLocation Js.t ->
           float -> float -> float -> float -> unit Js.meth

    method uniform4fv_typed : [ `vec4 ] uniformLocation Js.t ->
           Typed_array.float32Array Js.t -> unit Js.meth

    method uniform4fv : [ `vec4 ] uniformLocation Js.t ->
           float Js.js_array Js.t -> unit Js.meth

    method uniform4i : [ `ivec4 ] uniformLocation Js.t ->
           int -> int -> int -> int -> unit Js.meth

    method uniform4iv : [ `ivec4 ] uniformLocation Js.t -> int Js.js_array Js.t -> unit Js.meth

    method uniform4iv_typed : [ `ivec4 ] uniformLocation Js.t ->
           Typed_array.int32Array Js.t -> unit Js.meth

    method uniformMatrix2fv : [ `mat2 ] uniformLocation Js.t ->
           bool Js.t -> float Js.js_array Js.t -> unit Js.meth

    method uniformMatrix2fv_typed : [ `mat2 ] uniformLocation Js.t ->
           bool Js.t -> Typed_array.float32Array Js.t -> unit Js.meth

    method uniformMatrix3fv : [ `mat3 ] uniformLocation Js.t ->
           bool Js.t -> float Js.js_array Js.t -> unit Js.meth

    method uniformMatrix3fv_typed : [ `mat3 ] uniformLocation Js.t ->
           bool Js.t -> Typed_array.float32Array Js.t -> unit Js.meth

    method uniformMatrix4fv : [ `mat4 ] uniformLocation Js.t ->
           bool Js.t -> float Js.js_array Js.t -> unit Js.meth

    method uniformMatrix4fv_typed : [ `mat4 ] uniformLocation Js.t ->
           bool Js.t -> Typed_array.float32Array Js.t -> unit Js.meth

    method vertexAttrib1f : uint -> float -> unit Js.meth

    method vertexAttrib1fv : uint -> float Js.js_array Js.t -> unit Js.meth

    method vertexAttrib1fv_typed : uint -> Typed_array.float32Array Js.t -> unit Js.meth

    method vertexAttrib2f : uint -> float -> float -> unit Js.meth

    method vertexAttrib2fv : uint -> float Js.js_array Js.t -> unit Js.meth

    method vertexAttrib2fv_typed : uint -> Typed_array.float32Array Js.t -> unit Js.meth

    method vertexAttrib3f : uint -> float -> float -> float -> unit Js.meth

    method vertexAttrib3fv : uint -> float Js.js_array Js.t -> unit Js.meth

    method vertexAttrib3fv_typed : uint -> Typed_array.float32Array Js.t -> unit Js.meth

    method vertexAttrib4f : uint -> float -> float -> float -> float -> unit Js.meth

    method vertexAttrib4fv : uint -> float Js.js_array Js.t -> unit Js.meth

    method vertexAttrib4fv_typed : uint -> Typed_array.float32Array Js.t -> unit Js.meth

    method vertexAttribPointer : uint ->
           int ->
           dataType -> bool Js.t -> sizei -> intptr -> unit Js.meth

    method clear : clearBufferMask -> unit Js.meth

5.13.11 Writing to the drawing buffer

    method drawArrays : beginMode -> int -> sizei -> unit Js.meth

    method drawElements : beginMode ->
           sizei -> dataType -> intptr -> unit Js.meth

    method finish : unit Js.meth

    method flush : unit Js.meth

    method readPixels : 'f.
             int ->
             int ->
             sizei ->
             sizei ->
             pixelFormat ->
             pixelType ->
             (#Typed_array.arrayBufferView as 'f) Js.t -> unit Js.meth

5.13.12 Reading back pixels

    method isContextLost : bool Js.t Js.meth

5.13.13 Detecting context lost events

    method getSupportedExtensions : Js.js_string Js.t Js.js_array Js.t Js.meth

5.13.14 Detecting and enabling extensions

    method getExtension : 'a. Js.js_string Js.t -> 'a Js.t Js.meth

## Constants

    method _DEPTH_BUFFER_BIT_ : clearBufferMask Js.readonly_prop

    method _STENCIL_BUFFER_BIT_ : clearBufferMask Js.readonly_prop

    method _COLOR_BUFFER_BIT_ : clearBufferMask Js.readonly_prop

    method _POINTS : beginMode Js.readonly_prop

    method _LINES : beginMode Js.readonly_prop

    method _LINE_LOOP_ : beginMode Js.readonly_prop

    method _LINE_STRIP_ : beginMode Js.readonly_prop

    method _TRIANGLES : beginMode Js.readonly_prop

    method _TRIANGLE_STRIP_ : beginMode Js.readonly_prop

    method _TRIANGLE_FAN_ : beginMode Js.readonly_prop

    method _ZERO : blendingFactor Js.readonly_prop

    method _ONE : blendingFactor Js.readonly_prop

    method _SRC_COLOR_ : blendingFactor Js.readonly_prop

    method _ONE_MINUS_SRC_COLOR_ : blendingFactor Js.readonly_prop

    method _SRC_ALPHA_ : blendingFactor Js.readonly_prop

    method _ONE_MINUS_SRC_ALPHA_ : blendingFactor Js.readonly_prop

    method _DST_ALPHA_ : blendingFactor Js.readonly_prop

    method _ONE_MINUS_DST_ALPHA_ : blendingFactor Js.readonly_prop

    method _DST_COLOR_ : blendingFactor Js.readonly_prop

    method _ONE_MINUS_DST_COLOR_ : blendingFactor Js.readonly_prop

    method _SRC_ALPHA_SATURATE_ : blendingFactor Js.readonly_prop

    method _FUNC_ADD_ : blendMode Js.readonly_prop

    method _FUNC_SUBTRACT_ : blendMode Js.readonly_prop

    method _FUNC_REVERSE_SUBTRACT_ : blendMode Js.readonly_prop

    method _CONSTANT_COLOR_ : blendMode Js.readonly_prop

    method _ONE_MINUS_CONSTANT_COLOR_ : blendMode Js.readonly_prop

    method _CONSTANT_ALPHA_ : blendMode Js.readonly_prop

    method _ONE_MINUS_CONSTANT_ALPHA_ : blendMode Js.readonly_prop

    method _ARRAY_BUFFER_ : bufferTarget Js.readonly_prop

    method _ELEMENT_ARRAY_BUFFER_ : bufferTarget Js.readonly_prop

    method _STREAM_DRAW_ : bufferUsage Js.readonly_prop

    method _STATIC_DRAW_ : bufferUsage Js.readonly_prop

    method _DYNAMIC_DRAW_ : bufferUsage Js.readonly_prop

    method _FRONT : cullFaceMode Js.readonly_prop

    method _BACK : cullFaceMode Js.readonly_prop

    method _FRONT_AND_BACK_ : cullFaceMode Js.readonly_prop

    method _CULL_FACE_ : enableCap Js.readonly_prop

    method _BLEND : enableCap Js.readonly_prop

    method _DITHER : enableCap Js.readonly_prop

    method _STENCIL_TEST_ : enableCap Js.readonly_prop

    method _DEPTH_TEST_ : enableCap Js.readonly_prop

    method _SCISSOR_TEST_ : enableCap Js.readonly_prop

    method _POLYGON_OFFSET_FILL_ : enableCap Js.readonly_prop

    method _SAMPLE_ALPHA_TO_COVERAGE : enableCap Js.readonly_prop

    method _SAMPLE_COVERAGE : enableCap Js.readonly_prop

    method _NO_ERROR : errorCode Js.readonly_prop

    method _INVALID_ENUM : errorCode Js.readonly_prop

    method _INVALID_VALUE : errorCode Js.readonly_prop

    method _INVALID_OPERATION : errorCode Js.readonly_prop

    method _OUT_OF_MEMORY : errorCode Js.readonly_prop

    method _CONTEXT_LOST_WEBGL : errorCode Js.readonly_prop

    method _INVALID_FRAMEBUFFER_OPERATION_ : errorCode Js.readonly_prop

    method _CW : frontFaceDir Js.readonly_prop

    method _CCW : frontFaceDir Js.readonly_prop

    method _DONT_CARE : hintMode Js.readonly_prop

    method _FASTEST : hintMode Js.readonly_prop

    method _NICEST : hintMode Js.readonly_prop

    method _GENERATE_MIPMAP_HINT_ : hintTarget Js.readonly_prop

    method _BLEND_EQUATION_ : blendMode parameter Js.readonly_prop

    method _BLEND_EQUATION_RGB_ : blendMode parameter Js.readonly_prop

    method _BLEND_EQUATION_ALPHA_ : blendMode parameter Js.readonly_prop

    method _BLEND_DST_RGB_ : blendingFactor parameter Js.readonly_prop

    method _BLEND_SRC_RGB_ : blendingFactor parameter Js.readonly_prop

    method _BLEND_DST_ALPHA_ : blendingFactor parameter Js.readonly_prop

    method _BLEND_SRC_ALPHA_ : blendingFactor parameter Js.readonly_prop

    method _BLEND_COLOR_ : Typed_array.float32Array Js.t parameter Js.readonly_prop

    method _ARRAY_BUFFER_BINDING_ : buffer Js.t Js.opt parameter Js.readonly_prop

    method _ELEMENT_ARRAY_BUFFER_BINDING_ : buffer Js.t Js.opt parameter Js.readonly_prop

    method _CULL_FACE_PARAM : bool Js.t parameter Js.readonly_prop

    method _BLEND_PARAM : bool Js.t parameter Js.readonly_prop

    method _DITHER_PARAM : bool Js.t parameter Js.readonly_prop

    method _STENCIL_TEST_PARAM : bool Js.t parameter Js.readonly_prop

    method _DEPTH_TEST_PARAM : bool Js.t parameter Js.readonly_prop

    method _SCISSOR_TEST_PARAM : bool Js.t parameter Js.readonly_prop

    method _POLYGON_OFFSET_FILL_PARAM : bool Js.t parameter Js.readonly_prop

    method _LINE_WIDTH_ : float parameter Js.readonly_prop

    method _ALIASED_POINT_SIZE_RANGE_ : Typed_array.float32Array Js.t parameter Js.readonly_prop

    method _ALIASED_LINE_WIDTH_RANGE_ : Typed_array.float32Array Js.t parameter Js.readonly_prop

    method _CULL_FACE_MODE_ : cullFaceMode parameter Js.readonly_prop

    method _FRONT_FACE_ : frontFaceDir parameter Js.readonly_prop

    method _DEPTH_RANGE_ : Typed_array.float32Array Js.t parameter Js.readonly_prop

    method _DEPTH_WRITEMASK_ : bool Js.t parameter Js.readonly_prop

    method _DEPTH_CLEAR_VALUE_ : float parameter Js.readonly_prop

    method _DEPTH_FUNC_ : depthFunction parameter Js.readonly_prop

    method _STENCIL_CLEAR_VALUE_ : int parameter Js.readonly_prop

    method _STENCIL_FUNC_ : int parameter Js.readonly_prop

    method _STENCIL_FAIL_ : int parameter Js.readonly_prop

    method _STENCIL_PASS_DEPTH_FAIL_ : int parameter Js.readonly_prop

    method _STENCIL_PASS_DEPTH_PASS_ : int parameter Js.readonly_prop

    method _STENCIL_REF_ : int parameter Js.readonly_prop

    method _STENCIL_VALUE_MASK_ : int parameter Js.readonly_prop

    method _STENCIL_WRITEMASK_ : int parameter Js.readonly_prop

    method _STENCIL_BACK_FUNC_ : int parameter Js.readonly_prop

    method _STENCIL_BACK_FAIL_ : int parameter Js.readonly_prop

    method _STENCIL_BACK_PASS_DEPTH_FAIL_ : int parameter Js.readonly_prop

    method _STENCIL_BACK_PASS_DEPTH_PASS_ : int parameter Js.readonly_prop

    method _STENCIL_BACK_REF_ : int parameter Js.readonly_prop

    method _STENCIL_BACK_VALUE_MASK_ : int parameter Js.readonly_prop

    method _STENCIL_BACK_WRITEMASK_ : int parameter Js.readonly_prop

    method _VIEWPORT : Typed_array.int32Array Js.t parameter Js.readonly_prop

    method _SCISSOR_BOX_ : Typed_array.int32Array Js.t parameter Js.readonly_prop

    method _COLOR_CLEAR_VALUE_ : Typed_array.float32Array Js.t parameter Js.readonly_prop

    method _COLOR_WRITEMASK_ : bool Js.t Js.js_array Js.t parameter Js.readonly_prop

    method _UNPACK_ALIGNMENT_PARAM : int parameter Js.readonly_prop

    method _PACK_ALIGNMENT_ : int parameter Js.readonly_prop

    method _MAX_TEXTURE_SIZE_ : int parameter Js.readonly_prop

    method _MAX_VIEWPORT_DIMS_ : Typed_array.int32Array Js.t parameter Js.readonly_prop

    method _SUBPIXEL_BITS_ : int parameter Js.readonly_prop

    method _RED_BITS_ : int parameter Js.readonly_prop

    method _GREEN_BITS_ : int parameter Js.readonly_prop

    method _BLUE_BITS_ : int parameter Js.readonly_prop

    method _ALPHA_BITS_ : int parameter Js.readonly_prop

    method _DEPTH_BITS_ : int parameter Js.readonly_prop

    method _STENCIL_BITS_ : int parameter Js.readonly_prop

    method _POLYGON_OFFSET_UNITS_ : float parameter Js.readonly_prop

    method _POLYGON_OFFSET_FACTOR_ : float parameter Js.readonly_prop

    method _TEXTURE_BINDING_2D_ : texture Js.t Js.opt parameter Js.readonly_prop

    method _TEXTURE_BINDING_CUBE_MAP_ : texture Js.t Js.opt parameter Js.readonly_prop

    method _SAMPLE_BUFFERS_ : int parameter Js.readonly_prop

    method _SAMPLES_ : int parameter Js.readonly_prop

    method _SAMPLE_COVERAGE_VALUE_ : float parameter Js.readonly_prop

    method _SAMPLE_COVERAGE_INVERT_ : bool Js.t parameter Js.readonly_prop

    method _NUM_COMPRESSED_TEXTURE_FORMATS_ : int parameter Js.readonly_prop

    method _COMPRESSED_TEXTURE_FORMATS_ : unit Js.opt parameter Js.readonly_prop

    method _GENERATE_MIPMAP_HINT_PARAM_ : hintMode parameter Js.readonly_prop

    method _BUFFER_SIZE_ : bufferParameter Js.readonly_prop

    method _BUFFER_USAGE_ : bufferParameter Js.readonly_prop

    method _BYTE : dataType Js.readonly_prop

    method _UNSIGNED_BYTE_DT : dataType Js.readonly_prop

    method _SHORT : dataType Js.readonly_prop

    method _UNSIGNED_SHORT_ : dataType Js.readonly_prop

    method _INT : dataType Js.readonly_prop

    method _UNSIGNED_INT_ : dataType Js.readonly_prop

    method _FLOAT : dataType Js.readonly_prop

    method _UNSIGNED_BYTE_ : pixelType Js.readonly_prop

    method _UNSIGNED_SHORT_4_4_4_4_ : pixelType Js.readonly_prop

    method _UNSIGNED_SHORT_5_5_5_1_ : pixelType Js.readonly_prop

    method _UNSIGNED_SHORT_5_6_5_ : pixelType Js.readonly_prop

    method _ALPHA : pixelFormat Js.readonly_prop

    method _RGB : pixelFormat Js.readonly_prop

    method _RGBA : pixelFormat Js.readonly_prop

    method _LUMINANCE : pixelFormat Js.readonly_prop

    method _LUMINANCE_ALPHA_ : pixelFormat Js.readonly_prop

    method _STENCIL_INDEX_ : pixelFormat Js.readonly_prop

    method _DEPTH_STENCIL_ : pixelFormat Js.readonly_prop

    method _DEPTH_COMPONENT_ : pixelFormat Js.readonly_prop

    method _FRAGMENT_SHADER_ : shaderType Js.readonly_prop

    method _VERTEX_SHADER_ : shaderType Js.readonly_prop

    method _MAX_VERTEX_ATTRIBS_ : int parameter Js.readonly_prop

    method _MAX_VERTEX_UNIFORM_VECTORS_ : int parameter Js.readonly_prop

    method _MAX_VARYING_VECTORS_ : int parameter Js.readonly_prop

    method _MAX_COMBINED_TEXTURE_IMAGE_UNITS_ : int parameter Js.readonly_prop

    method _MAX_VERTEX_TEXTURE_IMAGE_UNITS_ : int parameter Js.readonly_prop

    method _MAX_TEXTURE_IMAGE_UNITS_ : int parameter Js.readonly_prop

    method _MAX_FRAGMENT_UNIFORM_VECTORS_ : int parameter Js.readonly_prop

    method _SHADER_TYPE_ : int shaderParam Js.readonly_prop

    method _DELETE_STATUS_ : bool Js.t shaderParam Js.readonly_prop

    method _COMPILE_STATUS_ : bool Js.t shaderParam Js.readonly_prop

    method _DELETE_STATUS_PROG : bool Js.t programParam Js.readonly_prop

    method _LINK_STATUS_ : bool Js.t programParam Js.readonly_prop

    method _VALIDATE_STATUS_ : bool Js.t programParam Js.readonly_prop

    method _ATTACHED_SHADERS_ : int programParam Js.readonly_prop

    method _ACTIVE_UNIFORMS_ : int programParam Js.readonly_prop

    method _ACTIVE_ATTRIBUTES_ : int programParam Js.readonly_prop

    method _SHADING_LANGUAGE_VERSION_ : Js.js_string Js.t parameter Js.readonly_prop

    method _CURRENT_PROGRAM_ : program Js.t Js.opt parameter Js.readonly_prop

    method _VENDOR : Js.js_string Js.t parameter Js.readonly_prop

    method _RENDERER : Js.js_string Js.t parameter Js.readonly_prop

    method _VERSION : Js.js_string Js.t parameter Js.readonly_prop

    method _MAX_CUBE_MAP_TEXTURE_SIZE_ : int parameter Js.readonly_prop

    method _ACTIVE_TEXTURE_ : int parameter Js.readonly_prop

    method _FRAMEBUFFER_BINDING_ : framebuffer Js.t Js.opt parameter Js.readonly_prop

    method _RENDERBUFFER_BINDING_ : renderbuffer Js.t Js.opt parameter Js.readonly_prop

    method _MAX_RENDERBUFFER_SIZE : int parameter Js.readonly_prop

    method _NEVER : depthFunction Js.readonly_prop

    method _LESS : depthFunction Js.readonly_prop

    method _EQUAL : depthFunction Js.readonly_prop

    method _LEQUAL : depthFunction Js.readonly_prop

    method _GREATER : depthFunction Js.readonly_prop

    method _NOTEQUAL : depthFunction Js.readonly_prop

    method _GEQUAL : depthFunction Js.readonly_prop

    method _ALWAYS : depthFunction Js.readonly_prop

    method _KEEP : stencilOp Js.readonly_prop

    method _REPLACE : stencilOp Js.readonly_prop

    method _INCR : stencilOp Js.readonly_prop

    method _DECR : stencilOp Js.readonly_prop

    method _INVERT : stencilOp Js.readonly_prop

    method _INCR_WRAP_ : stencilOp Js.readonly_prop

    method _DECR_WRAP_ : stencilOp Js.readonly_prop

    method _ZERO_ : stencilOp Js.readonly_prop

    method _NEAREST : texFilter Js.readonly_prop

    method _LINEAR : texFilter Js.readonly_prop

    method _NEAREST_MIPMAP_NEAREST_ : texFilter Js.readonly_prop

    method _LINEAR_MIPMAP_NEAREST_ : texFilter Js.readonly_prop

    method _NEAREST_MIPMAP_LINEAR_ : texFilter Js.readonly_prop

    method _LINEAR_MIPMAP_LINEAR_ : texFilter Js.readonly_prop

    method _TEXTURE_MAG_FILTER_ : texFilter texParam Js.readonly_prop

    method _TEXTURE_MIN_FILTER_ : texFilter texParam Js.readonly_prop

    method _TEXTURE_WRAP_S_ : wrapMode texParam Js.readonly_prop

    method _TEXTURE_WRAP_T_ : wrapMode texParam Js.readonly_prop

    method _TEXTURE_2D_ : texTarget Js.readonly_prop

    method _TEXTURE_CUBE_MAP_ : texTarget Js.readonly_prop

    method _TEXTURE_CUBE_MAP_POSITIVE_X_ : texTarget Js.readonly_prop

    method _TEXTURE_CUBE_MAP_NEGATIVE_X_ : texTarget Js.readonly_prop

    method _TEXTURE_CUBE_MAP_POSITIVE_Y_ : texTarget Js.readonly_prop

    method _TEXTURE_CUBE_MAP_NEGATIVE_Y_ : texTarget Js.readonly_prop

    method _TEXTURE_CUBE_MAP_POSITIVE_Z_ : texTarget Js.readonly_prop

    method _TEXTURE_CUBE_MAP_NEGATIVE_Z_ : texTarget Js.readonly_prop

    method _TEXTURE0 : textureUnit Js.readonly_prop

    method _TEXTURE1 : textureUnit Js.readonly_prop

    method _TEXTURE2 : textureUnit Js.readonly_prop

    method _TEXTURE3 : textureUnit Js.readonly_prop

    method _TEXTURE4 : textureUnit Js.readonly_prop

    method _TEXTURE5 : textureUnit Js.readonly_prop

    method _TEXTURE6 : textureUnit Js.readonly_prop

    method _TEXTURE7 : textureUnit Js.readonly_prop

    method _TEXTURE8 : textureUnit Js.readonly_prop

    method _TEXTURE9 : textureUnit Js.readonly_prop

    method _TEXTURE10 : textureUnit Js.readonly_prop

    method _TEXTURE11 : textureUnit Js.readonly_prop

    method _TEXTURE12 : textureUnit Js.readonly_prop

    method _TEXTURE13 : textureUnit Js.readonly_prop

    method _TEXTURE14 : textureUnit Js.readonly_prop

    method _TEXTURE15 : textureUnit Js.readonly_prop

    method _TEXTURE16 : textureUnit Js.readonly_prop

    method _TEXTURE17 : textureUnit Js.readonly_prop

    method _TEXTURE18 : textureUnit Js.readonly_prop

    method _TEXTURE19 : textureUnit Js.readonly_prop

    method _TEXTURE20 : textureUnit Js.readonly_prop

    method _TEXTURE21 : textureUnit Js.readonly_prop

    method _TEXTURE22 : textureUnit Js.readonly_prop

    method _TEXTURE23 : textureUnit Js.readonly_prop

    method _TEXTURE24 : textureUnit Js.readonly_prop

    method _TEXTURE25 : textureUnit Js.readonly_prop

    method _TEXTURE26 : textureUnit Js.readonly_prop

    method _TEXTURE27 : textureUnit Js.readonly_prop

    method _TEXTURE28 : textureUnit Js.readonly_prop

    method _TEXTURE29 : textureUnit Js.readonly_prop

    method _TEXTURE30 : textureUnit Js.readonly_prop

    method _TEXTURE31 : textureUnit Js.readonly_prop

    method _REPEAT : wrapMode Js.readonly_prop

    method _CLAMP_TO_EDGE_ : wrapMode Js.readonly_prop

    method _MIRRORED_REPEAT_ : wrapMode Js.readonly_prop

    method _FLOAT_ : uniformType Js.readonly_prop

    method _FLOAT_VEC2_ : uniformType Js.readonly_prop

    method _FLOAT_VEC3_ : uniformType Js.readonly_prop

    method _FLOAT_VEC4_ : uniformType Js.readonly_prop

    method _INT_VEC2_ : uniformType Js.readonly_prop

    method _INT_VEC3_ : uniformType Js.readonly_prop

    method _INT_VEC4_ : uniformType Js.readonly_prop

    method _BOOL : uniformType Js.readonly_prop

    method _BOOL_VEC2_ : uniformType Js.readonly_prop

    method _BOOL_VEC3_ : uniformType Js.readonly_prop

    method _BOOL_VEC4_ : uniformType Js.readonly_prop

    method _FLOAT_MAT2_ : uniformType Js.readonly_prop

    method _FLOAT_MAT3_ : uniformType Js.readonly_prop

    method _FLOAT_MAT4_ : uniformType Js.readonly_prop

    method _SAMPLER_2D_ : uniformType Js.readonly_prop

    method _SAMPLER_CUBE_ : uniformType Js.readonly_prop

    method _VERTEX_ATTRIB_ARRAY_ENABLED_ : bool Js.t vertexAttribParam Js.readonly_prop

    method _VERTEX_ATTRIB_ARRAY_SIZE_ : int vertexAttribParam Js.readonly_prop

    method _VERTEX_ATTRIB_ARRAY_STRIDE_ : int vertexAttribParam Js.readonly_prop

    method _VERTEX_ATTRIB_ARRAY_TYPE_ : int vertexAttribParam Js.readonly_prop

    method _VERTEX_ATTRIB_ARRAY_NORMALIZED_ : bool Js.t vertexAttribParam Js.readonly_prop

    method _VERTEX_ATTRIB_ARRAY_POINTER_ : vertexAttribPointerParam Js.readonly_prop

    method _VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ : buffer Js.t Js.opt vertexAttribParam Js.readonly_prop

    method _CURRENT_VERTEX_ATTRIB_ : Typed_array.float32Array Js.t vertexAttribParam Js.readonly_prop

    method _FRAMEBUFFER : fbTarget Js.readonly_prop

    method _RENDERBUFFER : rbTarget Js.readonly_prop

    method _RGBA4 : format Js.readonly_prop

    method _RGB5_A1_ : format Js.readonly_prop

    method _RGB565 : format Js.readonly_prop

    method _DEPTH_COMPONENT16_ : format Js.readonly_prop

    method _STENCIL_INDEX8_ : format Js.readonly_prop

    method _RENDERBUFFER_WIDTH_ : renderbufferParam Js.readonly_prop

    method _RENDERBUFFER_HEIGHT_ : renderbufferParam Js.readonly_prop

    method _RENDERBUFFER_INTERNAL_FORMAT_ : renderbufferParam Js.readonly_prop

    method _RENDERBUFFER_RED_SIZE_ : renderbufferParam Js.readonly_prop

    method _RENDERBUFFER_GREEN_SIZE_ : renderbufferParam Js.readonly_prop

    method _RENDERBUFFER_BLUE_SIZE_ : renderbufferParam Js.readonly_prop

    method _RENDERBUFFER_ALPHA_SIZE_ : renderbufferParam Js.readonly_prop

    method _RENDERBUFFER_DEPTH_SIZE_ : renderbufferParam Js.readonly_prop

    method _RENDERBUFFER_STENCIL_SIZE_ : renderbufferParam Js.readonly_prop

    method _FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_ : int attachParam Js.readonly_prop

    method _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_RENDERBUFFER : renderbuffer Js.t attachParam Js.readonly_prop

    method _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_TEXTURE : texture Js.t attachParam Js.readonly_prop

    method _FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_ : int attachParam Js.readonly_prop

    method _FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_ : int attachParam Js.readonly_prop

    method _COLOR_ATTACHMENT0_ : attachmentPoint Js.readonly_prop

    method _DEPTH_ATTACHMENT_ : attachmentPoint Js.readonly_prop

    method _STENCIL_ATTACHMENT_ : attachmentPoint Js.readonly_prop

    method _DEPTH_STENCIL_ATTACHMENT_ : attachmentPoint Js.readonly_prop

    method _FRAMEBUFFER_COMPLETE_ : framebufferStatus Js.readonly_prop

    method _FRAMEBUFFER_INCOMPLETE_ATTACHMENT_ : framebufferStatus Js.readonly_prop

    method _FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_ : framebufferStatus Js.readonly_prop

    method _FRAMEBUFFER_INCOMPLETE_DIMENSIONS_ : framebufferStatus Js.readonly_prop

    method _FRAMEBUFFER_UNSUPPORTED_ : framebufferStatus Js.readonly_prop

    method _UNPACK_FLIP_Y_WEBGL_PARAM : bool Js.t parameter Js.readonly_prop

    method _UNPACK_PREMULTIPLY_ALPHA_WEBGL_PARAM : bool Js.t parameter Js.readonly_prop

    method _UNPACK_COLORSPACE_CONVERSION_WEBGL_PARAM : colorspaceConversion parameter Js.readonly_prop

    method _NONE : colorspaceConversion Js.readonly_prop

    method _BROWSER_DEFAULT_WEBGL_ : colorspaceConversion Js.readonly_prop

    method _UNPACK_ALIGNMENT_ : int pixelStoreParam Js.readonly_prop

    method _UNPACK_FLIP_Y_WEBGL_ : bool Js.t pixelStoreParam Js.readonly_prop

    method _UNPACK_PREMULTIPLY_ALPHA_WEBGL_ : bool Js.t pixelStoreParam Js.readonly_prop

    method _UNPACK_COLORSPACE_CONVERSION_WEBGL_ : int pixelStoreParam Js.readonly_prop