The WebGLRenderingContext interface provides the OpenGL ES 2.0 rendering context for the drawing surface of an HTML <canvas> element.
The WebGLRenderingContext.activeTexture() method of the WebGL API specifies which texture unit to make active.
The WebGLRenderingContext.bindAttribLocation() method of the WebGL API binds a generic vertex index to an attribute variable.
The WebGLRenderingContext.bindBuffer() method of the WebGL API binds a given WebGLBuffer to a target.
The WebGLRenderingContext.bindFramebuffer() method of the WebGL API binds a given WebGLFramebuffer to a target.
The WebGLRenderingContext.bindRenderbuffer() method of the WebGL API binds a given WebGLRenderbuffer to a target, which must be gl.RENDERBUFFER.
The WebGLRenderingContext.blendColor() method of the WebGL API is used to set the source and destination blending factors.
The WebGLRenderingContext.blendEquation() method of the WebGL API is used to set both the RGB blend equation and alpha blend equation to a single equation.
The WebGLRenderingContext.blendEquationSeparate() method of the WebGL API is used to set the RGB blend equation and alpha blend equation separately.
The WebGLRenderingContext.blendFunc() method of the WebGL API defines which function is used for blending pixel arithmetic.
The WebGLRenderingContext.blendFuncSeparate() method of the WebGL API defines which function is used for blending pixel arithmetic for RGB and alpha components separately.
The WebGLRenderingContext.bufferData() method of the WebGL API initializes and creates the buffer object's data store.
The WebGLRenderingContext.bufferSubData() method of the WebGL API updates a subset of a buffer object's data store.
The WebGLRenderingContext.canvas property is a read-only reference to the HTMLCanvasElement or OffscreenCanvas object that is associated with the context. It might be null if it is not associated with a <canvas> element or an OffscreenCanvas object.
The WebGLRenderingContext.checkFramebufferStatus() method of the WebGL API returns the completeness status of the WebGLFramebuffer object.
The WebGLRenderingContext.clear() method of the WebGL API clears buffers to preset values.
The WebGLRenderingContext.clearColor() method of the WebGL API specifies the color values used when clearing color buffers.
The WebGLRenderingContext.clearDepth() method of the WebGL API specifies the clear value for the depth buffer.
The WebGLRenderingContext.clearStencil() method of the WebGL API specifies the clear value for the stencil buffer.
The WebGLRenderingContext.colorMask() method of the WebGL API sets which color components to enable or to disable when drawing or rendering to a WebGLFramebuffer.