interface WebGL2RenderingContext {
    ACTIVE_ATTRIBUTES: number;
    ACTIVE_TEXTURE: number;
    ACTIVE_UNIFORMS: number;
    ACTIVE_UNIFORM_BLOCKS: number;
    ALIASED_LINE_WIDTH_RANGE: number;
    ALIASED_POINT_SIZE_RANGE: number;
    ALPHA: number;
    ALPHA_BITS: number;
    ALREADY_SIGNALED: number;
    ALWAYS: number;
    ANY_SAMPLES_PASSED: number;
    ANY_SAMPLES_PASSED_CONSERVATIVE: number;
    ARRAY_BUFFER: number;
    ARRAY_BUFFER_BINDING: number;
    ATTACHED_SHADERS: number;
    BACK: number;
    BLEND: number;
    BLEND_COLOR: number;
    BLEND_DST_ALPHA: number;
    BLEND_DST_RGB: number;
    BLEND_EQUATION: number;
    BLEND_EQUATION_ALPHA: number;
    BLEND_EQUATION_RGB: number;
    BLEND_SRC_ALPHA: number;
    BLEND_SRC_RGB: number;
    BLUE_BITS: number;
    BOOL: number;
    BOOL_VEC2: number;
    BOOL_VEC3: number;
    BOOL_VEC4: number;
    BROWSER_DEFAULT_WEBGL: number;
    BUFFER_SIZE: number;
    BUFFER_USAGE: number;
    BYTE: number;
    CCW: number;
    CLAMP_TO_EDGE: number;
    COLOR: number;
    COLOR_ATTACHMENT0: number;
    COLOR_ATTACHMENT1: number;
    COLOR_ATTACHMENT10: number;
    COLOR_ATTACHMENT11: number;
    COLOR_ATTACHMENT12: number;
    COLOR_ATTACHMENT13: number;
    COLOR_ATTACHMENT14: number;
    COLOR_ATTACHMENT15: number;
    COLOR_ATTACHMENT2: number;
    COLOR_ATTACHMENT3: number;
    COLOR_ATTACHMENT4: number;
    COLOR_ATTACHMENT5: number;
    COLOR_ATTACHMENT6: number;
    COLOR_ATTACHMENT7: number;
    COLOR_ATTACHMENT8: number;
    COLOR_ATTACHMENT9: number;
    COLOR_BUFFER_BIT: number;
    COLOR_CLEAR_VALUE: number;
    COLOR_WRITEMASK: number;
    COMPARE_REF_TO_TEXTURE: number;
    COMPILE_STATUS: number;
    COMPRESSED_TEXTURE_FORMATS: number;
    CONDITION_SATISFIED: number;
    CONSTANT_ALPHA: number;
    CONSTANT_COLOR: number;
    CONTEXT_LOST_WEBGL: number;
    COPY_READ_BUFFER: number;
    COPY_READ_BUFFER_BINDING: number;
    COPY_WRITE_BUFFER: number;
    COPY_WRITE_BUFFER_BINDING: number;
    CULL_FACE: number;
    CULL_FACE_MODE: number;
    CURRENT_PROGRAM: number;
    CURRENT_QUERY: number;
    CURRENT_VERTEX_ATTRIB: number;
    CW: number;
    DECR: number;
    DECR_WRAP: number;
    DELETE_STATUS: number;
    DEPTH: number;
    DEPTH24_STENCIL8: number;
    DEPTH32F_STENCIL8: number;
    DEPTH_ATTACHMENT: number;
    DEPTH_BITS: number;
    DEPTH_BUFFER_BIT: number;
    DEPTH_CLEAR_VALUE: number;
    DEPTH_COMPONENT: number;
    DEPTH_COMPONENT16: number;
    DEPTH_COMPONENT24: number;
    DEPTH_COMPONENT32F: number;
    DEPTH_FUNC: number;
    DEPTH_RANGE: number;
    DEPTH_STENCIL: number;
    DEPTH_STENCIL_ATTACHMENT: number;
    DEPTH_TEST: number;
    DEPTH_WRITEMASK: number;
    DITHER: number;
    DONT_CARE: number;
    DRAW_BUFFER0: number;
    DRAW_BUFFER1: number;
    DRAW_BUFFER10: number;
    DRAW_BUFFER11: number;
    DRAW_BUFFER12: number;
    DRAW_BUFFER13: number;
    DRAW_BUFFER14: number;
    DRAW_BUFFER15: number;
    DRAW_BUFFER2: number;
    DRAW_BUFFER3: number;
    DRAW_BUFFER4: number;
    DRAW_BUFFER5: number;
    DRAW_BUFFER6: number;
    DRAW_BUFFER7: number;
    DRAW_BUFFER8: number;
    DRAW_BUFFER9: number;
    DRAW_FRAMEBUFFER: number;
    DRAW_FRAMEBUFFER_BINDING: number;
    DST_ALPHA: number;
    DST_COLOR: number;
    DYNAMIC_COPY: number;
    DYNAMIC_DRAW: number;
    DYNAMIC_READ: number;
    ELEMENT_ARRAY_BUFFER: number;
    ELEMENT_ARRAY_BUFFER_BINDING: number;
    EQUAL: number;
    FASTEST: number;
    FLOAT: number;
    FLOAT_32_UNSIGNED_INT_24_8_REV: number;
    FLOAT_MAT2: number;
    FLOAT_MAT2x3: number;
    FLOAT_MAT2x4: number;
    FLOAT_MAT3: number;
    FLOAT_MAT3x2: number;
    FLOAT_MAT3x4: number;
    FLOAT_MAT4: number;
    FLOAT_MAT4x2: number;
    FLOAT_MAT4x3: number;
    FLOAT_VEC2: number;
    FLOAT_VEC3: number;
    FLOAT_VEC4: number;
    FRAGMENT_SHADER: number;
    FRAGMENT_SHADER_DERIVATIVE_HINT: number;
    FRAMEBUFFER: number;
    FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: number;
    FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: number;
    FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: number;
    FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: number;
    FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: number;
    FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: number;
    FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number;
    FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number;
    FRAMEBUFFER_ATTACHMENT_RED_SIZE: number;
    FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: number;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: number;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number;
    FRAMEBUFFER_BINDING: number;
    FRAMEBUFFER_COMPLETE: number;
    FRAMEBUFFER_DEFAULT: number;
    FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number;
    FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number;
    FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number;
    FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: number;
    FRAMEBUFFER_UNSUPPORTED: number;
    FRONT: number;
    FRONT_AND_BACK: number;
    FRONT_FACE: number;
    FUNC_ADD: number;
    FUNC_REVERSE_SUBTRACT: number;
    FUNC_SUBTRACT: number;
    GENERATE_MIPMAP_HINT: number;
    GEQUAL: number;
    GREATER: number;
    GREEN_BITS: number;
    HALF_FLOAT: number;
    HIGH_FLOAT: number;
    HIGH_INT: number;
    IMPLEMENTATION_COLOR_READ_FORMAT: number;
    IMPLEMENTATION_COLOR_READ_TYPE: number;
    INCR: number;
    INCR_WRAP: number;
    INT: number;
    INTERLEAVED_ATTRIBS: number;
    INT_2_10_10_10_REV: number;
    INT_SAMPLER_2D: number;
    INT_SAMPLER_2D_ARRAY: number;
    INT_SAMPLER_3D: number;
    INT_SAMPLER_CUBE: number;
    INT_VEC2: number;
    INT_VEC3: number;
    INT_VEC4: number;
    INVALID_ENUM: number;
    INVALID_FRAMEBUFFER_OPERATION: number;
    INVALID_INDEX: number;
    INVALID_OPERATION: number;
    INVALID_VALUE: number;
    INVERT: number;
    KEEP: number;
    LEQUAL: number;
    LESS: number;
    LINEAR: number;
    LINEAR_MIPMAP_LINEAR: number;
    LINEAR_MIPMAP_NEAREST: number;
    LINES: number;
    LINE_LOOP: number;
    LINE_STRIP: number;
    LINE_WIDTH: number;
    LINK_STATUS: number;
    LOW_FLOAT: number;
    LOW_INT: number;
    LUMINANCE: number;
    LUMINANCE_ALPHA: number;
    MAX: number;
    MAX_3D_TEXTURE_SIZE: number;
    MAX_ARRAY_TEXTURE_LAYERS: number;
    MAX_CLIENT_WAIT_TIMEOUT_WEBGL: number;
    MAX_COLOR_ATTACHMENTS: number;
    MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: number;
    MAX_COMBINED_TEXTURE_IMAGE_UNITS: number;
    MAX_COMBINED_UNIFORM_BLOCKS: number;
    MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: number;
    MAX_CUBE_MAP_TEXTURE_SIZE: number;
    MAX_DRAW_BUFFERS: number;
    MAX_ELEMENTS_INDICES: number;
    MAX_ELEMENTS_VERTICES: number;
    MAX_ELEMENT_INDEX: number;
    MAX_FRAGMENT_INPUT_COMPONENTS: number;
    MAX_FRAGMENT_UNIFORM_BLOCKS: number;
    MAX_FRAGMENT_UNIFORM_COMPONENTS: number;
    MAX_FRAGMENT_UNIFORM_VECTORS: number;
    MAX_PROGRAM_TEXEL_OFFSET: number;
    MAX_RENDERBUFFER_SIZE: number;
    MAX_SAMPLES: number;
    MAX_SERVER_WAIT_TIMEOUT: number;
    MAX_TEXTURE_IMAGE_UNITS: number;
    MAX_TEXTURE_LOD_BIAS: number;
    MAX_TEXTURE_SIZE: number;
    MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: number;
    MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: number;
    MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: number;
    MAX_UNIFORM_BLOCK_SIZE: number;
    MAX_UNIFORM_BUFFER_BINDINGS: number;
    MAX_VARYING_COMPONENTS: number;
    MAX_VARYING_VECTORS: number;
    MAX_VERTEX_ATTRIBS: number;
    MAX_VERTEX_OUTPUT_COMPONENTS: number;
    MAX_VERTEX_TEXTURE_IMAGE_UNITS: number;
    MAX_VERTEX_UNIFORM_BLOCKS: number;
    MAX_VERTEX_UNIFORM_COMPONENTS: number;
    MAX_VERTEX_UNIFORM_VECTORS: number;
    MAX_VIEWPORT_DIMS: number;
    MEDIUM_FLOAT: number;
    MEDIUM_INT: number;
    MIN: number;
    MIN_PROGRAM_TEXEL_OFFSET: number;
    MIRRORED_REPEAT: number;
    NEAREST: number;
    NEAREST_MIPMAP_LINEAR: number;
    NEAREST_MIPMAP_NEAREST: number;
    NEVER: number;
    NICEST: number;
    NONE: number;
    NOTEQUAL: number;
    NO_ERROR: number;
    OBJECT_TYPE: number;
    ONE: number;
    ONE_MINUS_CONSTANT_ALPHA: number;
    ONE_MINUS_CONSTANT_COLOR: number;
    ONE_MINUS_DST_ALPHA: number;
    ONE_MINUS_DST_COLOR: number;
    ONE_MINUS_SRC_ALPHA: number;
    ONE_MINUS_SRC_COLOR: number;
    OUT_OF_MEMORY: number;
    PACK_ALIGNMENT: number;
    PACK_ROW_LENGTH: number;
    PACK_SKIP_PIXELS: number;
    PACK_SKIP_ROWS: number;
    PIXEL_PACK_BUFFER: number;
    PIXEL_PACK_BUFFER_BINDING: number;
    PIXEL_UNPACK_BUFFER: number;
    PIXEL_UNPACK_BUFFER_BINDING: number;
    POINTS: number;
    POLYGON_OFFSET_FACTOR: number;
    POLYGON_OFFSET_FILL: number;
    POLYGON_OFFSET_UNITS: number;
    QUERY_RESULT: number;
    QUERY_RESULT_AVAILABLE: number;
    R11F_G11F_B10F: number;
    R16F: number;
    R16I: number;
    R16UI: number;
    R32F: number;
    R32I: number;
    R32UI: number;
    R8: number;
    R8I: number;
    R8UI: number;
    R8_SNORM: number;
    RASTERIZER_DISCARD: number;
    READ_BUFFER: number;
    READ_FRAMEBUFFER: number;
    READ_FRAMEBUFFER_BINDING: number;
    RED: number;
    RED_BITS: number;
    RED_INTEGER: number;
    RENDERBUFFER: number;
    RENDERBUFFER_ALPHA_SIZE: number;
    RENDERBUFFER_BINDING: number;
    RENDERBUFFER_BLUE_SIZE: number;
    RENDERBUFFER_DEPTH_SIZE: number;
    RENDERBUFFER_GREEN_SIZE: number;
    RENDERBUFFER_HEIGHT: number;
    RENDERBUFFER_INTERNAL_FORMAT: number;
    RENDERBUFFER_RED_SIZE: number;
    RENDERBUFFER_SAMPLES: number;
    RENDERBUFFER_STENCIL_SIZE: number;
    RENDERBUFFER_WIDTH: number;
    RENDERER: number;
    REPEAT: number;
    REPLACE: number;
    RG: number;
    RG16F: number;
    RG16I: number;
    RG16UI: number;
    RG32F: number;
    RG32I: number;
    RG32UI: number;
    RG8: number;
    RG8I: number;
    RG8UI: number;
    RG8_SNORM: number;
    RGB: number;
    RGB10_A2: number;
    RGB10_A2UI: number;
    RGB16F: number;
    RGB16I: number;
    RGB16UI: number;
    RGB32F: number;
    RGB32I: number;
    RGB32UI: number;
    RGB565: number;
    RGB5_A1: number;
    RGB8: number;
    RGB8I: number;
    RGB8UI: number;
    RGB8_SNORM: number;
    RGB9_E5: number;
    RGBA: number;
    RGBA16F: number;
    RGBA16I: number;
    RGBA16UI: number;
    RGBA32F: number;
    RGBA32I: number;
    RGBA32UI: number;
    RGBA4: number;
    RGBA8: number;
    RGBA8I: number;
    RGBA8UI: number;
    RGBA8_SNORM: number;
    RGBA_INTEGER: number;
    RGB_INTEGER: number;
    RG_INTEGER: number;
    SAMPLER_2D: number;
    SAMPLER_2D_ARRAY: number;
    SAMPLER_2D_ARRAY_SHADOW: number;
    SAMPLER_2D_SHADOW: number;
    SAMPLER_3D: number;
    SAMPLER_BINDING: number;
    SAMPLER_CUBE: number;
    SAMPLER_CUBE_SHADOW: number;
    SAMPLES: number;
    SAMPLE_ALPHA_TO_COVERAGE: number;
    SAMPLE_BUFFERS: number;
    SAMPLE_COVERAGE: number;
    SAMPLE_COVERAGE_INVERT: number;
    SAMPLE_COVERAGE_VALUE: number;
    SCISSOR_BOX: number;
    SCISSOR_TEST: number;
    SEPARATE_ATTRIBS: number;
    SHADER_TYPE: number;
    SHADING_LANGUAGE_VERSION: number;
    SHORT: number;
    SIGNALED: number;
    SIGNED_NORMALIZED: number;
    SRC_ALPHA: number;
    SRC_ALPHA_SATURATE: number;
    SRC_COLOR: number;
    SRGB: number;
    SRGB8: number;
    SRGB8_ALPHA8: number;
    STATIC_COPY: number;
    STATIC_DRAW: number;
    STATIC_READ: number;
    STENCIL: number;
    STENCIL_ATTACHMENT: number;
    STENCIL_BACK_FAIL: number;
    STENCIL_BACK_FUNC: number;
    STENCIL_BACK_PASS_DEPTH_FAIL: number;
    STENCIL_BACK_PASS_DEPTH_PASS: number;
    STENCIL_BACK_REF: number;
    STENCIL_BACK_VALUE_MASK: number;
    STENCIL_BACK_WRITEMASK: number;
    STENCIL_BITS: number;
    STENCIL_BUFFER_BIT: number;
    STENCIL_CLEAR_VALUE: number;
    STENCIL_FAIL: number;
    STENCIL_FUNC: number;
    STENCIL_INDEX8: number;
    STENCIL_PASS_DEPTH_FAIL: number;
    STENCIL_PASS_DEPTH_PASS: number;
    STENCIL_REF: number;
    STENCIL_TEST: number;
    STENCIL_VALUE_MASK: number;
    STENCIL_WRITEMASK: number;
    STREAM_COPY: number;
    STREAM_DRAW: number;
    STREAM_READ: number;
    SUBPIXEL_BITS: number;
    SYNC_CONDITION: number;
    SYNC_FENCE: number;
    SYNC_FLAGS: number;
    SYNC_FLUSH_COMMANDS_BIT: number;
    SYNC_GPU_COMMANDS_COMPLETE: number;
    SYNC_STATUS: number;
    TEXTURE: number;
    TEXTURE0: number;
    TEXTURE1: number;
    TEXTURE10: number;
    TEXTURE11: number;
    TEXTURE12: number;
    TEXTURE13: number;
    TEXTURE14: number;
    TEXTURE15: number;
    TEXTURE16: number;
    TEXTURE17: number;
    TEXTURE18: number;
    TEXTURE19: number;
    TEXTURE2: number;
    TEXTURE20: number;
    TEXTURE21: number;
    TEXTURE22: number;
    TEXTURE23: number;
    TEXTURE24: number;
    TEXTURE25: number;
    TEXTURE26: number;
    TEXTURE27: number;
    TEXTURE28: number;
    TEXTURE29: number;
    TEXTURE3: number;
    TEXTURE30: number;
    TEXTURE31: number;
    TEXTURE4: number;
    TEXTURE5: number;
    TEXTURE6: number;
    TEXTURE7: number;
    TEXTURE8: number;
    TEXTURE9: number;
    TEXTURE_2D: number;
    TEXTURE_2D_ARRAY: number;
    TEXTURE_3D: number;
    TEXTURE_BASE_LEVEL: number;
    TEXTURE_BINDING_2D: number;
    TEXTURE_BINDING_2D_ARRAY: number;
    TEXTURE_BINDING_3D: number;
    TEXTURE_BINDING_CUBE_MAP: number;
    TEXTURE_COMPARE_FUNC: number;
    TEXTURE_COMPARE_MODE: number;
    TEXTURE_CUBE_MAP: number;
    TEXTURE_CUBE_MAP_NEGATIVE_X: number;
    TEXTURE_CUBE_MAP_NEGATIVE_Y: number;
    TEXTURE_CUBE_MAP_NEGATIVE_Z: number;
    TEXTURE_CUBE_MAP_POSITIVE_X: number;
    TEXTURE_CUBE_MAP_POSITIVE_Y: number;
    TEXTURE_CUBE_MAP_POSITIVE_Z: number;
    TEXTURE_IMMUTABLE_FORMAT: number;
    TEXTURE_IMMUTABLE_LEVELS: number;
    TEXTURE_MAG_FILTER: number;
    TEXTURE_MAX_LEVEL: number;
    TEXTURE_MAX_LOD: number;
    TEXTURE_MIN_FILTER: number;
    TEXTURE_MIN_LOD: number;
    TEXTURE_WRAP_R: number;
    TEXTURE_WRAP_S: number;
    TEXTURE_WRAP_T: number;
    TIMEOUT_EXPIRED: number;
    TIMEOUT_IGNORED: number;
    TRANSFORM_FEEDBACK: number;
    TRANSFORM_FEEDBACK_ACTIVE: number;
    TRANSFORM_FEEDBACK_BINDING: number;
    TRANSFORM_FEEDBACK_BUFFER: number;
    TRANSFORM_FEEDBACK_BUFFER_BINDING: number;
    TRANSFORM_FEEDBACK_BUFFER_MODE: number;
    TRANSFORM_FEEDBACK_BUFFER_SIZE: number;
    TRANSFORM_FEEDBACK_BUFFER_START: number;
    TRANSFORM_FEEDBACK_PAUSED: number;
    TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: number;
    TRANSFORM_FEEDBACK_VARYINGS: number;
    TRIANGLES: number;
    TRIANGLE_FAN: number;
    TRIANGLE_STRIP: number;
    UNIFORM_ARRAY_STRIDE: number;
    UNIFORM_BLOCK_ACTIVE_UNIFORMS: number;
    UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: number;
    UNIFORM_BLOCK_BINDING: number;
    UNIFORM_BLOCK_DATA_SIZE: number;
    UNIFORM_BLOCK_INDEX: number;
    UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: number;
    UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: number;
    UNIFORM_BUFFER: number;
    UNIFORM_BUFFER_BINDING: number;
    UNIFORM_BUFFER_OFFSET_ALIGNMENT: number;
    UNIFORM_BUFFER_SIZE: number;
    UNIFORM_BUFFER_START: number;
    UNIFORM_IS_ROW_MAJOR: number;
    UNIFORM_MATRIX_STRIDE: number;
    UNIFORM_OFFSET: number;
    UNIFORM_SIZE: number;
    UNIFORM_TYPE: number;
    UNPACK_ALIGNMENT: number;
    UNPACK_COLORSPACE_CONVERSION_WEBGL: number;
    UNPACK_FLIP_Y_WEBGL: number;
    UNPACK_IMAGE_HEIGHT: number;
    UNPACK_PREMULTIPLY_ALPHA_WEBGL: number;
    UNPACK_ROW_LENGTH: number;
    UNPACK_SKIP_IMAGES: number;
    UNPACK_SKIP_PIXELS: number;
    UNPACK_SKIP_ROWS: number;
    UNSIGNALED: number;
    UNSIGNED_BYTE: number;
    UNSIGNED_INT: number;
    UNSIGNED_INT_10F_11F_11F_REV: number;
    UNSIGNED_INT_24_8: number;
    UNSIGNED_INT_2_10_10_10_REV: number;
    UNSIGNED_INT_5_9_9_9_REV: number;
    UNSIGNED_INT_SAMPLER_2D: number;
    UNSIGNED_INT_SAMPLER_2D_ARRAY: number;
    UNSIGNED_INT_SAMPLER_3D: number;
    UNSIGNED_INT_SAMPLER_CUBE: number;
    UNSIGNED_INT_VEC2: number;
    UNSIGNED_INT_VEC3: number;
    UNSIGNED_INT_VEC4: number;
    UNSIGNED_NORMALIZED: number;
    UNSIGNED_SHORT: number;
    UNSIGNED_SHORT_4_4_4_4: number;
    UNSIGNED_SHORT_5_5_5_1: number;
    UNSIGNED_SHORT_5_6_5: number;
    VALIDATE_STATUS: number;
    VENDOR: number;
    VERSION: number;
    VERTEX_ARRAY_BINDING: number;
    VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number;
    VERTEX_ATTRIB_ARRAY_DIVISOR: number;
    VERTEX_ATTRIB_ARRAY_ENABLED: number;
    VERTEX_ATTRIB_ARRAY_INTEGER: number;
    VERTEX_ATTRIB_ARRAY_NORMALIZED: number;
    VERTEX_ATTRIB_ARRAY_POINTER: number;
    VERTEX_ATTRIB_ARRAY_SIZE: number;
    VERTEX_ATTRIB_ARRAY_STRIDE: number;
    VERTEX_ATTRIB_ARRAY_TYPE: number;
    VERTEX_SHADER: number;
    VIEWPORT: number;
    WAIT_FAILED: number;
    ZERO: number;
    canvas: HTMLCanvasElement | OffscreenCanvas;
    drawingBufferHeight: number;
    drawingBufferWidth: number;
    activeTexture(texture): void;
    attachShader(program, shader): void;
    beginQuery(target, query): void;
    beginTransformFeedback(primitiveMode): void;
    bindAttribLocation(program, index, name): void;
    bindBuffer(target, buffer): void;
    bindBufferBase(target, index, buffer): void;
    bindBufferRange(target, index, buffer, offset, size): void;
    bindFramebuffer(target, framebuffer): void;
    bindRenderbuffer(target, renderbuffer): void;
    bindSampler(unit, sampler): void;
    bindTexture(target, texture): void;
    bindTransformFeedback(target, tf): void;
    bindVertexArray(array): void;
    blendColor(red, green, blue, alpha): void;
    blendEquation(mode): void;
    blendEquationSeparate(modeRGB, modeAlpha): void;
    blendFunc(sfactor, dfactor): void;
    blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha): void;
    blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter): void;
    bufferData(target, size, usage): void;
    bufferData(target, srcData, usage): void;
    bufferData(target, srcData, usage, srcOffset, length?): void;
    bufferSubData(target, dstByteOffset, srcData): void;
    bufferSubData(target, dstByteOffset, srcData, srcOffset, length?): void;
    checkFramebufferStatus(target): number;
    clear(mask): void;
    clearBufferfi(buffer, drawbuffer, depth, stencil): void;
    clearBufferfv(buffer, drawbuffer, values, srcOffset?): void;
    clearBufferfv(buffer, drawbuffer, values, srcOffset?): void;
    clearBufferiv(buffer, drawbuffer, values, srcOffset?): void;
    clearBufferiv(buffer, drawbuffer, values, srcOffset?): void;
    clearBufferuiv(buffer, drawbuffer, values, srcOffset?): void;
    clearBufferuiv(buffer, drawbuffer, values, srcOffset?): void;
    clearColor(red, green, blue, alpha): void;
    clearDepth(depth): void;
    clearStencil(s): void;
    clientWaitSync(sync, flags, timeout): number;
    colorMask(red, green, blue, alpha): void;
    compileShader(shader): void;
    compressedTexImage2D(target, level, internalformat, width, height, border, imageSize, offset): void;
    compressedTexImage2D(target, level, internalformat, width, height, border, srcData, srcOffset?, srcLengthOverride?): void;
    compressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, offset): void;
    compressedTexImage3D(target, level, internalformat, width, height, depth, border, srcData, srcOffset?, srcLengthOverride?): void;
    compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, offset): void;
    compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, srcData, srcOffset?, srcLengthOverride?): void;
    compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, offset): void;
    compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, srcData, srcOffset?, srcLengthOverride?): void;
    copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size): void;
    copyTexImage2D(target, level, internalformat, x, y, width, height, border): void;
    copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height): void;
    copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height): void;
    createBuffer(): null | WebGLBuffer;
    createFramebuffer(): null | WebGLFramebuffer;
    createProgram(): null | WebGLProgram;
    createQuery(): null | WebGLQuery;
    createRenderbuffer(): null | WebGLRenderbuffer;
    createSampler(): null | WebGLSampler;
    createShader(type): null | WebGLShader;
    createTexture(): null | WebGLTexture;
    createTransformFeedback(): null | WebGLTransformFeedback;
    createVertexArray(): null | WebGLVertexArrayObject;
    cullFace(mode): void;
    deleteBuffer(buffer): void;
    deleteFramebuffer(framebuffer): void;
    deleteProgram(program): void;
    deleteQuery(query): void;
    deleteRenderbuffer(renderbuffer): void;
    deleteSampler(sampler): void;
    deleteShader(shader): void;
    deleteSync(sync): void;
    deleteTexture(texture): void;
    deleteTransformFeedback(tf): void;
    deleteVertexArray(vertexArray): void;
    depthFunc(func): void;
    depthMask(flag): void;
    depthRange(zNear, zFar): void;
    detachShader(program, shader): void;
    disable(cap): void;
    disableVertexAttribArray(index): void;
    drawArrays(mode, first, count): void;
    drawArraysInstanced(mode, first, count, instanceCount): void;
    drawBuffers(buffers): void;
    drawBuffers(buffers): void;
    drawElements(mode, count, type, offset): void;
    drawElementsInstanced(mode, count, type, offset, instanceCount): void;
    drawRangeElements(mode, start, end, count, type, offset): void;
    enable(cap): void;
    enableVertexAttribArray(index): void;
    endQuery(target): void;
    endTransformFeedback(): void;
    fenceSync(condition, flags): null | WebGLSync;
    finish(): void;
    flush(): void;
    framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer): void;
    framebufferTexture2D(target, attachment, textarget, texture, level): void;
    framebufferTextureLayer(target, attachment, texture, level, layer): void;
    frontFace(mode): void;
    generateMipmap(target): void;
    getActiveAttrib(program, index): null | WebGLActiveInfo;
    getActiveUniform(program, index): null | WebGLActiveInfo;
    getActiveUniformBlockName(program, uniformBlockIndex): null | string;
    getActiveUniformBlockParameter(program, uniformBlockIndex, pname): any;
    getActiveUniforms(program, uniformIndices, pname): any;
    getActiveUniforms(program, uniformIndices, pname): any;
    getAttachedShaders(program): null | WebGLShader[];
    getAttribLocation(program, name): number;
    getBufferParameter(target, pname): any;
    getBufferSubData(target, srcByteOffset, dstBuffer, dstOffset?, length?): void;
    getContextAttributes(): null | WebGLContextAttributes;
    getError(): number;
    getExtension(extensionName): null | ANGLE_instanced_arrays;
    getExtension(extensionName): null | EXT_blend_minmax;
    getExtension(extensionName): null | EXT_color_buffer_float;
    getExtension(extensionName): null | EXT_color_buffer_half_float;
    getExtension(extensionName): null | EXT_float_blend;
    getExtension(extensionName): null | EXT_frag_depth;
    getExtension(extensionName): null | EXT_sRGB;
    getExtension(extensionName): null | EXT_shader_texture_lod;
    getExtension(extensionName): null | EXT_texture_compression_bptc;
    getExtension(extensionName): null | EXT_texture_compression_rgtc;
    getExtension(extensionName): null | EXT_texture_filter_anisotropic;
    getExtension(extensionName): null | KHR_parallel_shader_compile;
    getExtension(extensionName): null | OES_element_index_uint;
    getExtension(extensionName): null | OES_fbo_render_mipmap;
    getExtension(extensionName): null | OES_standard_derivatives;
    getExtension(extensionName): null | OES_texture_float;
    getExtension(extensionName): null | OES_texture_float_linear;
    getExtension(extensionName): null | OES_texture_half_float;
    getExtension(extensionName): null | OES_texture_half_float_linear;
    getExtension(extensionName): null | OES_vertex_array_object;
    getExtension(extensionName): null | OVR_multiview2;
    getExtension(extensionName): null | WEBGL_color_buffer_float;
    getExtension(extensionName): null | WEBGL_compressed_texture_astc;
    getExtension(extensionName): null | WEBGL_compressed_texture_etc;
    getExtension(extensionName): null | WEBGL_compressed_texture_etc1;
    getExtension(extensionName): null | WEBGL_compressed_texture_s3tc;
    getExtension(extensionName): null | WEBGL_compressed_texture_s3tc_srgb;
    getExtension(extensionName): null | WEBGL_debug_renderer_info;
    getExtension(extensionName): null | WEBGL_debug_shaders;
    getExtension(extensionName): null | WEBGL_depth_texture;
    getExtension(extensionName): null | WEBGL_draw_buffers;
    getExtension(extensionName): null | WEBGL_lose_context;
    getExtension(extensionName): null | WEBGL_multi_draw;
    getExtension(name): any;
    getFragDataLocation(program, name): number;
    getFramebufferAttachmentParameter(target, attachment, pname): any;
    getIndexedParameter(target, index): any;
    getInternalformatParameter(target, internalformat, pname): any;
    getParameter(pname): any;
    getProgramInfoLog(program): null | string;
    getProgramParameter(program, pname): any;
    getQuery(target, pname): null | WebGLQuery;
    getQueryParameter(query, pname): any;
    getRenderbufferParameter(target, pname): any;
    getSamplerParameter(sampler, pname): any;
    getShaderInfoLog(shader): null | string;
    getShaderParameter(shader, pname): any;
    getShaderPrecisionFormat(shadertype, precisiontype): null | WebGLShaderPrecisionFormat;
    getShaderSource(shader): null | string;
    getSupportedExtensions(): null | string[];
    getSyncParameter(sync, pname): any;
    getTexParameter(target, pname): any;
    getTransformFeedbackVarying(program, index): null | WebGLActiveInfo;
    getUniform(program, location): any;
    getUniformBlockIndex(program, uniformBlockName): number;
    getUniformIndices(program, uniformNames): null | number[];
    getUniformIndices(program, uniformNames): null | Iterable<number>;
    getUniformLocation(program, name): null | WebGLUniformLocation;
    getVertexAttrib(index, pname): any;
    getVertexAttribOffset(index, pname): number;
    hint(target, mode): void;
    invalidateFramebuffer(target, attachments): void;
    invalidateFramebuffer(target, attachments): void;
    invalidateSubFramebuffer(target, attachments, x, y, width, height): void;
    invalidateSubFramebuffer(target, attachments, x, y, width, height): void;
    isBuffer(buffer): boolean;
    isContextLost(): boolean;
    isEnabled(cap): boolean;
    isFramebuffer(framebuffer): boolean;
    isProgram(program): boolean;
    isQuery(query): boolean;
    isRenderbuffer(renderbuffer): boolean;
    isSampler(sampler): boolean;
    isShader(shader): boolean;
    isSync(sync): boolean;
    isTexture(texture): boolean;
    isTransformFeedback(tf): boolean;
    isVertexArray(vertexArray): boolean;
    lineWidth(width): void;
    linkProgram(program): void;
    pauseTransformFeedback(): void;
    pixelStorei(pname, param): void;
    polygonOffset(factor, units): void;
    readBuffer(src): void;
    readPixels(x, y, width, height, format, type, dstData): void;
    readPixels(x, y, width, height, format, type, offset): void;
    readPixels(x, y, width, height, format, type, dstData, dstOffset): void;
    renderbufferStorage(target, internalformat, width, height): void;
    renderbufferStorageMultisample(target, samples, internalformat, width, height): void;
    resumeTransformFeedback(): void;
    sampleCoverage(value, invert): void;
    samplerParameterf(sampler, pname, param): void;
    samplerParameteri(sampler, pname, param): void;
    scissor(x, y, width, height): void;
    shaderSource(shader, source): void;
    stencilFunc(func, ref, mask): void;
    stencilFuncSeparate(face, func, ref, mask): void;
    stencilMask(mask): void;
    stencilMaskSeparate(face, mask): void;
    stencilOp(fail, zfail, zpass): void;
    stencilOpSeparate(face, fail, zfail, zpass): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, pixels): void;
    texImage2D(target, level, internalformat, format, type, source): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, pboOffset): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, source): void;
    texImage2D(target, level, internalformat, width, height, border, format, type, srcData, srcOffset): void;
    texImage3D(target, level, internalformat, width, height, depth, border, format, type, pboOffset): void;
    texImage3D(target, level, internalformat, width, height, depth, border, format, type, source): void;
    texImage3D(target, level, internalformat, width, height, depth, border, format, type, srcData): void;
    texImage3D(target, level, internalformat, width, height, depth, border, format, type, srcData, srcOffset): void;
    texParameterf(target, pname, param): void;
    texParameteri(target, pname, param): void;
    texStorage2D(target, levels, internalformat, width, height): void;
    texStorage3D(target, levels, internalformat, width, height, depth): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels): void;
    texSubImage2D(target, level, xoffset, yoffset, format, type, source): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pboOffset): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, source): void;
    texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, srcData, srcOffset): void;
    texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pboOffset): void;
    texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, source): void;
    texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData, srcOffset?): void;
    transformFeedbackVaryings(program, varyings, bufferMode): void;
    transformFeedbackVaryings(program, varyings, bufferMode): void;
    uniform1f(location, x): void;
    uniform1fv(location, data, srcOffset?, srcLength?): void;
    uniform1fv(location, data, srcOffset?, srcLength?): void;
    uniform1i(location, x): void;
    uniform1iv(location, data, srcOffset?, srcLength?): void;
    uniform1iv(location, data, srcOffset?, srcLength?): void;
    uniform1ui(location, v0): void;
    uniform1uiv(location, data, srcOffset?, srcLength?): void;
    uniform1uiv(location, data, srcOffset?, srcLength?): void;
    uniform2f(location, x, y): void;
    uniform2fv(location, data, srcOffset?, srcLength?): void;
    uniform2fv(location, data, srcOffset?, srcLength?): void;
    uniform2i(location, x, y): void;
    uniform2iv(location, data, srcOffset?, srcLength?): void;
    uniform2iv(location, data, srcOffset?, srcLength?): void;
    uniform2ui(location, v0, v1): void;
    uniform2uiv(location, data, srcOffset?, srcLength?): void;
    uniform2uiv(location, data, srcOffset?, srcLength?): void;
    uniform3f(location, x, y, z): void;
    uniform3fv(location, data, srcOffset?, srcLength?): void;
    uniform3fv(location, data, srcOffset?, srcLength?): void;
    uniform3i(location, x, y, z): void;
    uniform3iv(location, data, srcOffset?, srcLength?): void;
    uniform3iv(location, data, srcOffset?, srcLength?): void;
    uniform3ui(location, v0, v1, v2): void;
    uniform3uiv(location, data, srcOffset?, srcLength?): void;
    uniform3uiv(location, data, srcOffset?, srcLength?): void;
    uniform4f(location, x, y, z, w): void;
    uniform4fv(location, data, srcOffset?, srcLength?): void;
    uniform4fv(location, data, srcOffset?, srcLength?): void;
    uniform4i(location, x, y, z, w): void;
    uniform4iv(location, data, srcOffset?, srcLength?): void;
    uniform4iv(location, data, srcOffset?, srcLength?): void;
    uniform4ui(location, v0, v1, v2, v3): void;
    uniform4uiv(location, data, srcOffset?, srcLength?): void;
    uniform4uiv(location, data, srcOffset?, srcLength?): void;
    uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding): void;
    uniformMatrix2fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix2fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix2x3fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix2x3fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix2x4fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix2x4fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix3fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix3fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix3x2fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix3x2fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix3x4fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix3x4fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix4fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix4fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix4x2fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix4x2fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix4x3fv(location, transpose, data, srcOffset?, srcLength?): void;
    uniformMatrix4x3fv(location, transpose, data, srcOffset?, srcLength?): void;
    useProgram(program): void;
    validateProgram(program): void;
    vertexAttrib1f(index, x): void;
    vertexAttrib1fv(index, values): void;
    vertexAttrib1fv(index, values): void;
    vertexAttrib2f(index, x, y): void;
    vertexAttrib2fv(index, values): void;
    vertexAttrib2fv(index, values): void;
    vertexAttrib3f(index, x, y, z): void;
    vertexAttrib3fv(index, values): void;
    vertexAttrib3fv(index, values): void;
    vertexAttrib4f(index, x, y, z, w): void;
    vertexAttrib4fv(index, values): void;
    vertexAttrib4fv(index, values): void;
    vertexAttribDivisor(index, divisor): void;
    vertexAttribI4i(index, x, y, z, w): void;
    vertexAttribI4iv(index, values): void;
    vertexAttribI4iv(index, values): void;
    vertexAttribI4ui(index, x, y, z, w): void;
    vertexAttribI4uiv(index, values): void;
    vertexAttribI4uiv(index, values): void;
    vertexAttribIPointer(index, size, type, stride, offset): void;
    vertexAttribPointer(index, size, type, normalized, stride, offset): void;
    viewport(x, y, width, height): void;
    waitSync(sync, flags, timeout): void;
}

Hierarchy

  • WebGL2RenderingContextBase
  • WebGL2RenderingContextOverloads
  • WebGLRenderingContextBase
    • WebGL2RenderingContext

Properties

ACTIVE_ATTRIBUTES ACTIVE_TEXTURE ACTIVE_UNIFORMS ACTIVE_UNIFORM_BLOCKS ALIASED_LINE_WIDTH_RANGE ALIASED_POINT_SIZE_RANGE ALPHA ALPHA_BITS ALREADY_SIGNALED ALWAYS ANY_SAMPLES_PASSED ANY_SAMPLES_PASSED_CONSERVATIVE ARRAY_BUFFER ARRAY_BUFFER_BINDING ATTACHED_SHADERS BACK BLEND BLEND_COLOR BLEND_DST_ALPHA BLEND_DST_RGB BLEND_EQUATION BLEND_EQUATION_ALPHA BLEND_EQUATION_RGB BLEND_SRC_ALPHA BLEND_SRC_RGB BLUE_BITS BOOL BOOL_VEC2 BOOL_VEC3 BOOL_VEC4 BROWSER_DEFAULT_WEBGL BUFFER_SIZE BUFFER_USAGE BYTE CCW CLAMP_TO_EDGE COLOR COLOR_ATTACHMENT0 COLOR_ATTACHMENT1 COLOR_ATTACHMENT10 COLOR_ATTACHMENT11 COLOR_ATTACHMENT12 COLOR_ATTACHMENT13 COLOR_ATTACHMENT14 COLOR_ATTACHMENT15 COLOR_ATTACHMENT2 COLOR_ATTACHMENT3 COLOR_ATTACHMENT4 COLOR_ATTACHMENT5 COLOR_ATTACHMENT6 COLOR_ATTACHMENT7 COLOR_ATTACHMENT8 COLOR_ATTACHMENT9 COLOR_BUFFER_BIT COLOR_CLEAR_VALUE COLOR_WRITEMASK COMPARE_REF_TO_TEXTURE COMPILE_STATUS COMPRESSED_TEXTURE_FORMATS CONDITION_SATISFIED CONSTANT_ALPHA CONSTANT_COLOR CONTEXT_LOST_WEBGL COPY_READ_BUFFER COPY_READ_BUFFER_BINDING COPY_WRITE_BUFFER COPY_WRITE_BUFFER_BINDING CULL_FACE CULL_FACE_MODE CURRENT_PROGRAM CURRENT_QUERY CURRENT_VERTEX_ATTRIB CW DECR DECR_WRAP DELETE_STATUS DEPTH DEPTH24_STENCIL8 DEPTH32F_STENCIL8 DEPTH_ATTACHMENT DEPTH_BITS DEPTH_BUFFER_BIT DEPTH_CLEAR_VALUE DEPTH_COMPONENT DEPTH_COMPONENT16 DEPTH_COMPONENT24 DEPTH_COMPONENT32F DEPTH_FUNC DEPTH_RANGE DEPTH_STENCIL DEPTH_STENCIL_ATTACHMENT DEPTH_TEST DEPTH_WRITEMASK DITHER DONT_CARE DRAW_BUFFER0 DRAW_BUFFER1 DRAW_BUFFER10 DRAW_BUFFER11 DRAW_BUFFER12 DRAW_BUFFER13 DRAW_BUFFER14 DRAW_BUFFER15 DRAW_BUFFER2 DRAW_BUFFER3 DRAW_BUFFER4 DRAW_BUFFER5 DRAW_BUFFER6 DRAW_BUFFER7 DRAW_BUFFER8 DRAW_BUFFER9 DRAW_FRAMEBUFFER DRAW_FRAMEBUFFER_BINDING DST_ALPHA DST_COLOR DYNAMIC_COPY DYNAMIC_DRAW DYNAMIC_READ ELEMENT_ARRAY_BUFFER ELEMENT_ARRAY_BUFFER_BINDING EQUAL FASTEST FLOAT FLOAT_32_UNSIGNED_INT_24_8_REV FLOAT_MAT2 FLOAT_MAT2x3 FLOAT_MAT2x4 FLOAT_MAT3 FLOAT_MAT3x2 FLOAT_MAT3x4 FLOAT_MAT4 FLOAT_MAT4x2 FLOAT_MAT4x3 FLOAT_VEC2 FLOAT_VEC3 FLOAT_VEC4 FRAGMENT_SHADER FRAGMENT_SHADER_DERIVATIVE_HINT FRAMEBUFFER FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE FRAMEBUFFER_ATTACHMENT_BLUE_SIZE FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE FRAMEBUFFER_ATTACHMENT_GREEN_SIZE FRAMEBUFFER_ATTACHMENT_OBJECT_NAME FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE FRAMEBUFFER_ATTACHMENT_RED_SIZE FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL FRAMEBUFFER_BINDING FRAMEBUFFER_COMPLETE FRAMEBUFFER_DEFAULT FRAMEBUFFER_INCOMPLETE_ATTACHMENT FRAMEBUFFER_INCOMPLETE_DIMENSIONS FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT FRAMEBUFFER_INCOMPLETE_MULTISAMPLE FRAMEBUFFER_UNSUPPORTED FRONT FRONT_AND_BACK FRONT_FACE FUNC_ADD FUNC_REVERSE_SUBTRACT FUNC_SUBTRACT GENERATE_MIPMAP_HINT GEQUAL GREATER GREEN_BITS HALF_FLOAT HIGH_FLOAT HIGH_INT IMPLEMENTATION_COLOR_READ_FORMAT IMPLEMENTATION_COLOR_READ_TYPE INCR INCR_WRAP INT INTERLEAVED_ATTRIBS INT_2_10_10_10_REV INT_SAMPLER_2D INT_SAMPLER_2D_ARRAY INT_SAMPLER_3D INT_SAMPLER_CUBE INT_VEC2 INT_VEC3 INT_VEC4 INVALID_ENUM INVALID_FRAMEBUFFER_OPERATION INVALID_INDEX INVALID_OPERATION INVALID_VALUE INVERT KEEP LEQUAL LESS LINEAR LINEAR_MIPMAP_LINEAR LINEAR_MIPMAP_NEAREST LINES LINE_LOOP LINE_STRIP LINE_WIDTH LINK_STATUS LOW_FLOAT LOW_INT LUMINANCE LUMINANCE_ALPHA MAX MAX_3D_TEXTURE_SIZE MAX_ARRAY_TEXTURE_LAYERS MAX_CLIENT_WAIT_TIMEOUT_WEBGL MAX_COLOR_ATTACHMENTS MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS MAX_COMBINED_TEXTURE_IMAGE_UNITS MAX_COMBINED_UNIFORM_BLOCKS MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS MAX_CUBE_MAP_TEXTURE_SIZE MAX_DRAW_BUFFERS MAX_ELEMENTS_INDICES MAX_ELEMENTS_VERTICES MAX_ELEMENT_INDEX MAX_FRAGMENT_INPUT_COMPONENTS MAX_FRAGMENT_UNIFORM_BLOCKS MAX_FRAGMENT_UNIFORM_COMPONENTS MAX_FRAGMENT_UNIFORM_VECTORS MAX_PROGRAM_TEXEL_OFFSET MAX_RENDERBUFFER_SIZE MAX_SAMPLES MAX_SERVER_WAIT_TIMEOUT MAX_TEXTURE_IMAGE_UNITS MAX_TEXTURE_LOD_BIAS MAX_TEXTURE_SIZE MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS MAX_UNIFORM_BLOCK_SIZE MAX_UNIFORM_BUFFER_BINDINGS MAX_VARYING_COMPONENTS MAX_VARYING_VECTORS MAX_VERTEX_ATTRIBS MAX_VERTEX_OUTPUT_COMPONENTS MAX_VERTEX_TEXTURE_IMAGE_UNITS MAX_VERTEX_UNIFORM_BLOCKS MAX_VERTEX_UNIFORM_COMPONENTS MAX_VERTEX_UNIFORM_VECTORS MAX_VIEWPORT_DIMS MEDIUM_FLOAT MEDIUM_INT MIN MIN_PROGRAM_TEXEL_OFFSET MIRRORED_REPEAT NEAREST NEAREST_MIPMAP_LINEAR NEAREST_MIPMAP_NEAREST NEVER NICEST NONE NOTEQUAL NO_ERROR OBJECT_TYPE ONE ONE_MINUS_CONSTANT_ALPHA ONE_MINUS_CONSTANT_COLOR ONE_MINUS_DST_ALPHA ONE_MINUS_DST_COLOR ONE_MINUS_SRC_ALPHA ONE_MINUS_SRC_COLOR OUT_OF_MEMORY PACK_ALIGNMENT PACK_ROW_LENGTH PACK_SKIP_PIXELS PACK_SKIP_ROWS PIXEL_PACK_BUFFER PIXEL_PACK_BUFFER_BINDING PIXEL_UNPACK_BUFFER PIXEL_UNPACK_BUFFER_BINDING POINTS POLYGON_OFFSET_FACTOR POLYGON_OFFSET_FILL POLYGON_OFFSET_UNITS QUERY_RESULT QUERY_RESULT_AVAILABLE R11F_G11F_B10F R16F R16I R16UI R32F R32I R32UI R8 R8I R8UI R8_SNORM RASTERIZER_DISCARD READ_BUFFER READ_FRAMEBUFFER READ_FRAMEBUFFER_BINDING RED RED_BITS RED_INTEGER RENDERBUFFER RENDERBUFFER_ALPHA_SIZE RENDERBUFFER_BINDING RENDERBUFFER_BLUE_SIZE RENDERBUFFER_DEPTH_SIZE RENDERBUFFER_GREEN_SIZE RENDERBUFFER_HEIGHT RENDERBUFFER_INTERNAL_FORMAT RENDERBUFFER_RED_SIZE RENDERBUFFER_SAMPLES RENDERBUFFER_STENCIL_SIZE RENDERBUFFER_WIDTH RENDERER REPEAT REPLACE RG RG16F RG16I RG16UI RG32F RG32I RG32UI RG8 RG8I RG8UI RG8_SNORM RGB RGB10_A2 RGB10_A2UI RGB16F RGB16I RGB16UI RGB32F RGB32I RGB32UI RGB565 RGB5_A1 RGB8 RGB8I RGB8UI RGB8_SNORM RGB9_E5 RGBA RGBA16F RGBA16I RGBA16UI RGBA32F RGBA32I RGBA32UI RGBA4 RGBA8 RGBA8I RGBA8UI RGBA8_SNORM RGBA_INTEGER RGB_INTEGER RG_INTEGER SAMPLER_2D SAMPLER_2D_ARRAY SAMPLER_2D_ARRAY_SHADOW SAMPLER_2D_SHADOW SAMPLER_3D SAMPLER_BINDING SAMPLER_CUBE SAMPLER_CUBE_SHADOW SAMPLES SAMPLE_ALPHA_TO_COVERAGE SAMPLE_BUFFERS SAMPLE_COVERAGE SAMPLE_COVERAGE_INVERT SAMPLE_COVERAGE_VALUE SCISSOR_BOX SCISSOR_TEST SEPARATE_ATTRIBS SHADER_TYPE SHADING_LANGUAGE_VERSION SHORT SIGNALED SIGNED_NORMALIZED SRC_ALPHA SRC_ALPHA_SATURATE SRC_COLOR SRGB SRGB8 SRGB8_ALPHA8 STATIC_COPY STATIC_DRAW STATIC_READ STENCIL STENCIL_ATTACHMENT STENCIL_BACK_FAIL STENCIL_BACK_FUNC STENCIL_BACK_PASS_DEPTH_FAIL STENCIL_BACK_PASS_DEPTH_PASS STENCIL_BACK_REF STENCIL_BACK_VALUE_MASK STENCIL_BACK_WRITEMASK STENCIL_BITS STENCIL_BUFFER_BIT STENCIL_CLEAR_VALUE STENCIL_FAIL STENCIL_FUNC STENCIL_INDEX8 STENCIL_PASS_DEPTH_FAIL STENCIL_PASS_DEPTH_PASS STENCIL_REF STENCIL_TEST STENCIL_VALUE_MASK STENCIL_WRITEMASK STREAM_COPY STREAM_DRAW STREAM_READ SUBPIXEL_BITS SYNC_CONDITION SYNC_FENCE SYNC_FLAGS SYNC_FLUSH_COMMANDS_BIT SYNC_GPU_COMMANDS_COMPLETE SYNC_STATUS TEXTURE TEXTURE0 TEXTURE1 TEXTURE10 TEXTURE11 TEXTURE12 TEXTURE13 TEXTURE14 TEXTURE15 TEXTURE16 TEXTURE17 TEXTURE18 TEXTURE19 TEXTURE2 TEXTURE20 TEXTURE21 TEXTURE22 TEXTURE23 TEXTURE24 TEXTURE25 TEXTURE26 TEXTURE27 TEXTURE28 TEXTURE29 TEXTURE3 TEXTURE30 TEXTURE31 TEXTURE4 TEXTURE5 TEXTURE6 TEXTURE7 TEXTURE8 TEXTURE9 TEXTURE_2D TEXTURE_2D_ARRAY TEXTURE_3D TEXTURE_BASE_LEVEL TEXTURE_BINDING_2D TEXTURE_BINDING_2D_ARRAY TEXTURE_BINDING_3D TEXTURE_BINDING_CUBE_MAP TEXTURE_COMPARE_FUNC TEXTURE_COMPARE_MODE TEXTURE_CUBE_MAP TEXTURE_CUBE_MAP_NEGATIVE_X TEXTURE_CUBE_MAP_NEGATIVE_Y TEXTURE_CUBE_MAP_NEGATIVE_Z TEXTURE_CUBE_MAP_POSITIVE_X TEXTURE_CUBE_MAP_POSITIVE_Y TEXTURE_CUBE_MAP_POSITIVE_Z TEXTURE_IMMUTABLE_FORMAT TEXTURE_IMMUTABLE_LEVELS TEXTURE_MAG_FILTER TEXTURE_MAX_LEVEL TEXTURE_MAX_LOD TEXTURE_MIN_FILTER TEXTURE_MIN_LOD TEXTURE_WRAP_R TEXTURE_WRAP_S TEXTURE_WRAP_T TIMEOUT_EXPIRED TIMEOUT_IGNORED TRANSFORM_FEEDBACK TRANSFORM_FEEDBACK_ACTIVE TRANSFORM_FEEDBACK_BINDING TRANSFORM_FEEDBACK_BUFFER TRANSFORM_FEEDBACK_BUFFER_BINDING TRANSFORM_FEEDBACK_BUFFER_MODE TRANSFORM_FEEDBACK_BUFFER_SIZE TRANSFORM_FEEDBACK_BUFFER_START TRANSFORM_FEEDBACK_PAUSED TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN TRANSFORM_FEEDBACK_VARYINGS TRIANGLES TRIANGLE_FAN TRIANGLE_STRIP UNIFORM_ARRAY_STRIDE UNIFORM_BLOCK_ACTIVE_UNIFORMS UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES UNIFORM_BLOCK_BINDING UNIFORM_BLOCK_DATA_SIZE UNIFORM_BLOCK_INDEX UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER UNIFORM_BUFFER UNIFORM_BUFFER_BINDING UNIFORM_BUFFER_OFFSET_ALIGNMENT UNIFORM_BUFFER_SIZE UNIFORM_BUFFER_START UNIFORM_IS_ROW_MAJOR UNIFORM_MATRIX_STRIDE UNIFORM_OFFSET UNIFORM_SIZE UNIFORM_TYPE UNPACK_ALIGNMENT UNPACK_COLORSPACE_CONVERSION_WEBGL UNPACK_FLIP_Y_WEBGL UNPACK_IMAGE_HEIGHT UNPACK_PREMULTIPLY_ALPHA_WEBGL UNPACK_ROW_LENGTH UNPACK_SKIP_IMAGES UNPACK_SKIP_PIXELS UNPACK_SKIP_ROWS UNSIGNALED UNSIGNED_BYTE UNSIGNED_INT UNSIGNED_INT_10F_11F_11F_REV UNSIGNED_INT_24_8 UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_5_9_9_9_REV UNSIGNED_INT_SAMPLER_2D UNSIGNED_INT_SAMPLER_2D_ARRAY UNSIGNED_INT_SAMPLER_3D UNSIGNED_INT_SAMPLER_CUBE UNSIGNED_INT_VEC2 UNSIGNED_INT_VEC3 UNSIGNED_INT_VEC4 UNSIGNED_NORMALIZED UNSIGNED_SHORT UNSIGNED_SHORT_4_4_4_4 UNSIGNED_SHORT_5_5_5_1 UNSIGNED_SHORT_5_6_5 VALIDATE_STATUS VENDOR VERSION VERTEX_ARRAY_BINDING VERTEX_ATTRIB_ARRAY_BUFFER_BINDING VERTEX_ATTRIB_ARRAY_DIVISOR VERTEX_ATTRIB_ARRAY_ENABLED VERTEX_ATTRIB_ARRAY_INTEGER VERTEX_ATTRIB_ARRAY_NORMALIZED VERTEX_ATTRIB_ARRAY_POINTER VERTEX_ATTRIB_ARRAY_SIZE VERTEX_ATTRIB_ARRAY_STRIDE VERTEX_ATTRIB_ARRAY_TYPE VERTEX_SHADER VIEWPORT WAIT_FAILED ZERO canvas drawingBufferHeight drawingBufferWidth

Methods

activeTexture attachShader beginQuery beginTransformFeedback bindAttribLocation bindBuffer bindBufferBase bindBufferRange bindFramebuffer bindRenderbuffer bindSampler bindTexture bindTransformFeedback bindVertexArray blendColor blendEquation blendEquationSeparate blendFunc blendFuncSeparate blitFramebuffer bufferData bufferSubData checkFramebufferStatus clear clearBufferfi clearBufferfv clearBufferiv clearBufferuiv clearColor clearDepth clearStencil clientWaitSync colorMask compileShader compressedTexImage2D compressedTexImage3D compressedTexSubImage2D compressedTexSubImage3D copyBufferSubData copyTexImage2D copyTexSubImage2D copyTexSubImage3D createBuffer createFramebuffer createProgram createQuery createRenderbuffer createSampler createShader createTexture createTransformFeedback createVertexArray cullFace deleteBuffer deleteFramebuffer deleteProgram deleteQuery deleteRenderbuffer deleteSampler deleteShader deleteSync deleteTexture deleteTransformFeedback deleteVertexArray depthFunc depthMask depthRange detachShader disable disableVertexAttribArray drawArrays drawArraysInstanced drawBuffers drawElements drawElementsInstanced drawRangeElements enable enableVertexAttribArray endQuery endTransformFeedback fenceSync finish flush framebufferRenderbuffer framebufferTexture2D framebufferTextureLayer frontFace generateMipmap getActiveAttrib getActiveUniform getActiveUniformBlockName getActiveUniformBlockParameter getActiveUniforms getAttachedShaders getAttribLocation getBufferParameter getBufferSubData getContextAttributes getError getExtension getFragDataLocation getFramebufferAttachmentParameter getIndexedParameter getInternalformatParameter getParameter getProgramInfoLog getProgramParameter getQuery getQueryParameter getRenderbufferParameter getSamplerParameter getShaderInfoLog getShaderParameter getShaderPrecisionFormat getShaderSource getSupportedExtensions getSyncParameter getTexParameter getTransformFeedbackVarying getUniform getUniformBlockIndex getUniformIndices getUniformLocation getVertexAttrib getVertexAttribOffset hint invalidateFramebuffer invalidateSubFramebuffer isBuffer isContextLost isEnabled isFramebuffer isProgram isQuery isRenderbuffer isSampler isShader isSync isTexture isTransformFeedback isVertexArray lineWidth linkProgram pauseTransformFeedback pixelStorei polygonOffset readBuffer readPixels renderbufferStorage renderbufferStorageMultisample resumeTransformFeedback sampleCoverage samplerParameterf samplerParameteri scissor shaderSource stencilFunc stencilFuncSeparate stencilMask stencilMaskSeparate stencilOp stencilOpSeparate texImage2D texImage3D texParameterf texParameteri texStorage2D texStorage3D texSubImage2D texSubImage3D transformFeedbackVaryings uniform1f uniform1fv uniform1i uniform1iv uniform1ui uniform1uiv uniform2f uniform2fv uniform2i uniform2iv uniform2ui uniform2uiv uniform3f uniform3fv uniform3i uniform3iv uniform3ui uniform3uiv uniform4f uniform4fv uniform4i uniform4iv uniform4ui uniform4uiv uniformBlockBinding uniformMatrix2fv uniformMatrix2x3fv uniformMatrix2x4fv uniformMatrix3fv uniformMatrix3x2fv uniformMatrix3x4fv uniformMatrix4fv uniformMatrix4x2fv uniformMatrix4x3fv useProgram validateProgram vertexAttrib1f vertexAttrib1fv vertexAttrib2f vertexAttrib2fv vertexAttrib3f vertexAttrib3fv vertexAttrib4f vertexAttrib4fv vertexAttribDivisor vertexAttribI4i vertexAttribI4iv vertexAttribI4ui vertexAttribI4uiv vertexAttribIPointer vertexAttribPointer viewport waitSync

Properties

ACTIVE_ATTRIBUTES: number
ACTIVE_TEXTURE: number
ACTIVE_UNIFORMS: number
ACTIVE_UNIFORM_BLOCKS: number
ALIASED_LINE_WIDTH_RANGE: number
ALIASED_POINT_SIZE_RANGE: number
ALPHA: number
ALPHA_BITS: number
ALREADY_SIGNALED: number
ALWAYS: number
ANY_SAMPLES_PASSED: number
ANY_SAMPLES_PASSED_CONSERVATIVE: number
ARRAY_BUFFER: number
ARRAY_BUFFER_BINDING: number
ATTACHED_SHADERS: number
BACK: number
BLEND: number
BLEND_COLOR: number
BLEND_DST_ALPHA: number
BLEND_DST_RGB: number
BLEND_EQUATION: number
BLEND_EQUATION_ALPHA: number
BLEND_EQUATION_RGB: number
BLEND_SRC_ALPHA: number
BLEND_SRC_RGB: number
BLUE_BITS: number
BOOL: number
BOOL_VEC2: number
BOOL_VEC3: number
BOOL_VEC4: number
BROWSER_DEFAULT_WEBGL: number
BUFFER_SIZE: number
BUFFER_USAGE: number
BYTE: number
CCW: number
CLAMP_TO_EDGE: number
COLOR: number
COLOR_ATTACHMENT0: number
COLOR_ATTACHMENT1: number
COLOR_ATTACHMENT10: number
COLOR_ATTACHMENT11: number
COLOR_ATTACHMENT12: number
COLOR_ATTACHMENT13: number
COLOR_ATTACHMENT14: number
COLOR_ATTACHMENT15: number
COLOR_ATTACHMENT2: number
COLOR_ATTACHMENT3: number
COLOR_ATTACHMENT4: number
COLOR_ATTACHMENT5: number
COLOR_ATTACHMENT6: number
COLOR_ATTACHMENT7: number
COLOR_ATTACHMENT8: number
COLOR_ATTACHMENT9: number
COLOR_BUFFER_BIT: number
COLOR_CLEAR_VALUE: number
COLOR_WRITEMASK: number
COMPARE_REF_TO_TEXTURE: number
COMPILE_STATUS: number
COMPRESSED_TEXTURE_FORMATS: number
CONDITION_SATISFIED: number
CONSTANT_ALPHA: number
CONSTANT_COLOR: number
CONTEXT_LOST_WEBGL: number
COPY_READ_BUFFER: number
COPY_READ_BUFFER_BINDING: number
COPY_WRITE_BUFFER: number
COPY_WRITE_BUFFER_BINDING: number
CULL_FACE: number
CULL_FACE_MODE: number
CURRENT_PROGRAM: number
CURRENT_QUERY: number
CURRENT_VERTEX_ATTRIB: number
CW: number
DECR: number
DECR_WRAP: number
DELETE_STATUS: number
DEPTH: number
DEPTH24_STENCIL8: number
DEPTH32F_STENCIL8: number
DEPTH_ATTACHMENT: number
DEPTH_BITS: number
DEPTH_BUFFER_BIT: number
DEPTH_CLEAR_VALUE: number
DEPTH_COMPONENT: number
DEPTH_COMPONENT16: number
DEPTH_COMPONENT24: number
DEPTH_COMPONENT32F: number
DEPTH_FUNC: number
DEPTH_RANGE: number
DEPTH_STENCIL: number
DEPTH_STENCIL_ATTACHMENT: number
DEPTH_TEST: number
DEPTH_WRITEMASK: number
DITHER: number
DONT_CARE: number
DRAW_BUFFER0: number
DRAW_BUFFER1: number
DRAW_BUFFER10: number
DRAW_BUFFER11: number
DRAW_BUFFER12: number
DRAW_BUFFER13: number
DRAW_BUFFER14: number
DRAW_BUFFER15: number
DRAW_BUFFER2: number
DRAW_BUFFER3: number
DRAW_BUFFER4: number
DRAW_BUFFER5: number
DRAW_BUFFER6: number
DRAW_BUFFER7: number
DRAW_BUFFER8: number
DRAW_BUFFER9: number
DRAW_FRAMEBUFFER: number
DRAW_FRAMEBUFFER_BINDING: number
DST_ALPHA: number
DST_COLOR: number
DYNAMIC_COPY: number
DYNAMIC_DRAW: number
DYNAMIC_READ: number
ELEMENT_ARRAY_BUFFER: number
ELEMENT_ARRAY_BUFFER_BINDING: number
EQUAL: number
FASTEST: number
FLOAT: number
FLOAT_32_UNSIGNED_INT_24_8_REV: number
FLOAT_MAT2: number
FLOAT_MAT2x3: number
FLOAT_MAT2x4: number
FLOAT_MAT3: number
FLOAT_MAT3x2: number
FLOAT_MAT3x4: number
FLOAT_MAT4: number
FLOAT_MAT4x2: number
FLOAT_MAT4x3: number
FLOAT_VEC2: number
FLOAT_VEC3: number
FLOAT_VEC4: number
FRAGMENT_SHADER: number
FRAGMENT_SHADER_DERIVATIVE_HINT: number
FRAMEBUFFER: number
FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: number
FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: number
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: number
FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: number
FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: number
FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: number
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number
FRAMEBUFFER_ATTACHMENT_RED_SIZE: number
FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: number
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: number
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number
FRAMEBUFFER_BINDING: number
FRAMEBUFFER_COMPLETE: number
FRAMEBUFFER_DEFAULT: number
FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number
FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number
FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: number
FRAMEBUFFER_UNSUPPORTED: number
FRONT: number
FRONT_AND_BACK: number
FRONT_FACE: number
FUNC_ADD: number
FUNC_REVERSE_SUBTRACT: number
FUNC_SUBTRACT: number
GENERATE_MIPMAP_HINT: number
GEQUAL: number
GREATER: number
GREEN_BITS: number
HALF_FLOAT: number
HIGH_FLOAT: number
HIGH_INT: number
IMPLEMENTATION_COLOR_READ_FORMAT: number
IMPLEMENTATION_COLOR_READ_TYPE: number
INCR: number
INCR_WRAP: number
INT: number
INTERLEAVED_ATTRIBS: number
INT_2_10_10_10_REV: number
INT_SAMPLER_2D: number
INT_SAMPLER_2D_ARRAY: number
INT_SAMPLER_3D: number
INT_SAMPLER_CUBE: number
INT_VEC2: number
INT_VEC3: number
INT_VEC4: number
INVALID_ENUM: number
INVALID_FRAMEBUFFER_OPERATION: number
INVALID_INDEX: number
INVALID_OPERATION: number
INVALID_VALUE: number
INVERT: number
KEEP: number
LEQUAL: number
LESS: number
LINEAR: number
LINEAR_MIPMAP_LINEAR: number
LINEAR_MIPMAP_NEAREST: number
LINES: number
LINE_LOOP: number
LINE_STRIP: number
LINE_WIDTH: number
LINK_STATUS: number
LOW_FLOAT: number
LOW_INT: number
LUMINANCE: number
LUMINANCE_ALPHA: number
MAX: number
MAX_3D_TEXTURE_SIZE: number
MAX_ARRAY_TEXTURE_LAYERS: number
MAX_CLIENT_WAIT_TIMEOUT_WEBGL: number
MAX_COLOR_ATTACHMENTS: number
MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: number
MAX_COMBINED_TEXTURE_IMAGE_UNITS: number
MAX_COMBINED_UNIFORM_BLOCKS: number
MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: number
MAX_CUBE_MAP_TEXTURE_SIZE: number
MAX_DRAW_BUFFERS: number
MAX_ELEMENTS_INDICES: number
MAX_ELEMENTS_VERTICES: number
MAX_ELEMENT_INDEX: number
MAX_FRAGMENT_INPUT_COMPONENTS: number
MAX_FRAGMENT_UNIFORM_BLOCKS: number
MAX_FRAGMENT_UNIFORM_COMPONENTS: number
MAX_FRAGMENT_UNIFORM_VECTORS: number
MAX_PROGRAM_TEXEL_OFFSET: number
MAX_RENDERBUFFER_SIZE: number
MAX_SAMPLES: number
MAX_SERVER_WAIT_TIMEOUT: number
MAX_TEXTURE_IMAGE_UNITS: number
MAX_TEXTURE_LOD_BIAS: number
MAX_TEXTURE_SIZE: number
MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: number
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: number
MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: number
MAX_UNIFORM_BLOCK_SIZE: number
MAX_UNIFORM_BUFFER_BINDINGS: number
MAX_VARYING_COMPONENTS: number
MAX_VARYING_VECTORS: number
MAX_VERTEX_ATTRIBS: number
MAX_VERTEX_OUTPUT_COMPONENTS: number
MAX_VERTEX_TEXTURE_IMAGE_UNITS: number
MAX_VERTEX_UNIFORM_BLOCKS: number
MAX_VERTEX_UNIFORM_COMPONENTS: number
MAX_VERTEX_UNIFORM_VECTORS: number
MAX_VIEWPORT_DIMS: number
MEDIUM_FLOAT: number
MEDIUM_INT: number
MIN: number
MIN_PROGRAM_TEXEL_OFFSET: number
MIRRORED_REPEAT: number
NEAREST: number
NEAREST_MIPMAP_LINEAR: number
NEAREST_MIPMAP_NEAREST: number
NEVER: number
NICEST: number
NONE: number
NOTEQUAL: number
NO_ERROR: number
OBJECT_TYPE: number
ONE: number
ONE_MINUS_CONSTANT_ALPHA: number
ONE_MINUS_CONSTANT_COLOR: number
ONE_MINUS_DST_ALPHA: number
ONE_MINUS_DST_COLOR: number
ONE_MINUS_SRC_ALPHA: number
ONE_MINUS_SRC_COLOR: number
OUT_OF_MEMORY: number
PACK_ALIGNMENT: number
PACK_ROW_LENGTH: number
PACK_SKIP_PIXELS: number
PACK_SKIP_ROWS: number
PIXEL_PACK_BUFFER: number
PIXEL_PACK_BUFFER_BINDING: number
PIXEL_UNPACK_BUFFER: number
PIXEL_UNPACK_BUFFER_BINDING: number
POINTS: number
POLYGON_OFFSET_FACTOR: number
POLYGON_OFFSET_FILL: number
POLYGON_OFFSET_UNITS: number
QUERY_RESULT: number
QUERY_RESULT_AVAILABLE: number
R11F_G11F_B10F: number
R16F: number
R16I: number
R16UI: number
R32F: number
R32I: number
R32UI: number
R8: number
R8I: number
R8UI: number
R8_SNORM: number
RASTERIZER_DISCARD: number
READ_BUFFER: number
READ_FRAMEBUFFER: number
READ_FRAMEBUFFER_BINDING: number
RED: number
RED_BITS: number
RED_INTEGER: number
RENDERBUFFER: number
RENDERBUFFER_ALPHA_SIZE: number
RENDERBUFFER_BINDING: number
RENDERBUFFER_BLUE_SIZE: number
RENDERBUFFER_DEPTH_SIZE: number
RENDERBUFFER_GREEN_SIZE: number
RENDERBUFFER_HEIGHT: number
RENDERBUFFER_INTERNAL_FORMAT: number
RENDERBUFFER_RED_SIZE: number
RENDERBUFFER_SAMPLES: number
RENDERBUFFER_STENCIL_SIZE: number
RENDERBUFFER_WIDTH: number
RENDERER: number
REPEAT: number
REPLACE: number
RG: number
RG16F: number
RG16I: number
RG16UI: number
RG32F: number
RG32I: number
RG32UI: number
RG8: number
RG8I: number
RG8UI: number
RG8_SNORM: number
RGB: number
RGB10_A2: number
RGB10_A2UI: number
RGB16F: number
RGB16I: number
RGB16UI: number
RGB32F: number
RGB32I: number
RGB32UI: number
RGB565: number
RGB5_A1: number
RGB8: number
RGB8I: number
RGB8UI: number
RGB8_SNORM: number
RGB9_E5: number
RGBA: number
RGBA16F: number
RGBA16I: number
RGBA16UI: number
RGBA32F: number
RGBA32I: number
RGBA32UI: number
RGBA4: number
RGBA8: number
RGBA8I: number
RGBA8UI: number
RGBA8_SNORM: number
RGBA_INTEGER: number
RGB_INTEGER: number
RG_INTEGER: number
SAMPLER_2D: number
SAMPLER_2D_ARRAY: number
SAMPLER_2D_ARRAY_SHADOW: number
SAMPLER_2D_SHADOW: number
SAMPLER_3D: number
SAMPLER_BINDING: number
SAMPLER_CUBE: number
SAMPLER_CUBE_SHADOW: number
SAMPLES: number
SAMPLE_ALPHA_TO_COVERAGE: number
SAMPLE_BUFFERS: number
SAMPLE_COVERAGE: number
SAMPLE_COVERAGE_INVERT: number
SAMPLE_COVERAGE_VALUE: number
SCISSOR_BOX: number
SCISSOR_TEST: number
SEPARATE_ATTRIBS: number
SHADER_TYPE: number
SHADING_LANGUAGE_VERSION: number
SHORT: number
SIGNALED: number
SIGNED_NORMALIZED: number
SRC_ALPHA: number
SRC_ALPHA_SATURATE: number
SRC_COLOR: number
SRGB: number
SRGB8: number
SRGB8_ALPHA8: number
STATIC_COPY: number
STATIC_DRAW: number
STATIC_READ: number
STENCIL: number
STENCIL_ATTACHMENT: number
STENCIL_BACK_FAIL: number
STENCIL_BACK_FUNC: number
STENCIL_BACK_PASS_DEPTH_FAIL: number
STENCIL_BACK_PASS_DEPTH_PASS: number
STENCIL_BACK_REF: number
STENCIL_BACK_VALUE_MASK: number
STENCIL_BACK_WRITEMASK: number
STENCIL_BITS: number
STENCIL_BUFFER_BIT: number
STENCIL_CLEAR_VALUE: number
STENCIL_FAIL: number
STENCIL_FUNC: number
STENCIL_INDEX8: number
STENCIL_PASS_DEPTH_FAIL: number
STENCIL_PASS_DEPTH_PASS: number
STENCIL_REF: number
STENCIL_TEST: number
STENCIL_VALUE_MASK: number
STENCIL_WRITEMASK: number
STREAM_COPY: number
STREAM_DRAW: number
STREAM_READ: number
SUBPIXEL_BITS: number
SYNC_CONDITION: number
SYNC_FENCE: number
SYNC_FLAGS: number
SYNC_FLUSH_COMMANDS_BIT: number
SYNC_GPU_COMMANDS_COMPLETE: number
SYNC_STATUS: number
TEXTURE: number
TEXTURE0: number
TEXTURE1: number
TEXTURE10: number
TEXTURE11: number
TEXTURE12: number
TEXTURE13: number
TEXTURE14: number
TEXTURE15: number
TEXTURE16: number
TEXTURE17: number
TEXTURE18: number
TEXTURE19: number
TEXTURE2: number
TEXTURE20: number
TEXTURE21: number
TEXTURE22: number
TEXTURE23: number
TEXTURE24: number
TEXTURE25: number
TEXTURE26: number
TEXTURE27: number
TEXTURE28: number
TEXTURE29: number
TEXTURE3: number
TEXTURE30: number
TEXTURE31: number
TEXTURE4: number
TEXTURE5: number
TEXTURE6: number
TEXTURE7: number
TEXTURE8: number
TEXTURE9: number
TEXTURE_2D: number
TEXTURE_2D_ARRAY: number
TEXTURE_3D: number
TEXTURE_BASE_LEVEL: number
TEXTURE_BINDING_2D: number
TEXTURE_BINDING_2D_ARRAY: number
TEXTURE_BINDING_3D: number
TEXTURE_BINDING_CUBE_MAP: number
TEXTURE_COMPARE_FUNC: number
TEXTURE_COMPARE_MODE: number
TEXTURE_CUBE_MAP: number
TEXTURE_CUBE_MAP_NEGATIVE_X: number
TEXTURE_CUBE_MAP_NEGATIVE_Y: number
TEXTURE_CUBE_MAP_NEGATIVE_Z: number
TEXTURE_CUBE_MAP_POSITIVE_X: number
TEXTURE_CUBE_MAP_POSITIVE_Y: number
TEXTURE_CUBE_MAP_POSITIVE_Z: number
TEXTURE_IMMUTABLE_FORMAT: number
TEXTURE_IMMUTABLE_LEVELS: number
TEXTURE_MAG_FILTER: number
TEXTURE_MAX_LEVEL: number
TEXTURE_MAX_LOD: number
TEXTURE_MIN_FILTER: number
TEXTURE_MIN_LOD: number
TEXTURE_WRAP_R: number
TEXTURE_WRAP_S: number
TEXTURE_WRAP_T: number
TIMEOUT_EXPIRED: number
TIMEOUT_IGNORED: number
TRANSFORM_FEEDBACK: number
TRANSFORM_FEEDBACK_ACTIVE: number
TRANSFORM_FEEDBACK_BINDING: number
TRANSFORM_FEEDBACK_BUFFER: number
TRANSFORM_FEEDBACK_BUFFER_BINDING: number
TRANSFORM_FEEDBACK_BUFFER_MODE: number
TRANSFORM_FEEDBACK_BUFFER_SIZE: number
TRANSFORM_FEEDBACK_BUFFER_START: number
TRANSFORM_FEEDBACK_PAUSED: number
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: number
TRANSFORM_FEEDBACK_VARYINGS: number
TRIANGLES: number
TRIANGLE_FAN: number
TRIANGLE_STRIP: number
UNIFORM_ARRAY_STRIDE: number
UNIFORM_BLOCK_ACTIVE_UNIFORMS: number
UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: number
UNIFORM_BLOCK_BINDING: number
UNIFORM_BLOCK_DATA_SIZE: number
UNIFORM_BLOCK_INDEX: number
UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: number
UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: number
UNIFORM_BUFFER: number
UNIFORM_BUFFER_BINDING: number
UNIFORM_BUFFER_OFFSET_ALIGNMENT: number
UNIFORM_BUFFER_SIZE: number
UNIFORM_BUFFER_START: number
UNIFORM_IS_ROW_MAJOR: number
UNIFORM_MATRIX_STRIDE: number
UNIFORM_OFFSET: number
UNIFORM_SIZE: number
UNIFORM_TYPE: number
UNPACK_ALIGNMENT: number
UNPACK_COLORSPACE_CONVERSION_WEBGL: number
UNPACK_FLIP_Y_WEBGL: number
UNPACK_IMAGE_HEIGHT: number
UNPACK_PREMULTIPLY_ALPHA_WEBGL: number
UNPACK_ROW_LENGTH: number
UNPACK_SKIP_IMAGES: number
UNPACK_SKIP_PIXELS: number
UNPACK_SKIP_ROWS: number
UNSIGNALED: number
UNSIGNED_BYTE: number
UNSIGNED_INT: number
UNSIGNED_INT_10F_11F_11F_REV: number
UNSIGNED_INT_24_8: number
UNSIGNED_INT_2_10_10_10_REV: number
UNSIGNED_INT_5_9_9_9_REV: number
UNSIGNED_INT_SAMPLER_2D: number
UNSIGNED_INT_SAMPLER_2D_ARRAY: number
UNSIGNED_INT_SAMPLER_3D: number
UNSIGNED_INT_SAMPLER_CUBE: number
UNSIGNED_INT_VEC2: number
UNSIGNED_INT_VEC3: number
UNSIGNED_INT_VEC4: number
UNSIGNED_NORMALIZED: number
UNSIGNED_SHORT: number
UNSIGNED_SHORT_4_4_4_4: number
UNSIGNED_SHORT_5_5_5_1: number
UNSIGNED_SHORT_5_6_5: number
VALIDATE_STATUS: number
VENDOR: number
VERSION: number
VERTEX_ARRAY_BINDING: number
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number
VERTEX_ATTRIB_ARRAY_DIVISOR: number
VERTEX_ATTRIB_ARRAY_ENABLED: number
VERTEX_ATTRIB_ARRAY_INTEGER: number
VERTEX_ATTRIB_ARRAY_NORMALIZED: number
VERTEX_ATTRIB_ARRAY_POINTER: number
VERTEX_ATTRIB_ARRAY_SIZE: number
VERTEX_ATTRIB_ARRAY_STRIDE: number
VERTEX_ATTRIB_ARRAY_TYPE: number
VERTEX_SHADER: number
VIEWPORT: number
WAIT_FAILED: number
ZERO: number
drawingBufferHeight: number
drawingBufferWidth: number

Methods

  • Parameters

    • texture: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • primitiveMode: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • index: number
    • buffer: null | WebGLBuffer
    • offset: number
    • size: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

  • Parameters

    • mode: number

    Returns void

  • Parameters

    • modeRGB: number
    • modeAlpha: number

    Returns void

  • Parameters

    • sfactor: number
    • dfactor: number

    Returns void

  • Parameters

    • srcRGB: number
    • dstRGB: number
    • srcAlpha: number
    • dstAlpha: number

    Returns void

  • Parameters

    • srcX0: number
    • srcY0: number
    • srcX1: number
    • srcY1: number
    • dstX0: number
    • dstY0: number
    • dstX1: number
    • dstY1: number
    • mask: number
    • filter: number

    Returns void

  • Parameters

    • target: number
    • size: number
    • usage: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • srcData: ArrayBufferView
    • usage: number
    • srcOffset: number
    • Optional length: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • dstByteOffset: number
    • srcData: ArrayBufferView
    • srcOffset: number
    • Optional length: number

    Returns void

  • Parameters

    • target: number

    Returns number

  • Parameters

    • mask: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • depth: number
    • stencil: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Float32List
    • Optional srcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number>
    • Optional srcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Int32List
    • Optional srcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number>
    • Optional srcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Uint32List
    • Optional srcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number>
    • Optional srcOffset: number

    Returns void

  • Parameters

    • red: number
    • green: number
    • blue: number
    • alpha: number

    Returns void

  • Parameters

    • depth: number

    Returns void

  • Parameters

    • s: number

    Returns void

  • Parameters

    Returns number

  • Parameters

    • red: boolean
    • green: boolean
    • blue: boolean
    • alpha: boolean

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • imageSize: number
    • offset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • srcData: ArrayBufferView
    • Optional srcOffset: number
    • Optional srcLengthOverride: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • imageSize: number
    • offset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • srcData: ArrayBufferView
    • Optional