cs rendering context for the drawing surface of an HTML canvas element. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext) */ interface WebGLRenderingContext extends WebGLRenderingContextBase, WebGLRenderingContextOverloads { } declare var WebGLRenderingContext: { prototype: WebGLRenderingContext; new(): WebGLRenderingContext; readonly DEPTH_BUFFER_BIT: 0x00000100; readonly STENCIL_BUFFER_BIT: 0x00000400; readonly COLOR_BUFFER_BIT: 0x00004000; readonly POINTS: 0x0000; readonly LINES: 0x0001; readonly LINE_LOOP: 0x0002; readonly LINE_STRIP: 0x0003; readonly TRIANGLES: 0x0004; readonly TRIANGLE_STRIP: 0x0005; readonly TRIANGLE_FAN: 0x0006; readonly ZERO: 0; readonly ONE: 1; readonly SRC_COLOR: 0x0300; readonly ONE_MINUS_SRC_COLOR: 0x0301; readonly SRC_ALPHA: 0x0302; readonly ONE_MINUS_SRC_ALPHA: 0x0303; readonly DST_ALPHA: 0x0304; readonly ONE_MINUS_DST_ALPHA: 0x0305; readonly DST_COLOR: 0x0306; readonly ONE_MINUS_DST_COLOR: 0x0307; readonly SRC_ALPHA_SATURATE: 0x0308; readonly FUNC_ADD: 0x8006; readonly BLEND_EQUATION: 0x8009; readonly BLEND_EQUATION_RGB: 0x8009; readonly BLEND_EQUATION_ALPHA: 0x883D; readonly FUNC_SUBTRACT: 0x800A; readonly FUNC_REVERSE_SUBTRACT: 0x800B; readonly BLEND_DST_RGB: 0x80C8; readonly BLEND_SRC_RGB: 0x80C9; readonly BLEND_DST_ALPHA: 0x80CA; readonly BLEND_SRC_ALPHA: 0x80CB; readonly CONSTANT_COLOR: 0x8001; readonly ONE_MINUS_CONSTANT_COLOR: 0x8002; readonly CONSTANT_ALPHA: 0x8003; readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004; readonly BLEND_COLOR: 0x8005; readonly ARRAY_BUFFER: 0x8892; readonly ELEMENT_ARRAY_BUFFER: 0x8893; readonly ARRAY_BUFFER_BINDING: 0x8894; readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895; readonly STREAM_DRAW: 0x88E0; readonly STATIC_DRAW: 0x88E4; readonly DYNAMIC_DRAW: 0x88E8; readonly BUFFER_SIZE: 0x8764; readonly BUFFER_USAGE: 0x8765; readonly CURRENT_VERTEX_ATTRIB: 0x8626; readonly FRONT: 0x0404; readonly BACK: 0x0405; readonly FRONT_AND_BACK: 0x0408; readonly CULL_FACE: 0x0B44; readonly BLEND: 0x0BE2; readonly DITHER: 0x0BD0; readonly STENCIL_TEST: 0x0B90; readonly DEPTH_TEST: 0x0B71; readonly SCISSOR_TEST: 0x0C11; readonly POLYGON_OFFSET_FILL: 0x8037; readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E; readonly SAMPLE_COVERAGE: 0x80A0; readonly NO_ERROR: 0; readonly INVALID_ENUM: 0x0500; readonly INVALID_VALUE: 0x0501; readonly INVALID_OPERATION: 0x0502; readonly OUT_OF_MEMORY: 0x0505; readonly CW: 0x0900; readonly CCW: 0x0901; readonly LINE_WIDTH: 0x0B21; readonly ALIASED_POINT_SIZE_RANGE: 0x846D; readonly ALIASED_LINE_WIDTH_RANGE: 0x846E; readonly CULL_FACE_MODE: 0x0B45; readonly FRONT_FACE: 0x0B46; readonly DEPTH_RANGE: 0x0B70; readonly DEPTH_WRITEMASK: 0x0B72; readonly DEPTH_CLEAR_VALUE: 0x0B73; readonly DEPTH_FUNC: 0x0B74; readonly STENCIL_CLEAR_VALUE: 0x0B91; readonly STENCIL_FUNC: 0x0B92; readonly STENCIL_FAIL: 0x0B94; readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95; readonly STENCIL_PASS_DEPTH_PASS: 0x0B96; readonly STENCIL_REF: 0x0B97; readonly STENCIL_VALUE_MASK: 0x0B93; readonly STENCIL_WRITEMASK: 0x0B98; readonly STENCIL_BACK_FUNC: 0x8800; readonly STENCIL_BACK_FAIL: 0x8801; readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802; readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803; readonly STENCIL_BACK_REF: 0x8CA3; readonly STENCIL_BACK_VALUE_MASK: 0x8CA4; readonly STENCIL_BACK_WRITEMASK: 0x8CA5; readonly VIEWPORT: 0x0BA2; readonly SCISSOR_BOX: 0x0C10; readonly COLOR_CLEAR_VALUE: 0x0C22; readonly COLOR_WRITEMASK: 0x0C23; readonly UNPACK_ALIGNMENT: 0x0CF5; readonly PACK_ALIGNMENT: 0x0D05; readonly MAX_TEXTURE_SIZE: 0x0D33; readonly MAX_VIEWPORT_DIMS: 0x0D3A; readonly SUBPIXEL_BITS: 0x0D50; readonly RED_BITS: 0x0D52; readonly GREEN_BITS: 0x0D53; readonly BLUE_BITS: 0x0D54; readonly ALPHA_BITS: 0x0D55; readonly DEPTH_BITS: 0x0D56; readonly STENCIL_BITS: 0x0D57; readonly POLYGON_OFFSET_UNITS: 0x2A00; readonly POLYGON_OFFSET_FACTOR: 0x8038; readonly TEXTURE_BINDING_2D: 0x8069; readonly SAMPLE_BUFFERS: 0x80A8; readonly SAMPLES: 0x80A9; readonly SAMPLE_COVERAGE_VALUE: 0x80AA; readonly SAMPLE_COVERAGE_INVERT: 0x80AB; readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3; readonly DONT_CARE: 0x1100; readonly FASTEST: 0x1101; readonly NICEST: 0x1102; readonly GENERATE_MIPMAP_HINT: 0x8192; readonly BYTE: 0x1400; readonly UNSIGNED_BYTE: 0x1401; readonly SHORT: 0x1402; readonly UNSIGNED_SHORT: 0x1403; readonly INT: 0x1404; readonly UNSIGNED_INT: 0x1405; readonly FLOAT: 0x1406; readonly DEPTH_COMPONENT: 0x1902; readonly ALPHA: 0x1906; readonly RGB: 0x1907; readonly RGBA: 0x1908; readonly LUMINANCE: 0x1909; readonly LUMINANCE_ALPHA: 0x190A; readonly UNSIGNED_SHORT_4_4_4_4: 0x8033; readonly UNSIGNED_SHORT_5_5_5_1: 0x8034; readonly UNSIGNED_SHORT_5_6_5: 0x8363; readonly FRAGMENT_SHADER: 0x8B30; readonly VERTEX_SHADER: 0x8B31; readonly MAX_VERTEX_ATTRIBS: 0x8869; readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB; readonly MAX_VARYING_VECTORS: 0x8DFC; readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D; readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C; readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872; readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD; readonly SHADER_TYPE: 0x8B4F; readonly DELETE_STATUS: 0x8B80; readonly LINK_STATUS: 0x8B82; readonly VALIDATE_STATUS: 0x8B83; readonly ATTACHED_SHADERS: 0x8B85; readonly ACTIVE_UNIFORMS: 0x8B86; readonly ACTIVE_ATTRIBUTES: 0x8B89; readonly SHADING_LANGUAGE_VERSION: 0x8B8C; readonly CURRENT_PROGRAM: 0x8B8D; readonly NEVER: 0x0200; readonly LESS: 0x0201; readonly EQUAL: 0x0202; readonly LEQUAL: 0x0203; readonly GREATER: 0x0204; readonly NOTEQUAL: 0x0205; readonly GEQUAL: 0x0206; readonly ALWAYS: 0x0207; readonly KEEP: 0x1E00; readonly REPLACE: 0x1E01; readonly INCR: 0x1E02; readonly DECR: 0x1E03; readonly INVERT: 0x150A; readonly INCR_WRAP: 0x8507; readonly DECR_WRAP: 0x8508; readonly VENDOR: 0x1F00; readonly RENDERER: 0x1F01; readonly VERSION: 0x1F02; readonly NEAREST: 0x2600; readonly LINEAR: 0x2601; readonly NEAREST_MIPMAP_NEAREST: 0x2700; readonly LINEAR_MIPMAP_NEAREST: 0x2701; readonly NEAREST_MIPMAP_LINEAR: 0x2702; readonly LINEAR_MIPMAP_LINEAR: 0x2703; readonly TEXTURE_MAG_FILTER: 0x2800; readonly TEXTURE_MIN_FILTER: 0x2801; readonly TEXTURE_WRAP_S: 0x2802; readonly TEXTURE_WRAP_T: 0x2803; readonly TEXTURE_2D: 0x0DE1; readonly TEXTURE: 0x1702; readonly TEXTURE_CUBE_MAP: 0x8513; readonly TEXTURE_BINDING_CUBE_MAP: 0x8514; readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515; readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516; readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517; readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518; readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519; readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A; readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C; readonly TEXTURE0: 0x84C0; readonly TEXTURE1: 0x84C1; readonly TEXTURE2: 0x84C2; readonly TEXTURE3: 0x84C3; readonly TEXTURE4: 0x84C4; readonly TEXTURE5: 0x84C5; readonly TEXTURE6: 0x84C6; readonly TEXTURE7: 0x84C7; readonly TEXTURE8: 0x84C8; readonly TEXTURE9: 0x84C9; readonly TEXTURE10: 0x84CA; readonly TEXTURE11: 0x84CB; readonly TEXTURE12: 0x84CC; readonly TEXTURE13: 0x84CD; readonly TEXTURE14: 0x84CE; readonly TEXTURE15: 0x84CF; readonly TEXTURE16: 0x84D0; readonly TEXTURE17: 0x84D1; readonly TEXTURE18: 0x84D2; readonly TEXTURE19: 0x84D3; readonly TEXTURE20: 0x84D4; readonly TEXTURE21: 0x84D5; readonly TEXTURE22: 0x84D6; readonly TEXTURE23: 0x84D7; readonly TEXTURE24: 0x84D8; readonly TEXTURE25: 0x84D9; readonly TEXTURE26: 0x84DA; readonly TEXTURE27: 0x84DB; readonly TEXTURE28: 0x84DC; readonly TEXTURE29: 0x84DD; readonly TEXTURE30: 0x84DE; readonly TEXTURE31: 0x84DF; readonly ACTIVE_TEXTURE: 0x84E0; readonly REPEAT: 0x2901; readonly CLAMP_TO_EDGE: 0x812F; readonly MIRRORED_REPEAT: 0x8370; readonly FLOAT_VEC2: 0x8B50; readonly FLOAT_VEC3: 0x8B51; readonly FLOAT_VEC4: 0x8B52; readonly INT_VEC2: 0x8B53; readonly INT_VEC3: 0x8B54; readonly INT_VEC4: 0x8B55; readonly BOOL: 0x8B56; readonly BOOL_VEC2: 0x8B57; readonly BOOL_VEC3: 0x8B58; readonly BOOL_VEC4: 0x8B59; readonly FLOAT_MAT2: 0x8B5A; readonly FLOAT_MAT3: 0x8B5B; readonly FLOAT_MAT4: 0x8B5C; readonly SAMPLER_2D: 0x8B5E; readonly SAMPLER_CUBE: 0x8B60; readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622; readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623; readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624; readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625; readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A; readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645; readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F; readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A; readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B; readonly COMPILE_STATUS: 0x8B81; readonly LOW_FLOAT: 0x8DF0; readonly MEDIUM_FLOAT: 0x8DF1; readonly HIGH_FLOAT: 0x8DF2; readonly LOW_INT: 0x8DF3; readonly MEDIUM_INT: 0x8DF4; readonly HIGH_INT: 0x8DF5; readonly FRAMEBUFFER: 0x8D40; readonly RENDERBUFFER: 0x8D41; readonly RGBA4: 0x8056; readonly RGB5_A1: 0x8057; readonly RGBA8: 0x8058; readonly RGB565: 0x8D62; readonly DEPTH_COMPONENT16: 0x81A5; readonly STENCIL_INDEX8: 0x8D48; readonly DEPTH_STENCIL: 0x84F9; readonly RENDERBUFFER_WIDTH: 0x8D42; readonly RENDERBUFFER_HEIGHT: 0x8D43; readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44; readonly RENDERBUFFER_RED_SIZE: 0x8D50; readonly RENDERBUFFER_GREEN_SIZE: 0x8D51; readonly RENDERBUFFER_BLUE_SIZE: 0x8D52; readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53; readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54; readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55; readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0; readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3; readonly COLOR_ATTACHMENT0: 0x8CE0; readonly DEPTH_ATTACHMENT: 0x8D00; readonly STENCIL_ATTACHMENT: 0x8D20; readonly DEPTH_STENCIL_ATTACHMENT: 0x821A; readonly NONE: 0; readonly FRAMEBUFFER_COMPLETE: 0x8CD5; readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6; readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7; readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9; readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD; readonly FRAMEBUFFER_BINDING: 0x8CA6; readonly RENDERBUFFER_BINDING: 0x8CA7; readonly MAX_RENDERBUFFER_SIZE: 0x84E8; readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506; readonly UNPACK_FLIP_Y_WEBGL: 0x9240; readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241; readonly CONTEXT_LOST_WEBGL: 0x9242; readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243; readonly BROWSER_DEFAULT_WEBGL: 0x9244; }; interface WebGLRenderingContextBase { /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */ readonly canvas: HTMLCanvasElement | OffscreenCanvas; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawingBufferColorSpace) */ drawingBufferColorSpace: PredefinedColorSpace; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */ readonly drawingBufferHeight: GLsizei; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */ readonly drawingBufferWidth: GLsizei; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/unpackColorSpace) */ unpackColorSpace: PredefinedColorSpace; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */ activeTexture(texture: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/attachShader) */ attachShader(program: WebGLProgram, shader: WebGLShader): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindAttribLocation) */ bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindBuffer) */ bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindFramebuffer) */ bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindRenderbuffer) */ bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindTexture) */ bindTexture(target: GLenum, texture: WebGLTexture | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendColor) */ blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendEquation) */ blendEquation(mode: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendEquationSeparate) */ blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendFunc) */ blendFunc(sfactor: GLenum, dfactor: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendFuncSeparate) */ blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/checkFramebufferStatus) */ checkFramebufferStatus(target: GLenum): GLenum; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clear) */ clear(mask: GLbitfield): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearColor) */ clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearDepth) */ clearDepth(depth: GLclampf): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearStencil) */ clearStencil(s: GLint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/colorMask) */ colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compileShader) */ compileShader(shader: WebGLShader): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexImage2D) */ copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D) */ copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createBuffer) */ createBuffer(): WebGLBuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createFramebuffer) */ createFramebuffer(): WebGLFramebuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createProgram) */ createProgram(): WebGLProgram; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createRenderbuffer) */ createRenderbuffer(): WebGLRenderbuffer; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createShader) */ createShader(type: GLenum): WebGLShader | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createTexture) */ createTexture(): WebGLTexture; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/cullFace) */ cullFace(mode: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteBuffer) */ deleteBuffer(buffer: WebGLBuffer | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteFramebuffer) */ deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteProgram) */ deleteProgram(program: WebGLProgram | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteRenderbuffer) */ deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteShader) */ deleteShader(shader: WebGLShader | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteTexture) */ deleteTexture(texture: WebGLTexture | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthFunc) */ depthFunc(func: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthMask) */ depthMask(flag: GLboolean): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthRange) */ depthRange(zNear: GLclampf, zFar: GLclampf): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/detachShader) */ detachShader(program: WebGLProgram, shader: WebGLShader): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/disable) */ disable(cap: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/disableVertexAttribArray) */ disableVertexAttribArray(index: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawArrays) */ drawArrays(mode: GLenum, first: GLint, count: GLsizei): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawElements) */ drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/enable) */ enable(cap: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/enableVertexAttribArray) */ enableVertexAttribArray(index: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/finish) */ finish(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/flush) */ flush(): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/framebufferRenderbuffer) */ framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/framebufferTexture2D) */ framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/frontFace) */ frontFace(mode: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/generateMipmap) */ generateMipmap(target: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getActiveAttrib) */ getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getActiveUniform) */ getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttachedShaders) */ getAttachedShaders(program: WebGLProgram): WebGLShader[] | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttribLocation) */ getAttribLocation(program: WebGLProgram, name: string): GLint; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getBufferParameter) */ getBufferParameter(target: GLenum, pname: GLenum): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getContextAttributes) */ getContextAttributes(): WebGLContextAttributes | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */ getError(): GLenum; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */ getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null; getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null; getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null; getExtension(extensionName: "EXT_color_buffer_half_float"): EXT_color_buffer_half_float | null; getExtension(extensionName: "EXT_float_blend"): EXT_float_blend | null; getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null; getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null; getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null; getExtension(extensionName: "EXT_texture_compression_bptc"): EXT_texture_compression_bptc | null; getExtension(extensionName: "EXT_texture_compression_rgtc"): EXT_texture_compression_rgtc | null; getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null; getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null; getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null; getExtension(extensionName: "OES_fbo_render_mipmap"): OES_fbo_render_mipmap | null; getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null; getExtension(extensionName: "OES_texture_float"): OES_texture_float | null; getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null; getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null; getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null; getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null; getExtension(extensionName: "OVR_multiview2"): OVR_multiview2 | null; getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null; getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null; getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null; getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null; getExtension(extensionName: "WEBGL_compressed_texture_pvrtc"): WEBGL_compressed_texture_pvrtc | null; getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null; getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null; getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null; getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null; getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null; getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null; getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null; getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null; getExtension(name: string): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */ getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */ getParameter(pname: GLenum): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramInfoLog) */ getProgramInfoLog(program: WebGLProgram): string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramParameter) */ getProgramParameter(program: WebGLProgram, pname: GLenum): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getRenderbufferParameter) */ getRenderbufferParameter(target: GLenum, pname: GLenum): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderInfoLog) */ getShaderInfoLog(shader: WebGLShader): string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderParameter) */ getShaderParameter(shader: WebGLShader, pname: GLenum): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat) */ getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderSource) */ getShaderSource(shader: WebGLShader): string | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getSupportedExtensions) */ getSupportedExtensions(): string[] | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getTexParameter) */ getTexParameter(target: GLenum, pname: GLenum): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniform) */ getUniform(program: WebGLProgram, location: WebGLUniformLocation): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniformLocation) */ getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttrib) */ getVertexAttrib(index: GLuint, pname: GLenum): any; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset) */ getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/hint) */ hint(target: GLenum, mode: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isBuffer) */ isBuffer(buffer: WebGLBuffer | null): GLboolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isContextLost) */ isContextLost(): boolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isEnabled) */ isEnabled(cap: GLenum): GLboolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isFramebuffer) */ isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isProgram) */ isProgram(program: WebGLProgram | null): GLboolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isRenderbuffer) */ isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isShader) */ isShader(shader: WebGLShader | null): GLboolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isTexture) */ isTexture(texture: WebGLTexture | null): GLboolean; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/lineWidth) */ lineWidth(width: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/linkProgram) */ linkProgram(program: WebGLProgram): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/pixelStorei) */ pixelStorei(pname: GLenum, param: GLint | GLboolean): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/polygonOffset) */ polygonOffset(factor: GLfloat, units: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/renderbufferStorage) */ renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/sampleCoverage) */ sampleCoverage(value: GLclampf, invert: GLboolean): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/scissor) */ scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/shaderSource) */ shaderSource(shader: WebGLShader, source: string): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilFunc) */ stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilFuncSeparate) */ stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilMask) */ stencilMask(mask: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilMaskSeparate) */ stencilMaskSeparate(face: GLenum, mask: GLuint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilOp) */ stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilOpSeparate) */ stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texParameter) */ texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texParameter) */ texParameteri(target: GLenum, pname: GLenum, param: GLint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ uniform1i(location: WebGLUniformLocation | null, x: GLint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */ uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/useProgram) */ useProgram(program: WebGLProgram | null): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/validateProgram) */ validateProgram(program: WebGLProgram): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ vertexAttrib1f(index: GLuint, x: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ vertexAttrib1fv(index: GLuint, values: Float32List): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ vertexAttrib2fv(index: GLuint, values: Float32List): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ vertexAttrib3fv(index: GLuint, values: Float32List): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */ vertexAttrib4fv(index: GLuint, values: Float32List): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttribPointer) */ vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/viewport) */ viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; readonly DEPTH_BUFFER_BIT: 0x00000100; readonly STENCIL_BUFFER_BIT: 0x00000400; readonly COLOR_BUFFER_BIT: 0x00004000; readonly POINTS: 0x0000; readonly LINES: 0x0001; readonly LINE_LOOP: 0x0002; readonly LINE_STRIP: 0x0003; readonly TRIANGLES: 0x0004; readonly TRIANGLE_STRIP: 0x0005; readonly TRIANGLE_FAN: 0x0006; readonly ZERO: 0; readonly ONE: 1; readonly SRC_COLOR: 0x0300; readonly ONE_MINUS_SRC_COLOR: 0x0301; readonly SRC_ALPHA: 0x0302; readonly ONE_MINUS_SRC_ALPHA: 0x0303; readonly DST_ALPHA: 0x0304; readonly ONE_MINUS_DST_ALPHA: 0x0305; readonly DST_COLOR: 0x0306; readonly ONE_MINUS_DST_COLOR: 0x0307; readonly SRC_ALPHA_SATURATE: 0x0308; readonly FUNC_ADD: 0x8006; readonly BLEND_EQUATION: 0x8009; readonly BLEND_EQUATION_RGB: 0x8009; readonly BLEND_EQUATION_ALPHA: 0x883D; readonly FUNC_SUBTRACT: 0x800A; readonly FUNC_REVERSE_SUBTRACT: 0x800B; readonly BLEND_DST_RGB: 0x80C8; readonly BLEND_SRC_RGB: 0x80C9; readonly BLEND_DST_ALPHA: 0x80CA; readonly BLEND_SRC_ALPHA: 0x80CB; readonly CONSTANT_COLOR: 0x8001; readonly ONE_MINUS_CONSTANT_COLOR: 0x8002; readonly CONSTANT_ALPHA: 0x8003; readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004; readonly BLEND_COLOR: 0x8005; readonly ARRAY_BUFFER: 0x8892; readonly ELEMENT_ARRAY_BUFFER: 0x8893; readonly ARRAY_BUFFER_BINDING: 0x8894; readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895; readonly STREAM_DRAW: 0x88E0; readonly STATIC_DRAW: 0x88E4; readonly DYNAMIC_DRAW: 0x88E8; readonly BUFFER_SIZE: 0x8764; readonly BUFFER_USAGE: 0x8765; readonly CURRENT_VERTEX_ATTRIB: 0x8626; readonly FRONT: 0x0404; readonly BACK: 0x0405; readonly FRONT_AND_BACK: 0x0408; readonly CULL_FACE: 0x0B44; readonly BLEND: 0x0BE2; readonly DITHER: 0x0BD0; readonly STENCIL_TEST: 0x0B90; readonly DEPTH_TEST: 0x0B71; readonly SCISSOR_TEST: 0x0C11; readonly POLYGON_OFFSET_FILL: 0x8037; readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E; readonly SAMPLE_COVERAGE: 0x80A0; readonly NO_ERROR: 0; readonly INVALID_ENUM: 0x0500; readonly INVALID_VALUE: 0x0501; readonly INVALID_OPERATION: 0x0502; readonly OUT_OF_MEMORY: 0x0505; readonly CW: 0x0900; readonly CCW: 0x0901; readonly LINE_WIDTH: 0x0B21; readonly ALIASED_POINT_SIZE_RANGE: 0x846D; readonly ALIASED_LINE_WIDTH_RANGE: 0x846E; readonly CULL_FACE_MODE: 0x0B45; readonly FRONT_FACE: 0x0B46; readonly DEPTH_RANGE: 0x0B70; readonly DEPTH_WRITEMASK: 0x0B72; readonly DEPTH_CLEAR_VALUE: 0x0B73; readonly DEPTH_FUNC: 0x0B74; readonly STENCIL_CLEAR_VALUE: 0x0B91; readonly STENCIL_FUNC: 0x0B92; readonly STENCIL_FAIL: 0x0B94; readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95; readonly STENCIL_PASS_DEPTH_PASS: 0x0B96; readonly STENCIL_REF: 0x0B97; readonly STENCIL_VALUE_MASK: 0x0B93; readonly STENCIL_WRITEMASK: 0x0B98; readonly STENCIL_BACK_FUNC: 0x8800; readonly STENCIL_BACK_FAIL: 0x8801; readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802; readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803; readonly STENCIL_BACK_REF: 0x8CA3; readonly STENCIL_BACK_VALUE_MASK: 0x8CA4; readonly STENCIL_BACK_WRITEMASK: 0x8CA5; readonly VIEWPORT: 0x0BA2; readonly SCISSOR_BOX: 0x0C10; readonly COLOR_CLEAR_VALUE: 0x0C22; readonly COLOR_WRITEMASK: 0x0C23; readonly UNPACK_ALIGNMENT: 0x0CF5; readonly PACK_ALIGNMENT: 0x0D05; readonly MAX_TEXTURE_SIZE: 0x0D33; readonly MAX_VIEWPORT_DIMS: 0x0D3A; readonly SUBPIXEL_BITS: 0x0D50; readonly RED_BITS: 0x0D52; readonly GREEN_BITS: 0x0D53; readonly BLUE_BITS: 0x0D54; readonly ALPHA_BITS: 0x0D55; readonly DEPTH_BITS: 0x0D56; readonly STENCIL_BITS: 0x0D57; readonly POLYGON_OFFSET_UNITS: 0x2A00; readonly POLYGON_OFFSET_FACTOR: 0x8038; readonly TEXTURE_BINDING_2D: 0x8069; readonly SAMPLE_BUFFERS: 0x80A8; readonly SAMPLES: 0x80A9; readonly SAMPLE_COVERAGE_VALUE: 0x80AA; readonly SAMPLE_COVERAGE_INVERT: 0x80AB; readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3; readonly DONT_CARE: 0x1100; readonly FASTEST: 0x1101; readonly NICEST: 0x1102; readonly GENERATE_MIPMAP_HINT: 0x8192; readonly BYTE: 0x1400; readonly UNSIGNED_BYTE: 0x1401; readonly SHORT: 0x1402; readonly UNSIGNED_SHORT: 0x1403; readonly INT: 0x1404; readonly UNSIGNED_INT: 0x1405; readonly FLOAT: 0x1406; readonly DEPTH_COMPONENT: 0x1902; readonly ALPHA: 0x1906; readonly RGB: 0x1907; readonly RGBA: 0x1908; readonly LUMINANCE: 0x1909; readonly LUMINANCE_ALPHA: 0x190A; readonly UNSIGNED_SHORT_4_4_4_4: 0x8033; readonly UNSIGNED_SHORT_5_5_5_1: 0x8034; readonly UNSIGNED_SHORT_5_6_5: 0x8363; readonly FRAGMENT_SHADER: 0x8B30; readonly VERTEX_SHADER: 0x8B31; readonly MAX_VERTEX_ATTRIBS: 0x8869; readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB; readonly MAX_VARYING_VECTORS: 0x8DFC; readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D; readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C; readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872; readonly MAX_FRAGMENT_UN