5.13.1 Attributes
method canvas : Js_of_ocaml__.Dom_html.canvasElement Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.readonly_prop
method drawingBufferWidth : sizei Js_of_ocaml__.Js.readonly_prop
method drawingBufferHeight : sizei Js_of_ocaml__.Js.readonly_prop
5.13.2 Getting information about the context
method getContextAttributes : contextAttributes Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.meth
5.13.3 Setting and getting state
method activeTexture : textureUnit -> unit Js_of_ocaml__.Js.meth
method blendEquation : blendMode -> unit Js_of_ocaml__.Js.meth
method clearDepth : clampf -> unit Js_of_ocaml__.Js.meth
method clearStencil : int -> unit Js_of_ocaml__.Js.meth
method colorMask : bool Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method cullFace : cullFaceMode -> unit Js_of_ocaml__.Js.meth
method depthMask : bool Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method depthRange : clampf -> clampf -> unit Js_of_ocaml__.Js.meth
method disable : enableCap -> unit Js_of_ocaml__.Js.meth
method enable : enableCap -> unit Js_of_ocaml__.Js.meth
method frontFace : frontFaceDir -> unit Js_of_ocaml__.Js.meth
method getParameter : 'a. 'a parameter -> 'a Js_of_ocaml__.Js.meth
method getError : errorCode Js_of_ocaml__.Js.meth
method isEnabled : enableCap -> bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method lineWidth : Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method pixelStorei : 'a. 'a pixelStoreParam -> 'a -> unit Js_of_ocaml__.Js.meth
method polygonOffset : Js_of_ocaml__.Js.number_t ->
Js_of_ocaml__.Js.number_t ->
unit Js_of_ocaml__.Js.meth
method sampleCoverage : clampf ->
bool Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method stencilMask : uint -> unit Js_of_ocaml__.Js.meth
5.13.4 Viewing and clipping
method scissor : int -> int -> sizei -> sizei -> unit Js_of_ocaml__.Js.meth
method viewport : int -> int -> sizei -> sizei -> unit Js_of_ocaml__.Js.meth
5.13.5 Buffer objects
method bindBuffer : bufferTarget ->
buffer Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method bindBuffer_ : bufferTarget ->
buffer Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt ->
unit Js_of_ocaml__.Js.meth
method bufferData : bufferTarget ->
Js_of_ocaml__.Typed_array.arrayBufferView Js_of_ocaml__.Js.t ->
bufferUsage ->
unit Js_of_ocaml__.Js.meth
method bufferData_raw : bufferTarget ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t ->
bufferUsage ->
unit Js_of_ocaml__.Js.meth
method bufferSubData : bufferTarget ->
intptr ->
Js_of_ocaml__.Typed_array.arrayBufferView Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method bufferSubData_raw : bufferTarget ->
intptr ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method createBuffer : buffer Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method deleteBuffer : buffer Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method isBuffer : buffer Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
5.13.6 Framebuffer objects
method bindFramebuffer : fbTarget ->
framebuffer Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method bindFramebuffer_ : fbTarget ->
framebuffer Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt ->
unit Js_of_ocaml__.Js.meth
method createFramebuffer : framebuffer Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method deleteFramebuffer : framebuffer Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method isFramebuffer : framebuffer Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
5.13.7 Renderbuffer objects
method bindRenderbuffer_ : rbTarget ->
renderbuffer Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt ->
unit Js_of_ocaml__.Js.meth
method createRenderbuffer : renderbuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.meth
method deleteRenderbuffer : renderbuffer Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method isRenderbuffer : renderbuffer Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
5.13.8 Texture objects
method bindTexture : texTarget ->
texture Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method bindTexture_ : texTarget ->
texture Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt ->
unit Js_of_ocaml__.Js.meth
method compressedTexImage2D : texTarget ->
int ->
pixelFormat ->
sizei ->
sizei ->
int ->
Js_of_ocaml__.Typed_array.arrayBufferView Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method compressedTexSubImage2D : texTarget ->
int ->
int ->
int ->
sizei ->
sizei ->
pixelFormat ->
Js_of_ocaml__.Typed_array.arrayBufferView Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method copyTexSubImage2D : texTarget ->
int ->
int ->
int ->
int ->
int ->
sizei ->
sizei ->
unit Js_of_ocaml__.Js.meth
method createTexture : texture Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method deleteTexture : texture Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method generateMipmap : texTarget -> unit Js_of_ocaml__.Js.meth
method isTexture : texture Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method texSubImage2D_fromView : texTarget ->
int ->
int ->
int ->
sizei ->
sizei ->
pixelFormat ->
pixelType ->
Js_of_ocaml__.Typed_array.arrayBufferView Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method texSubImage2D_fromImageData : texTarget ->
int ->
int ->
int ->
pixelFormat ->
pixelType ->
Js_of_ocaml__.Dom_html.imageData Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method texSubImage2D_fromImage : texTarget ->
int ->
int ->
int ->
pixelFormat ->
pixelType ->
Js_of_ocaml__.Dom_html.imageElement Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method texSubImage2D_fromCanvas : texTarget ->
int ->
int ->
int ->
pixelFormat ->
pixelType ->
Js_of_ocaml__.Dom_html.canvasElement Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method texSubImage2D_fromVideo : texTarget ->
int ->
int ->
int ->
pixelFormat ->
pixelType ->
Js_of_ocaml__.Dom_html.videoElement Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
5.13.9 Programs and Shaders
method attachShader : program Js_of_ocaml__.Js.t ->
shader Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method bindAttribLocation : program Js_of_ocaml__.Js.t ->
uint ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method compileShader : shader Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method createProgram : program Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method createShader : shaderType ->
shader Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method deleteProgram : program Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method deleteShader : shader Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method detachShader : program Js_of_ocaml__.Js.t ->
shader Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method getAttachedShaders : program Js_of_ocaml__.Js.t ->
shader Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.meth
method getProgramParameter : 'a. program Js_of_ocaml__.Js.t ->
'a programParam ->
'a Js_of_ocaml__.Js.meth
method getProgramInfoLog : program Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method getShaderParameter : 'a. shader Js_of_ocaml__.Js.t ->
'a shaderParam ->
'a Js_of_ocaml__.Js.meth
method getShaderInfoLog : shader Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method getShaderSource : shader Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method isProgram : program Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method isShader : shader Js_of_ocaml__.Js.t ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method linkProgram : program Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method shaderSource : shader Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method useProgram : program Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method validateProgram : program Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
5.13.10 Uniforms and attributes
method disableVertexAttribArray : uint -> unit Js_of_ocaml__.Js.meth
method enableVertexAttribArray : uint -> unit Js_of_ocaml__.Js.meth
method getActiveAttrib : program Js_of_ocaml__.Js.t ->
uint ->
activeInfo Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method getAttribLocation : program Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
int Js_of_ocaml__.Js.meth
method vertexAttrib1f : uint ->
Js_of_ocaml__.Js.number_t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib1fv : uint ->
Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.js_array Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib1fv_typed : uint ->
Js_of_ocaml__.Typed_array.float32Array Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib2f : uint ->
Js_of_ocaml__.Js.number_t ->
Js_of_ocaml__.Js.number_t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib2fv : uint ->
Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.js_array Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib2fv_typed : uint ->
Js_of_ocaml__.Typed_array.float32Array Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib3f : uint ->
Js_of_ocaml__.Js.number_t ->
Js_of_ocaml__.Js.number_t ->
Js_of_ocaml__.Js.number_t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib3fv : uint ->
Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.js_array Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib3fv_typed : uint ->
Js_of_ocaml__.Typed_array.float32Array Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib4f : uint ->
Js_of_ocaml__.Js.number_t ->
Js_of_ocaml__.Js.number_t ->
Js_of_ocaml__.Js.number_t ->
Js_of_ocaml__.Js.number_t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib4fv : uint ->
Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.js_array Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method vertexAttrib4fv_typed : uint ->
Js_of_ocaml__.Typed_array.float32Array Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
method vertexAttribPointer : uint ->
int ->
dataType ->
bool Js_of_ocaml__.Js.t ->
sizei ->
intptr ->
unit Js_of_ocaml__.Js.meth
5.13.11 Writing to the drawing buffer
method drawArrays : beginMode -> int -> sizei -> unit Js_of_ocaml__.Js.meth
method finish : unit Js_of_ocaml__.Js.meth
method flush : unit Js_of_ocaml__.Js.meth
5.13.12 Reading back pixels
method readPixels : int ->
int ->
sizei ->
sizei ->
pixelFormat ->
pixelType ->
Js_of_ocaml__.Typed_array.arrayBufferView Js_of_ocaml__.Js.t ->
unit Js_of_ocaml__.Js.meth
5.13.13 Detecting context lost events
method isContextLost : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
5.13.14 Detecting and enabling extensions
method getSupportedExtensions : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.meth
method getExtension : 'a. Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
'a Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.meth
Constants
method _STENCIL_BUFFER_BIT_ : clearBufferMask Js_of_ocaml__.Js.readonly_prop
method _POINTS : beginMode Js_of_ocaml__.Js.readonly_prop
method _LINES : beginMode Js_of_ocaml__.Js.readonly_prop
method _LINE_LOOP_ : beginMode Js_of_ocaml__.Js.readonly_prop
method _LINE_STRIP_ : beginMode Js_of_ocaml__.Js.readonly_prop
method _TRIANGLES : beginMode Js_of_ocaml__.Js.readonly_prop
method _TRIANGLE_STRIP_ : beginMode Js_of_ocaml__.Js.readonly_prop
method _TRIANGLE_FAN_ : beginMode Js_of_ocaml__.Js.readonly_prop
method _ONE_MINUS_SRC_COLOR_ : blendingFactor Js_of_ocaml__.Js.readonly_prop
method _ONE_MINUS_SRC_ALPHA_ : blendingFactor Js_of_ocaml__.Js.readonly_prop
method _ONE_MINUS_DST_ALPHA_ : blendingFactor Js_of_ocaml__.Js.readonly_prop
method _ONE_MINUS_DST_COLOR_ : blendingFactor Js_of_ocaml__.Js.readonly_prop
method _SRC_ALPHA_SATURATE_ : blendingFactor Js_of_ocaml__.Js.readonly_prop
method _FUNC_ADD_ : blendMode Js_of_ocaml__.Js.readonly_prop
method _FUNC_SUBTRACT_ : blendMode Js_of_ocaml__.Js.readonly_prop
method _FUNC_REVERSE_SUBTRACT_ : blendMode Js_of_ocaml__.Js.readonly_prop
method _CONSTANT_COLOR_ : blendMode Js_of_ocaml__.Js.readonly_prop
method _ONE_MINUS_CONSTANT_COLOR_ : blendMode Js_of_ocaml__.Js.readonly_prop
method _CONSTANT_ALPHA_ : blendMode Js_of_ocaml__.Js.readonly_prop
method _ONE_MINUS_CONSTANT_ALPHA_ : blendMode Js_of_ocaml__.Js.readonly_prop
method _ARRAY_BUFFER_ : bufferTarget Js_of_ocaml__.Js.readonly_prop
method _ELEMENT_ARRAY_BUFFER_ : bufferTarget Js_of_ocaml__.Js.readonly_prop
method _STREAM_DRAW_ : bufferUsage Js_of_ocaml__.Js.readonly_prop
method _STATIC_DRAW_ : bufferUsage Js_of_ocaml__.Js.readonly_prop
method _DYNAMIC_DRAW_ : bufferUsage Js_of_ocaml__.Js.readonly_prop
method _FRONT_AND_BACK_ : cullFaceMode Js_of_ocaml__.Js.readonly_prop
method _CULL_FACE_ : enableCap Js_of_ocaml__.Js.readonly_prop
method _BLEND : enableCap Js_of_ocaml__.Js.readonly_prop
method _DITHER : enableCap Js_of_ocaml__.Js.readonly_prop
method _STENCIL_TEST_ : enableCap Js_of_ocaml__.Js.readonly_prop
method _DEPTH_TEST_ : enableCap Js_of_ocaml__.Js.readonly_prop
method _SCISSOR_TEST_ : enableCap Js_of_ocaml__.Js.readonly_prop
method _POLYGON_OFFSET_FILL_ : enableCap Js_of_ocaml__.Js.readonly_prop
method _SAMPLE_ALPHA_TO_COVERAGE_ : enableCap Js_of_ocaml__.Js.readonly_prop
method _SAMPLE_COVERAGE_ : enableCap Js_of_ocaml__.Js.readonly_prop
method _NO_ERROR_ : errorCode Js_of_ocaml__.Js.readonly_prop
method _INVALID_ENUM_ : errorCode Js_of_ocaml__.Js.readonly_prop
method _INVALID_VALUE_ : errorCode Js_of_ocaml__.Js.readonly_prop
method _INVALID_OPERATION_ : errorCode Js_of_ocaml__.Js.readonly_prop
method _OUT_OF_MEMORY_ : errorCode Js_of_ocaml__.Js.readonly_prop
method _CONTEXT_LOST_WEBGL_ : errorCode Js_of_ocaml__.Js.readonly_prop
method _INVALID_FRAMEBUFFER_OPERATION_ : errorCode
Js_of_ocaml__.Js.readonly_prop
method _DONT_CARE_ : hintMode Js_of_ocaml__.Js.readonly_prop
method _FASTEST : hintMode Js_of_ocaml__.Js.readonly_prop
method _NICEST : hintMode Js_of_ocaml__.Js.readonly_prop
method _GENERATE_MIPMAP_HINT_ : hintTarget Js_of_ocaml__.Js.readonly_prop
method _BLEND_COLOR_ : Js_of_ocaml__.Typed_array.float32Array
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _ARRAY_BUFFER_BINDING_ : buffer Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt
parameter
Js_of_ocaml__.Js.readonly_prop
method _ELEMENT_ARRAY_BUFFER_BINDING_ : buffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.opt
parameter
Js_of_ocaml__.Js.readonly_prop
method _CULL_FACE_PARAM : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _BLEND_PARAM : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _DITHER_PARAM : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _STENCIL_TEST_PARAM : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _DEPTH_TEST_PARAM : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _SCISSOR_TEST_PARAM : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _POLYGON_OFFSET_FILL_PARAM : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _LINE_WIDTH_ : Js_of_ocaml__.Js.number_t parameter
Js_of_ocaml__.Js.readonly_prop
method _ALIASED_POINT_SIZE_RANGE_ : Js_of_ocaml__.Typed_array.float32Array
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _ALIASED_LINE_WIDTH_RANGE_ : Js_of_ocaml__.Typed_array.float32Array
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _DEPTH_RANGE_ : Js_of_ocaml__.Typed_array.float32Array
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _DEPTH_WRITEMASK_ : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _DEPTH_CLEAR_VALUE_ : Js_of_ocaml__.Js.number_t parameter
Js_of_ocaml__.Js.readonly_prop
method _STENCIL_CLEAR_VALUE_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_FUNC_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_FAIL_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_PASS_DEPTH_FAIL_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_PASS_DEPTH_PASS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_REF_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_VALUE_MASK_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_WRITEMASK_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_BACK_FUNC_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_BACK_FAIL_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_BACK_PASS_DEPTH_FAIL_ : int parameter
Js_of_ocaml__.Js.readonly_prop
method _STENCIL_BACK_PASS_DEPTH_PASS_ : int parameter
Js_of_ocaml__.Js.readonly_prop
method _STENCIL_BACK_REF_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_BACK_VALUE_MASK_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_BACK_WRITEMASK_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _VIEWPORT : Js_of_ocaml__.Typed_array.int32Array Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _SCISSOR_BOX_ : Js_of_ocaml__.Typed_array.int32Array Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _COLOR_CLEAR_VALUE_ : Js_of_ocaml__.Typed_array.float32Array
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _COLOR_WRITEMASK_ : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _UNPACK_ALIGNMENT_PARAM : int parameter Js_of_ocaml__.Js.readonly_prop
method _PACK_ALIGNMENT_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _MAX_TEXTURE_SIZE_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _MAX_VIEWPORT_DIMS_ : Js_of_ocaml__.Typed_array.int32Array
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _SUBPIXEL_BITS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _RED_BITS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _GREEN_BITS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _BLUE_BITS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _ALPHA_BITS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _DEPTH_BITS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _STENCIL_BITS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _POLYGON_OFFSET_UNITS_ : Js_of_ocaml__.Js.number_t parameter
Js_of_ocaml__.Js.readonly_prop
method _POLYGON_OFFSET_FACTOR_ : Js_of_ocaml__.Js.number_t parameter
Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_BINDING_2D_ : texture Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt
parameter
Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_BINDING_CUBE_MAP_ : texture Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.opt
parameter
Js_of_ocaml__.Js.readonly_prop
method _SAMPLE_BUFFERS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _SAMPLES_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _SAMPLE_COVERAGE_VALUE_ : Js_of_ocaml__.Js.number_t parameter
Js_of_ocaml__.Js.readonly_prop
method _SAMPLE_COVERAGE_INVERT_ : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _NUM_COMPRESSED_TEXTURE_FORMATS_ : int parameter
Js_of_ocaml__.Js.readonly_prop
method _COMPRESSED_TEXTURE_FORMATS_ : Js_of_ocaml__.Typed_array.uint32Array
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _GENERATE_MIPMAP_HINT_PARAM_ : hintMode parameter
Js_of_ocaml__.Js.readonly_prop
method _BYTE : dataType Js_of_ocaml__.Js.readonly_prop
method _UNSIGNED_BYTE_DT : dataType Js_of_ocaml__.Js.readonly_prop
method _SHORT : dataType Js_of_ocaml__.Js.readonly_prop
method _UNSIGNED_SHORT_ : dataType Js_of_ocaml__.Js.readonly_prop
method _INT : dataType Js_of_ocaml__.Js.readonly_prop
method _UNSIGNED_INT_ : dataType Js_of_ocaml__.Js.readonly_prop
method _FLOAT : dataType Js_of_ocaml__.Js.readonly_prop
method _UNSIGNED_BYTE_ : pixelType Js_of_ocaml__.Js.readonly_prop
method _UNSIGNED_SHORT_4_4_4_4_ : pixelType Js_of_ocaml__.Js.readonly_prop
method _UNSIGNED_SHORT_5_5_5_1_ : pixelType Js_of_ocaml__.Js.readonly_prop
method _UNSIGNED_SHORT_5_6_5_ : pixelType Js_of_ocaml__.Js.readonly_prop
method _ALPHA : pixelFormat Js_of_ocaml__.Js.readonly_prop
method _RGB : pixelFormat Js_of_ocaml__.Js.readonly_prop
method _RGBA : pixelFormat Js_of_ocaml__.Js.readonly_prop
method _LUMINANCE : pixelFormat Js_of_ocaml__.Js.readonly_prop
method _LUMINANCE_ALPHA_ : pixelFormat Js_of_ocaml__.Js.readonly_prop
method _STENCIL_INDEX_ : pixelFormat Js_of_ocaml__.Js.readonly_prop
method _DEPTH_STENCIL_ : pixelFormat Js_of_ocaml__.Js.readonly_prop
method _DEPTH_COMPONENT_ : pixelFormat Js_of_ocaml__.Js.readonly_prop
method _FRAGMENT_SHADER_ : shaderType Js_of_ocaml__.Js.readonly_prop
method _VERTEX_SHADER_ : shaderType Js_of_ocaml__.Js.readonly_prop
method _MAX_VERTEX_ATTRIBS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _MAX_VARYING_VECTORS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _MAX_COMBINED_TEXTURE_IMAGE_UNITS_ : int parameter
Js_of_ocaml__.Js.readonly_prop
method _MAX_VERTEX_TEXTURE_IMAGE_UNITS_ : int parameter
Js_of_ocaml__.Js.readonly_prop
method _MAX_TEXTURE_IMAGE_UNITS_ : int parameter Js_of_ocaml__.Js.readonly_prop
method _DELETE_STATUS_ : bool Js_of_ocaml__.Js.t shaderParam
Js_of_ocaml__.Js.readonly_prop
method _COMPILE_STATUS_ : bool Js_of_ocaml__.Js.t shaderParam
Js_of_ocaml__.Js.readonly_prop
method _DELETE_STATUS_PROG : bool Js_of_ocaml__.Js.t programParam
Js_of_ocaml__.Js.readonly_prop
method _LINK_STATUS_ : bool Js_of_ocaml__.Js.t programParam
Js_of_ocaml__.Js.readonly_prop
method _VALIDATE_STATUS_ : bool Js_of_ocaml__.Js.t programParam
Js_of_ocaml__.Js.readonly_prop
method _ATTACHED_SHADERS_ : int programParam Js_of_ocaml__.Js.readonly_prop
method _ACTIVE_ATTRIBUTES_ : int programParam Js_of_ocaml__.Js.readonly_prop
method _SHADING_LANGUAGE_VERSION_ : Js_of_ocaml__.Js.js_string
Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _CURRENT_PROGRAM_ : program Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt
parameter
Js_of_ocaml__.Js.readonly_prop
method _VENDOR : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _RENDERER : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _VERSION : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _MAX_CUBE_MAP_TEXTURE_SIZE_ : int parameter
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER_BINDING_ : framebuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.opt
parameter
Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER_BINDING_ : renderbuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.opt
parameter
Js_of_ocaml__.Js.readonly_prop
method _MAX_RENDERBUFFER_SIZE : int parameter Js_of_ocaml__.Js.readonly_prop
method _KEEP : stencilOp Js_of_ocaml__.Js.readonly_prop
method _REPLACE : stencilOp Js_of_ocaml__.Js.readonly_prop
method _INCR : stencilOp Js_of_ocaml__.Js.readonly_prop
method _DECR : stencilOp Js_of_ocaml__.Js.readonly_prop
method _INVERT : stencilOp Js_of_ocaml__.Js.readonly_prop
method _INCR_WRAP_ : stencilOp Js_of_ocaml__.Js.readonly_prop
method _DECR_WRAP_ : stencilOp Js_of_ocaml__.Js.readonly_prop
method _ZERO_ : stencilOp Js_of_ocaml__.Js.readonly_prop
method _NEAREST : texFilter Js_of_ocaml__.Js.readonly_prop
method _LINEAR : texFilter Js_of_ocaml__.Js.readonly_prop
method _NEAREST_MIPMAP_NEAREST_ : texFilter Js_of_ocaml__.Js.readonly_prop
method _LINEAR_MIPMAP_NEAREST_ : texFilter Js_of_ocaml__.Js.readonly_prop
method _NEAREST_MIPMAP_LINEAR_ : texFilter Js_of_ocaml__.Js.readonly_prop
method _LINEAR_MIPMAP_LINEAR_ : texFilter Js_of_ocaml__.Js.readonly_prop
method _NONE_OT : objectType Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_OT : objectType Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER_OT : objectType Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_2D_ : texTarget Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_CUBE_MAP_ : texTarget Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_CUBE_MAP_POSITIVE_X_ : texTarget Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_CUBE_MAP_NEGATIVE_X_ : texTarget Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_CUBE_MAP_POSITIVE_Y_ : texTarget Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_CUBE_MAP_NEGATIVE_Y_ : texTarget Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_CUBE_MAP_POSITIVE_Z_ : texTarget Js_of_ocaml__.Js.readonly_prop
method _TEXTURE_CUBE_MAP_NEGATIVE_Z_ : texTarget Js_of_ocaml__.Js.readonly_prop
method _TEXTURE0 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE1 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE2 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE3 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE4 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE5 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE6 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE7 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE8 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE9 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE10 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE11 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE12 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE13 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE14 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE15 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE16 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE17 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE18 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE19 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE20 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE21 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE22 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE23 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE24 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE25 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE26 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE27 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE28 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE29 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE30 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _TEXTURE31 : textureUnit Js_of_ocaml__.Js.readonly_prop
method _REPEAT : wrapMode Js_of_ocaml__.Js.readonly_prop
method _CLAMP_TO_EDGE_ : wrapMode Js_of_ocaml__.Js.readonly_prop
method _MIRRORED_REPEAT_ : wrapMode Js_of_ocaml__.Js.readonly_prop
method _FLOAT_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _FLOAT_VEC2_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _FLOAT_VEC3_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _FLOAT_VEC4_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _INT_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _INT_VEC2_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _INT_VEC3_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _INT_VEC4_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _BOOL_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _BOOL_VEC2_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _BOOL_VEC3_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _BOOL_VEC4_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _FLOAT_MAT2_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _FLOAT_MAT3_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _FLOAT_MAT4_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _SAMPLER_2D_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _SAMPLER_CUBE_ : uniformType Js_of_ocaml__.Js.readonly_prop
method _VERTEX_ATTRIB_ARRAY_ENABLED_ : bool Js_of_ocaml__.Js.t
vertexAttribParam
Js_of_ocaml__.Js.readonly_prop
method _VERTEX_ATTRIB_ARRAY_SIZE_ : int vertexAttribParam
Js_of_ocaml__.Js.readonly_prop
method _VERTEX_ATTRIB_ARRAY_STRIDE_ : int vertexAttribParam
Js_of_ocaml__.Js.readonly_prop
method _VERTEX_ATTRIB_ARRAY_TYPE_ : int vertexAttribParam
Js_of_ocaml__.Js.readonly_prop
method _VERTEX_ATTRIB_ARRAY_NORMALIZED_ : bool Js_of_ocaml__.Js.t
vertexAttribParam
Js_of_ocaml__.Js.readonly_prop
method _VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ : buffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Js.opt
vertexAttribParam
Js_of_ocaml__.Js.readonly_prop
method _CURRENT_VERTEX_ATTRIB_ : Js_of_ocaml__.Typed_array.float32Array
Js_of_ocaml__.Js.t
vertexAttribParam
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER : fbTarget Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER : rbTarget Js_of_ocaml__.Js.readonly_prop
method _RGBA4 : format Js_of_ocaml__.Js.readonly_prop
method _RGB5_A1_ : format Js_of_ocaml__.Js.readonly_prop
method _RGB565 : format Js_of_ocaml__.Js.readonly_prop
method _DEPTH_COMPONENT16_ : format Js_of_ocaml__.Js.readonly_prop
method _STENCIL_INDEX8_ : format Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER_RED_SIZE_ : int renderbufferParam
Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER_GREEN_SIZE_ : int renderbufferParam
Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER_BLUE_SIZE_ : int renderbufferParam
Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER_ALPHA_SIZE_ : int renderbufferParam
Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER_DEPTH_SIZE_ : int renderbufferParam
Js_of_ocaml__.Js.readonly_prop
method _RENDERBUFFER_STENCIL_SIZE_ : int renderbufferParam
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_RENDERBUFFER : renderbuffer
Js_of_ocaml__.Js.t
attachParam
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_TEXTURE : texture Js_of_ocaml__.Js.t
attachParam
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_ : int attachParam
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_ : int attachParam
Js_of_ocaml__.Js.readonly_prop
method _COLOR_ATTACHMENT0_ : attachmentPoint Js_of_ocaml__.Js.readonly_prop
method _STENCIL_ATTACHMENT_ : attachmentPoint Js_of_ocaml__.Js.readonly_prop
method _DEPTH_STENCIL_ATTACHMENT_ : attachmentPoint
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER_INCOMPLETE_ATTACHMENT_ : framebufferStatus
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_ : framebufferStatus
Js_of_ocaml__.Js.readonly_prop
method _FRAMEBUFFER_INCOMPLETE_DIMENSIONS_ : framebufferStatus
Js_of_ocaml__.Js.readonly_prop
method _UNPACK_FLIP_Y_WEBGL_PARAM : bool Js_of_ocaml__.Js.t parameter
Js_of_ocaml__.Js.readonly_prop
method _UNPACK_PREMULTIPLY_ALPHA_WEBGL_PARAM : bool Js_of_ocaml__.Js.t
parameter
Js_of_ocaml__.Js.readonly_prop
method _UNPACK_ALIGNMENT_ : int pixelStoreParam Js_of_ocaml__.Js.readonly_prop
method _UNPACK_FLIP_Y_WEBGL_ : bool Js_of_ocaml__.Js.t pixelStoreParam
Js_of_ocaml__.Js.readonly_prop
method _UNPACK_PREMULTIPLY_ALPHA_WEBGL_ : bool Js_of_ocaml__.Js.t
pixelStoreParam
Js_of_ocaml__.Js.readonly_prop
method _UNPACK_COLORSPACE_CONVERSION_WEBGL_ : int pixelStoreParam
Js_of_ocaml__.Js.readonly_prop