interface WebGL2RenderingContext {
    ACTIVE_ATTRIBUTES: 35721;
    ACTIVE_TEXTURE: 34016;
    ACTIVE_UNIFORM_BLOCKS: 35382;
    ACTIVE_UNIFORMS: 35718;
    ALIASED_LINE_WIDTH_RANGE: 33902;
    ALIASED_POINT_SIZE_RANGE: 33901;
    ALPHA: 6406;
    ALPHA_BITS: 3413;
    ALREADY_SIGNALED: 37146;
    ALWAYS: 519;
    ANY_SAMPLES_PASSED: 35887;
    ANY_SAMPLES_PASSED_CONSERVATIVE: 36202;
    ARRAY_BUFFER: 34962;
    ARRAY_BUFFER_BINDING: 34964;
    ATTACHED_SHADERS: 35717;
    BACK: 1029;
    BLEND: 3042;
    BLEND_COLOR: 32773;
    BLEND_DST_ALPHA: 32970;
    BLEND_DST_RGB: 32968;
    BLEND_EQUATION: 32777;
    BLEND_EQUATION_ALPHA: 34877;
    BLEND_EQUATION_RGB: 32777;
    BLEND_SRC_ALPHA: 32971;
    BLEND_SRC_RGB: 32969;
    BLUE_BITS: 3412;
    BOOL: 35670;
    BOOL_VEC2: 35671;
    BOOL_VEC3: 35672;
    BOOL_VEC4: 35673;
    BROWSER_DEFAULT_WEBGL: 37444;
    BUFFER_SIZE: 34660;
    BUFFER_USAGE: 34661;
    BYTE: 5120;
    canvas: OffscreenCanvas | HTMLCanvasElement;
    CCW: 2305;
    CLAMP_TO_EDGE: 33071;
    COLOR: 6144;
    COLOR_ATTACHMENT0: 36064;
    COLOR_ATTACHMENT1: 36065;
    COLOR_ATTACHMENT10: 36074;
    COLOR_ATTACHMENT11: 36075;
    COLOR_ATTACHMENT12: 36076;
    COLOR_ATTACHMENT13: 36077;
    COLOR_ATTACHMENT14: 36078;
    COLOR_ATTACHMENT15: 36079;
    COLOR_ATTACHMENT2: 36066;
    COLOR_ATTACHMENT3: 36067;
    COLOR_ATTACHMENT4: 36068;
    COLOR_ATTACHMENT5: 36069;
    COLOR_ATTACHMENT6: 36070;
    COLOR_ATTACHMENT7: 36071;
    COLOR_ATTACHMENT8: 36072;
    COLOR_ATTACHMENT9: 36073;
    COLOR_BUFFER_BIT: 16384;
    COLOR_CLEAR_VALUE: 3106;
    COLOR_WRITEMASK: 3107;
    COMPARE_REF_TO_TEXTURE: 34894;
    COMPILE_STATUS: 35713;
    COMPRESSED_TEXTURE_FORMATS: 34467;
    CONDITION_SATISFIED: 37148;
    CONSTANT_ALPHA: 32771;
    CONSTANT_COLOR: 32769;
    CONTEXT_LOST_WEBGL: 37442;
    COPY_READ_BUFFER: 36662;
    COPY_READ_BUFFER_BINDING: 36662;
    COPY_WRITE_BUFFER: 36663;
    COPY_WRITE_BUFFER_BINDING: 36663;
    CULL_FACE: 2884;
    CULL_FACE_MODE: 2885;
    CURRENT_PROGRAM: 35725;
    CURRENT_QUERY: 34917;
    CURRENT_VERTEX_ATTRIB: 34342;
    CW: 2304;
    DECR: 7683;
    DECR_WRAP: 34056;
    DELETE_STATUS: 35712;
    DEPTH: 6145;
    DEPTH_ATTACHMENT: 36096;
    DEPTH_BITS: 3414;
    DEPTH_BUFFER_BIT: 256;
    DEPTH_CLEAR_VALUE: 2931;
    DEPTH_COMPONENT: 6402;
    DEPTH_COMPONENT16: 33189;
    DEPTH_COMPONENT24: 33190;
    DEPTH_COMPONENT32F: 36012;
    DEPTH_FUNC: 2932;
    DEPTH_RANGE: 2928;
    DEPTH_STENCIL: 34041;
    DEPTH_STENCIL_ATTACHMENT: 33306;
    DEPTH_TEST: 2929;
    DEPTH_WRITEMASK: 2930;
    DEPTH24_STENCIL8: 35056;
    DEPTH32F_STENCIL8: 36013;
    DITHER: 3024;
    DONT_CARE: 4352;
    DRAW_BUFFER0: 34853;
    DRAW_BUFFER1: 34854;
    DRAW_BUFFER10: 34863;
    DRAW_BUFFER11: 34864;
    DRAW_BUFFER12: 34865;
    DRAW_BUFFER13: 34866;
    DRAW_BUFFER14: 34867;
    DRAW_BUFFER15: 34868;
    DRAW_BUFFER2: 34855;
    DRAW_BUFFER3: 34856;
    DRAW_BUFFER4: 34857;
    DRAW_BUFFER5: 34858;
    DRAW_BUFFER6: 34859;
    DRAW_BUFFER7: 34860;
    DRAW_BUFFER8: 34861;
    DRAW_BUFFER9: 34862;
    DRAW_FRAMEBUFFER: 36009;
    DRAW_FRAMEBUFFER_BINDING: 36006;
    drawingBufferColorSpace: PredefinedColorSpace;
    drawingBufferHeight: number;
    drawingBufferWidth: number;
    DST_ALPHA: 772;
    DST_COLOR: 774;
    DYNAMIC_COPY: 35050;
    DYNAMIC_DRAW: 35048;
    DYNAMIC_READ: 35049;
    ELEMENT_ARRAY_BUFFER: 34963;
    ELEMENT_ARRAY_BUFFER_BINDING: 34965;
    EQUAL: 514;
    FASTEST: 4353;
    FLOAT: 5126;
    FLOAT_32_UNSIGNED_INT_24_8_REV: 36269;
    FLOAT_MAT2: 35674;
    FLOAT_MAT2x3: 35685;
    FLOAT_MAT2x4: 35686;
    FLOAT_MAT3: 35675;
    FLOAT_MAT3x2: 35687;
    FLOAT_MAT3x4: 35688;
    FLOAT_MAT4: 35676;
    FLOAT_MAT4x2: 35689;
    FLOAT_MAT4x3: 35690;
    FLOAT_VEC2: 35664;
    FLOAT_VEC3: 35665;
    FLOAT_VEC4: 35666;
    FRAGMENT_SHADER: 35632;
    FRAGMENT_SHADER_DERIVATIVE_HINT: 35723;
    FRAMEBUFFER: 36160;
    FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 33301;
    FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 33300;
    FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 33296;
    FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 33297;
    FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 33302;
    FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 33299;
    FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049;
    FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048;
    FRAMEBUFFER_ATTACHMENT_RED_SIZE: 33298;
    FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 33303;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 36052;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050;
    FRAMEBUFFER_BINDING: 36006;
    FRAMEBUFFER_COMPLETE: 36053;
    FRAMEBUFFER_DEFAULT: 33304;
    FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054;
    FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057;
    FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055;
    FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 36182;
    FRAMEBUFFER_UNSUPPORTED: 36061;
    FRONT: 1028;
    FRONT_AND_BACK: 1032;
    FRONT_FACE: 2886;
    FUNC_ADD: 32774;
    FUNC_REVERSE_SUBTRACT: 32779;
    FUNC_SUBTRACT: 32778;
    GENERATE_MIPMAP_HINT: 33170;
    GEQUAL: 518;
    GREATER: 516;
    GREEN_BITS: 3411;
    HALF_FLOAT: 5131;
    HIGH_FLOAT: 36338;
    HIGH_INT: 36341;
    IMPLEMENTATION_COLOR_READ_FORMAT: 35739;
    IMPLEMENTATION_COLOR_READ_TYPE: 35738;
    INCR: 7682;
    INCR_WRAP: 34055;
    INT: 5124;
    INT_2_10_10_10_REV: 36255;
    INT_SAMPLER_2D: 36298;
    INT_SAMPLER_2D_ARRAY: 36303;
    INT_SAMPLER_3D: 36299;
    INT_SAMPLER_CUBE: 36300;
    INT_VEC2: 35667;
    INT_VEC3: 35668;
    INT_VEC4: 35669;
    INTERLEAVED_ATTRIBS: 35980;
    INVALID_ENUM: 1280;
    INVALID_FRAMEBUFFER_OPERATION: 1286;
    INVALID_INDEX: 4294967295;
    INVALID_OPERATION: 1282;
    INVALID_VALUE: 1281;
    INVERT: 5386;
    KEEP: 7680;
    LEQUAL: 515;
    LESS: 513;
    LINE_LOOP: 2;
    LINE_STRIP: 3;
    LINE_WIDTH: 2849;
    LINEAR: 9729;
    LINEAR_MIPMAP_LINEAR: 9987;
    LINEAR_MIPMAP_NEAREST: 9985;
    LINES: 1;
    LINK_STATUS: 35714;
    LOW_FLOAT: 36336;
    LOW_INT: 36339;
    LUMINANCE: 6409;
    LUMINANCE_ALPHA: 6410;
    MAX: 32776;
    MAX_3D_TEXTURE_SIZE: 32883;
    MAX_ARRAY_TEXTURE_LAYERS: 35071;
    MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 37447;
    MAX_COLOR_ATTACHMENTS: 36063;
    MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 35379;
    MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661;
    MAX_COMBINED_UNIFORM_BLOCKS: 35374;
    MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 35377;
    MAX_CUBE_MAP_TEXTURE_SIZE: 34076;
    MAX_DRAW_BUFFERS: 34852;
    MAX_ELEMENT_INDEX: 36203;
    MAX_ELEMENTS_INDICES: 33001;
    MAX_ELEMENTS_VERTICES: 33000;
    MAX_FRAGMENT_INPUT_COMPONENTS: 37157;
    MAX_FRAGMENT_UNIFORM_BLOCKS: 35373;
    MAX_FRAGMENT_UNIFORM_COMPONENTS: 35657;
    MAX_FRAGMENT_UNIFORM_VECTORS: 36349;
    MAX_PROGRAM_TEXEL_OFFSET: 35077;
    MAX_RENDERBUFFER_SIZE: 34024;
    MAX_SAMPLES: 36183;
    MAX_SERVER_WAIT_TIMEOUT: 37137;
    MAX_TEXTURE_IMAGE_UNITS: 34930;
    MAX_TEXTURE_LOD_BIAS: 34045;
    MAX_TEXTURE_SIZE: 3379;
    MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 35978;
    MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 35979;
    MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 35968;
    MAX_UNIFORM_BLOCK_SIZE: 35376;
    MAX_UNIFORM_BUFFER_BINDINGS: 35375;
    MAX_VARYING_COMPONENTS: 35659;
    MAX_VARYING_VECTORS: 36348;
    MAX_VERTEX_ATTRIBS: 34921;
    MAX_VERTEX_OUTPUT_COMPONENTS: 37154;
    MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660;
    MAX_VERTEX_UNIFORM_BLOCKS: 35371;
    MAX_VERTEX_UNIFORM_COMPONENTS: 35658;
    MAX_VERTEX_UNIFORM_VECTORS: 36347;
    MAX_VIEWPORT_DIMS: 3386;
    MEDIUM_FLOAT: 36337;
    MEDIUM_INT: 36340;
    MIN: 32775;
    MIN_PROGRAM_TEXEL_OFFSET: 35076;
    MIRRORED_REPEAT: 33648;
    NEAREST: 9728;
    NEAREST_MIPMAP_LINEAR: 9986;
    NEAREST_MIPMAP_NEAREST: 9984;
    NEVER: 512;
    NICEST: 4354;
    NO_ERROR: 0;
    NONE: 0;
    NOTEQUAL: 517;
    OBJECT_TYPE: 37138;
    ONE: 1;
    ONE_MINUS_CONSTANT_ALPHA: 32772;
    ONE_MINUS_CONSTANT_COLOR: 32770;
    ONE_MINUS_DST_ALPHA: 773;
    ONE_MINUS_DST_COLOR: 775;
    ONE_MINUS_SRC_ALPHA: 771;
    ONE_MINUS_SRC_COLOR: 769;
    OUT_OF_MEMORY: 1285;
    PACK_ALIGNMENT: 3333;
    PACK_ROW_LENGTH: 3330;
    PACK_SKIP_PIXELS: 3332;
    PACK_SKIP_ROWS: 3331;
    PIXEL_PACK_BUFFER: 35051;
    PIXEL_PACK_BUFFER_BINDING: 35053;
    PIXEL_UNPACK_BUFFER: 35052;
    PIXEL_UNPACK_BUFFER_BINDING: 35055;
    POINTS: 0;
    POLYGON_OFFSET_FACTOR: 32824;
    POLYGON_OFFSET_FILL: 32823;
    POLYGON_OFFSET_UNITS: 10752;
    QUERY_RESULT: 34918;
    QUERY_RESULT_AVAILABLE: 34919;
    R11F_G11F_B10F: 35898;
    R16F: 33325;
    R16I: 33331;
    R16UI: 33332;
    R32F: 33326;
    R32I: 33333;
    R32UI: 33334;
    R8: 33321;
    R8_SNORM: 36756;
    R8I: 33329;
    R8UI: 33330;
    RASTERIZER_DISCARD: 35977;
    READ_BUFFER: 3074;
    READ_FRAMEBUFFER: 36008;
    READ_FRAMEBUFFER_BINDING: 36010;
    RED: 6403;
    RED_BITS: 3410;
    RED_INTEGER: 36244;
    RENDERBUFFER: 36161;
    RENDERBUFFER_ALPHA_SIZE: 36179;
    RENDERBUFFER_BINDING: 36007;
    RENDERBUFFER_BLUE_SIZE: 36178;
    RENDERBUFFER_DEPTH_SIZE: 36180;
    RENDERBUFFER_GREEN_SIZE: 36177;
    RENDERBUFFER_HEIGHT: 36163;
    RENDERBUFFER_INTERNAL_FORMAT: 36164;
    RENDERBUFFER_RED_SIZE: 36176;
    RENDERBUFFER_SAMPLES: 36011;
    RENDERBUFFER_STENCIL_SIZE: 36181;
    RENDERBUFFER_WIDTH: 36162;
    RENDERER: 7937;
    REPEAT: 10497;
    REPLACE: 7681;
    RG: 33319;
    RG_INTEGER: 33320;
    RG16F: 33327;
    RG16I: 33337;
    RG16UI: 33338;
    RG32F: 33328;
    RG32I: 33339;
    RG32UI: 33340;
    RG8: 33323;
    RG8_SNORM: 36757;
    RG8I: 33335;
    RG8UI: 33336;
    RGB: 6407;
    RGB_INTEGER: 36248;
    RGB10_A2: 32857;
    RGB10_A2UI: 36975;
    RGB16F: 34843;
    RGB16I: 36233;
    RGB16UI: 36215;
    RGB32F: 34837;
    RGB32I: 36227;
    RGB32UI: 36209;
    RGB5_A1: 32855;
    RGB565: 36194;
    RGB8: 32849;
    RGB8_SNORM: 36758;
    RGB8I: 36239;
    RGB8UI: 36221;
    RGB9_E5: 35901;
    RGBA: 6408;
    RGBA_INTEGER: 36249;
    RGBA16F: 34842;
    RGBA16I: 36232;
    RGBA16UI: 36214;
    RGBA32F: 34836;
    RGBA32I: 36226;
    RGBA32UI: 36208;
    RGBA4: 32854;
    RGBA8: 32856;
    RGBA8_SNORM: 36759;
    RGBA8I: 36238;
    RGBA8UI: 36220;
    SAMPLE_ALPHA_TO_COVERAGE: 32926;
    SAMPLE_BUFFERS: 32936;
    SAMPLE_COVERAGE: 32928;
    SAMPLE_COVERAGE_INVERT: 32939;
    SAMPLE_COVERAGE_VALUE: 32938;
    SAMPLER_2D: 35678;
    SAMPLER_2D_ARRAY: 36289;
    SAMPLER_2D_ARRAY_SHADOW: 36292;
    SAMPLER_2D_SHADOW: 35682;
    SAMPLER_3D: 35679;
    SAMPLER_BINDING: 35097;
    SAMPLER_CUBE: 35680;
    SAMPLER_CUBE_SHADOW: 36293;
    SAMPLES: 32937;
    SCISSOR_BOX: 3088;
    SCISSOR_TEST: 3089;
    SEPARATE_ATTRIBS: 35981;
    SHADER_TYPE: 35663;
    SHADING_LANGUAGE_VERSION: 35724;
    SHORT: 5122;
    SIGNALED: 37145;
    SIGNED_NORMALIZED: 36764;
    SRC_ALPHA: 770;
    SRC_ALPHA_SATURATE: 776;
    SRC_COLOR: 768;
    SRGB: 35904;
    SRGB8: 35905;
    SRGB8_ALPHA8: 35907;
    STATIC_COPY: 35046;
    STATIC_DRAW: 35044;
    STATIC_READ: 35045;
    STENCIL: 6146;
    STENCIL_ATTACHMENT: 36128;
    STENCIL_BACK_FAIL: 34817;
    STENCIL_BACK_FUNC: 34816;
    STENCIL_BACK_PASS_DEPTH_FAIL: 34818;
    STENCIL_BACK_PASS_DEPTH_PASS: 34819;
    STENCIL_BACK_REF: 36003;
    STENCIL_BACK_VALUE_MASK: 36004;
    STENCIL_BACK_WRITEMASK: 36005;
    STENCIL_BITS: 3415;
    STENCIL_BUFFER_BIT: 1024;
    STENCIL_CLEAR_VALUE: 2961;
    STENCIL_FAIL: 2964;
    STENCIL_FUNC: 2962;
    STENCIL_INDEX8: 36168;
    STENCIL_PASS_DEPTH_FAIL: 2965;
    STENCIL_PASS_DEPTH_PASS: 2966;
    STENCIL_REF: 2967;
    STENCIL_TEST: 2960;
    STENCIL_VALUE_MASK: 2963;
    STENCIL_WRITEMASK: 2968;
    STREAM_COPY: 35042;
    STREAM_DRAW: 35040;
    STREAM_READ: 35041;
    SUBPIXEL_BITS: 3408;
    SYNC_CONDITION: 37139;
    SYNC_FENCE: 37142;
    SYNC_FLAGS: 37141;
    SYNC_FLUSH_COMMANDS_BIT: 1;
    SYNC_GPU_COMMANDS_COMPLETE: 37143;
    SYNC_STATUS: 37140;
    TEXTURE: 5890;
    TEXTURE_2D: 3553;
    TEXTURE_2D_ARRAY: 35866;
    TEXTURE_3D: 32879;
    TEXTURE_BASE_LEVEL: 33084;
    TEXTURE_BINDING_2D: 32873;
    TEXTURE_BINDING_2D_ARRAY: 35869;
    TEXTURE_BINDING_3D: 32874;
    TEXTURE_BINDING_CUBE_MAP: 34068;
    TEXTURE_COMPARE_FUNC: 34893;
    TEXTURE_COMPARE_MODE: 34892;
    TEXTURE_CUBE_MAP: 34067;
    TEXTURE_CUBE_MAP_NEGATIVE_X: 34070;
    TEXTURE_CUBE_MAP_NEGATIVE_Y: 34072;
    TEXTURE_CUBE_MAP_NEGATIVE_Z: 34074;
    TEXTURE_CUBE_MAP_POSITIVE_X: 34069;
    TEXTURE_CUBE_MAP_POSITIVE_Y: 34071;
    TEXTURE_CUBE_MAP_POSITIVE_Z: 34073;
    TEXTURE_IMMUTABLE_FORMAT: 37167;
    TEXTURE_IMMUTABLE_LEVELS: 33503;
    TEXTURE_MAG_FILTER: 10240;
    TEXTURE_MAX_LEVEL: 33085;
    TEXTURE_MAX_LOD: 33083;
    TEXTURE_MIN_FILTER: 10241;
    TEXTURE_MIN_LOD: 33082;
    TEXTURE_WRAP_R: 32882;
    TEXTURE_WRAP_S: 10242;
    TEXTURE_WRAP_T: 10243;
    TEXTURE0: 33984;
    TEXTURE1: 33985;
    TEXTURE10: 33994;
    TEXTURE11: 33995;
    TEXTURE12: 33996;
    TEXTURE13: 33997;
    TEXTURE14: 33998;
    TEXTURE15: 33999;
    TEXTURE16: 34000;
    TEXTURE17: 34001;
    TEXTURE18: 34002;
    TEXTURE19: 34003;
    TEXTURE2: 33986;
    TEXTURE20: 34004;
    TEXTURE21: 34005;
    TEXTURE22: 34006;
    TEXTURE23: 34007;
    TEXTURE24: 34008;
    TEXTURE25: 34009;
    TEXTURE26: 34010;
    TEXTURE27: 34011;
    TEXTURE28: 34012;
    TEXTURE29: 34013;
    TEXTURE3: 33987;
    TEXTURE30: 34014;
    TEXTURE31: 34015;
    TEXTURE4: 33988;
    TEXTURE5: 33989;
    TEXTURE6: 33990;
    TEXTURE7: 33991;
    TEXTURE8: 33992;
    TEXTURE9: 33993;
    TIMEOUT_EXPIRED: 37147;
    TIMEOUT_IGNORED: -1;
    TRANSFORM_FEEDBACK: 36386;
    TRANSFORM_FEEDBACK_ACTIVE: 36388;
    TRANSFORM_FEEDBACK_BINDING: 36389;
    TRANSFORM_FEEDBACK_BUFFER: 35982;
    TRANSFORM_FEEDBACK_BUFFER_BINDING: 35983;
    TRANSFORM_FEEDBACK_BUFFER_MODE: 35967;
    TRANSFORM_FEEDBACK_BUFFER_SIZE: 35973;
    TRANSFORM_FEEDBACK_BUFFER_START: 35972;
    TRANSFORM_FEEDBACK_PAUSED: 36387;
    TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 35976;
    TRANSFORM_FEEDBACK_VARYINGS: 35971;
    TRIANGLE_FAN: 6;
    TRIANGLE_STRIP: 5;
    TRIANGLES: 4;
    UNIFORM_ARRAY_STRIDE: 35388;
    UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 35395;
    UNIFORM_BLOCK_ACTIVE_UNIFORMS: 35394;
    UNIFORM_BLOCK_BINDING: 35391;
    UNIFORM_BLOCK_DATA_SIZE: 35392;
    UNIFORM_BLOCK_INDEX: 35386;
    UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 35398;
    UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 35396;
    UNIFORM_BUFFER: 35345;
    UNIFORM_BUFFER_BINDING: 35368;
    UNIFORM_BUFFER_OFFSET_ALIGNMENT: 35380;
    UNIFORM_BUFFER_SIZE: 35370;
    UNIFORM_BUFFER_START: 35369;
    UNIFORM_IS_ROW_MAJOR: 35390;
    UNIFORM_MATRIX_STRIDE: 35389;
    UNIFORM_OFFSET: 35387;
    UNIFORM_SIZE: 35384;
    UNIFORM_TYPE: 35383;
    UNPACK_ALIGNMENT: 3317;
    UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443;
    UNPACK_FLIP_Y_WEBGL: 37440;
    UNPACK_IMAGE_HEIGHT: 32878;
    UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441;
    UNPACK_ROW_LENGTH: 3314;
    UNPACK_SKIP_IMAGES: 32877;
    UNPACK_SKIP_PIXELS: 3316;
    UNPACK_SKIP_ROWS: 3315;
    UNSIGNALED: 37144;
    UNSIGNED_BYTE: 5121;
    UNSIGNED_INT: 5125;
    UNSIGNED_INT_10F_11F_11F_REV: 35899;
    UNSIGNED_INT_2_10_10_10_REV: 33640;
    UNSIGNED_INT_24_8: 34042;
    UNSIGNED_INT_5_9_9_9_REV: 35902;
    UNSIGNED_INT_SAMPLER_2D: 36306;
    UNSIGNED_INT_SAMPLER_2D_ARRAY: 36311;
    UNSIGNED_INT_SAMPLER_3D: 36307;
    UNSIGNED_INT_SAMPLER_CUBE: 36308;
    UNSIGNED_INT_VEC2: 36294;
    UNSIGNED_INT_VEC3: 36295;
    UNSIGNED_INT_VEC4: 36296;
    UNSIGNED_NORMALIZED: 35863;
    UNSIGNED_SHORT: 5123;
    UNSIGNED_SHORT_4_4_4_4: 32819;
    UNSIGNED_SHORT_5_5_5_1: 32820;
    UNSIGNED_SHORT_5_6_5: 33635;
    VALIDATE_STATUS: 35715;
    VENDOR: 7936;
    VERSION: 7938;
    VERTEX_ARRAY_BINDING: 34229;
    VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 34975;
    VERTEX_ATTRIB_ARRAY_DIVISOR: 35070;
    VERTEX_ATTRIB_ARRAY_ENABLED: 34338;
    VERTEX_ATTRIB_ARRAY_INTEGER: 35069;
    VERTEX_ATTRIB_ARRAY_NORMALIZED: 34922;
    VERTEX_ATTRIB_ARRAY_POINTER: 34373;
    VERTEX_ATTRIB_ARRAY_SIZE: 34339;
    VERTEX_ATTRIB_ARRAY_STRIDE: 34340;
    VERTEX_ATTRIB_ARRAY_TYPE: 34341;
    VERTEX_SHADER: 35633;
    VIEWPORT: 2978;
    WAIT_FAILED: 37149;
    ZERO: 0;
    activeTexture(texture: number): void;
    attachShader(program: WebGLProgram, shader: WebGLShader): void;
    beginQuery(target: number, query: WebGLQuery): void;
    beginTransformFeedback(primitiveMode: number): void;
    bindAttribLocation(
        program: WebGLProgram,
        index: number,
        name: string,
    ): void;
    bindBuffer(target: number, buffer: null | WebGLBuffer): void;
    bindBufferBase(
        target: number,
        index: number,
        buffer: null | WebGLBuffer,
    ): void;
    bindBufferRange(
        target: number,
        index: number,
        buffer: null | WebGLBuffer,
        offset: number,
        size: number,
    ): void;
    bindFramebuffer(target: number, framebuffer: null | WebGLFramebuffer): void;
    bindRenderbuffer(
        target: number,
        renderbuffer: null | WebGLRenderbuffer,
    ): void;
    bindSampler(unit: number, sampler: null | WebGLSampler): void;
    bindTexture(target: number, texture: null | WebGLTexture): void;
    bindTransformFeedback(
        target: number,
        tf: null | WebGLTransformFeedback,
    ): void;
    bindVertexArray(array: null | WebGLVertexArrayObject): void;
    blendColor(red: number, green: number, blue: number, alpha: number): void;
    blendEquation(mode: number): void;
    blendEquationSeparate(modeRGB: number, modeAlpha: number): void;
    blendFunc(sfactor: number, dfactor: number): void;
    blendFuncSeparate(
        srcRGB: number,
        dstRGB: number,
        srcAlpha: number,
        dstAlpha: number,
    ): void;
    blitFramebuffer(
        srcX0: number,
        srcY0: number,
        srcX1: number,
        srcY1: number,
        dstX0: number,
        dstY0: number,
        dstX1: number,
        dstY1: number,
        mask: number,
        filter: number,
    ): void;
    bufferData(target: number, size: number, usage: number): void;
    bufferData(
        target: number,
        srcData: null | AllowSharedBufferSource,
        usage: number,
    ): void;
    bufferData(
        target: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        usage: number,
        srcOffset: number,
        length?: number,
    ): void;
    bufferSubData(
        target: number,
        dstByteOffset: number,
        srcData: AllowSharedBufferSource,
    ): void;
    bufferSubData(
        target: number,
        dstByteOffset: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        srcOffset: number,
        length?: number,
    ): void;
    checkFramebufferStatus(target: number): number;
    clear(mask: number): void;
    clearBufferfi(
        buffer: number,
        drawbuffer: number,
        depth: number,
        stencil: number,
    ): void;
    clearBufferfv(
        buffer: number,
        drawbuffer: number,
        values: Float32List,
        srcOffset?: number,
    ): void;
    clearBufferfv(
        buffer: number,
        drawbuffer: number,
        values: Iterable<number, any, any>,
        srcOffset?: number,
    ): void;
    clearBufferiv(
        buffer: number,
        drawbuffer: number,
        values: Int32List,
        srcOffset?: number,
    ): void;
    clearBufferiv(
        buffer: number,
        drawbuffer: number,
        values: Iterable<number, any, any>,
        srcOffset?: number,
    ): void;
    clearBufferuiv(
        buffer: number,
        drawbuffer: number,
        values: Uint32List,
        srcOffset?: number,
    ): void;
    clearBufferuiv(
        buffer: number,
        drawbuffer: number,
        values: Iterable<number, any, any>,
        srcOffset?: number,
    ): void;
    clearColor(red: number, green: number, blue: number, alpha: number): void;
    clearDepth(depth: number): void;
    clearStencil(s: number): void;
    clientWaitSync(sync: WebGLSync, flags: number, timeout: number): number;
    colorMask(
        red: boolean,
        green: boolean,
        blue: boolean,
        alpha: boolean,
    ): void;
    compileShader(shader: WebGLShader): void;
    compressedTexImage2D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        border: number,
        imageSize: number,
        offset: number,
    ): void;
    compressedTexImage2D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        border: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        srcOffset?: number,
        srcLengthOverride?: number,
    ): void;
    compressedTexImage3D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        depth: number,
        border: number,
        imageSize: number,
        offset: number,
    ): void;
    compressedTexImage3D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        depth: number,
        border: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        srcOffset?: number,
        srcLengthOverride?: number,
    ): void;
    compressedTexSubImage2D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        width: number,
        height: number,
        format: number,
        imageSize: number,
        offset: number,
    ): void;
    compressedTexSubImage2D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        width: number,
        height: number,
        format: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        srcOffset?: number,
        srcLengthOverride?: number,
    ): void;
    compressedTexSubImage3D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        zoffset: number,
        width: number,
        height: number,
        depth: number,
        format: number,
        imageSize: number,
        offset: number,
    ): void;
    compressedTexSubImage3D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        zoffset: number,
        width: number,
        height: number,
        depth: number,
        format: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        srcOffset?: number,
        srcLengthOverride?: number,
    ): void;
    copyBufferSubData(
        readTarget: number,
        writeTarget: number,
        readOffset: number,
        writeOffset: number,
        size: number,
    ): void;
    copyTexImage2D(
        target: number,
        level: number,
        internalformat: number,
        x: number,
        y: number,
        width: number,
        height: number,
        border: number,
    ): void;
    copyTexSubImage2D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        x: number,
        y: number,
        width: number,
        height: number,
    ): void;
    copyTexSubImage3D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        zoffset: number,
        x: number,
        y: number,
        width: number,
        height: number,
    ): void;
    createBuffer(): WebGLBuffer;
    createFramebuffer(): WebGLFramebuffer;
    createProgram(): WebGLProgram;
    createQuery(): WebGLQuery;
    createRenderbuffer(): WebGLRenderbuffer;
    createSampler(): WebGLSampler;
    createShader(type: number): null | WebGLShader;
    createTexture(): WebGLTexture;
    createTransformFeedback(): WebGLTransformFeedback;
    createVertexArray(): WebGLVertexArrayObject;
    cullFace(mode: number): void;
    deleteBuffer(buffer: null | WebGLBuffer): void;
    deleteFramebuffer(framebuffer: null | WebGLFramebuffer): void;
    deleteProgram(program: null | WebGLProgram): void;
    deleteQuery(query: null | WebGLQuery): void;
    deleteRenderbuffer(renderbuffer: null | WebGLRenderbuffer): void;
    deleteSampler(sampler: null | WebGLSampler): void;
    deleteShader(shader: null | WebGLShader): void;
    deleteSync(sync: null | WebGLSync): void;
    deleteTexture(texture: null | WebGLTexture): void;
    deleteTransformFeedback(tf: null | WebGLTransformFeedback): void;
    deleteVertexArray(vertexArray: null | WebGLVertexArrayObject): void;
    depthFunc(func: number): void;
    depthMask(flag: boolean): void;
    depthRange(zNear: number, zFar: number): void;
    detachShader(program: WebGLProgram, shader: WebGLShader): void;
    disable(cap: number): void;
    disableVertexAttribArray(index: number): void;
    drawArrays(mode: number, first: number, count: number): void;
    drawArraysInstanced(
        mode: number,
        first: number,
        count: number,
        instanceCount: number,
    ): void;
    drawBuffers(buffers: number[]): void;
    drawBuffers(buffers: Iterable<number, any, any>): void;
    drawElements(
        mode: number,
        count: number,
        type: number,
        offset: number,
    ): void;
    drawElementsInstanced(
        mode: number,
        count: number,
        type: number,
        offset: number,
        instanceCount: number,
    ): void;
    drawRangeElements(
        mode: number,
        start: number,
        end: number,
        count: number,
        type: number,
        offset: number,
    ): void;
    enable(cap: number): void;
    enableVertexAttribArray(index: number): void;
    endQuery(target: number): void;
    endTransformFeedback(): void;
    fenceSync(condition: number, flags: number): null | WebGLSync;
    finish(): void;
    flush(): void;
    framebufferRenderbuffer(
        target: number,
        attachment: number,
        renderbuffertarget: number,
        renderbuffer: null | WebGLRenderbuffer,
    ): void;
    framebufferTexture2D(
        target: number,
        attachment: number,
        textarget: number,
        texture: null | WebGLTexture,
        level: number,
    ): void;
    framebufferTextureLayer(
        target: number,
        attachment: number,
        texture: null | WebGLTexture,
        level: number,
        layer: number,
    ): void;
    frontFace(mode: number): void;
    generateMipmap(target: number): void;
    getActiveAttrib(
        program: WebGLProgram,
        index: number,
    ): null | WebGLActiveInfo;
    getActiveUniform(
        program: WebGLProgram,
        index: number,
    ): null | WebGLActiveInfo;
    getActiveUniformBlockName(
        program: WebGLProgram,
        uniformBlockIndex: number,
    ): null | string;
    getActiveUniformBlockParameter(
        program: WebGLProgram,
        uniformBlockIndex: number,
        pname: number,
    ): any;
    getActiveUniforms(
        program: WebGLProgram,
        uniformIndices: number[],
        pname: number,
    ): any;
    getActiveUniforms(
        program: WebGLProgram,
        uniformIndices: Iterable<number, any, any>,
        pname: number,
    ): any;
    getAttachedShaders(program: WebGLProgram): null | WebGLShader[];
    getAttribLocation(program: WebGLProgram, name: string): number;
    getBufferParameter(target: number, pname: number): any;
    getBufferSubData(
        target: number,
        srcByteOffset: number,
        dstBuffer: ArrayBufferView<ArrayBufferLike>,
        dstOffset?: number,
        length?: number,
    ): void;
    getContextAttributes(): null | WebGLContextAttributes;
    getError(): number;
    getExtension(
        extensionName: "ANGLE_instanced_arrays",
    ): null | ANGLE_instanced_arrays;
    getExtension(extensionName: "EXT_blend_minmax"): null | EXT_blend_minmax;
    getExtension(
        extensionName: "EXT_color_buffer_float",
    ): null | EXT_color_buffer_float;
    getExtension(
        extensionName: "EXT_color_buffer_half_float",
    ): null | EXT_color_buffer_half_float;
    getExtension(extensionName: "EXT_float_blend"): null | EXT_float_blend;
    getExtension(extensionName: "EXT_frag_depth"): null | EXT_frag_depth;
    getExtension(extensionName: "EXT_sRGB"): null | EXT_sRGB;
    getExtension(
        extensionName: "EXT_shader_texture_lod",
    ): null | EXT_shader_texture_lod;
    getExtension(
        extensionName: "EXT_texture_compression_bptc",
    ): null | EXT_texture_compression_bptc;
    getExtension(
        extensionName: "EXT_texture_compression_rgtc",
    ): null | EXT_texture_compression_rgtc;
    getExtension(
        extensionName: "EXT_texture_filter_anisotropic",
    ): null | EXT_texture_filter_anisotropic;
    getExtension(
        extensionName: "KHR_parallel_shader_compile",
    ): null | KHR_parallel_shader_compile;
    getExtension(
        extensionName: "OES_element_index_uint",
    ): null | OES_element_index_uint;
    getExtension(
        extensionName: "OES_fbo_render_mipmap",
    ): null | OES_fbo_render_mipmap;
    getExtension(
        extensionName: "OES_standard_derivatives",
    ): null | OES_standard_derivatives;
    getExtension(extensionName: "OES_texture_float"): null | OES_texture_float;
    getExtension(
        extensionName: "OES_texture_float_linear",
    ): null | OES_texture_float_linear;
    getExtension(
        extensionName: "OES_texture_half_float",
    ): null | OES_texture_half_float;
    getExtension(
        extensionName: "OES_texture_half_float_linear",
    ): null | OES_texture_half_float_linear;
    getExtension(
        extensionName: "OES_vertex_array_object",
    ): null | OES_vertex_array_object;
    getExtension(extensionName: "OVR_multiview2"): null | OVR_multiview2;
    getExtension(
        extensionName: "WEBGL_color_buffer_float",
    ): null | WEBGL_color_buffer_float;
    getExtension(
        extensionName: "WEBGL_compressed_texture_astc",
    ): null | WEBGL_compressed_texture_astc;
    getExtension(
        extensionName: "WEBGL_compressed_texture_etc",
    ): null | WEBGL_compressed_texture_etc;
    getExtension(
        extensionName: "WEBGL_compressed_texture_etc1",
    ): null | WEBGL_compressed_texture_etc1;
    getExtension(
        extensionName: "WEBGL_compressed_texture_pvrtc",
    ): null | WEBGL_compressed_texture_pvrtc;
    getExtension(
        extensionName: "WEBGL_compressed_texture_s3tc",
    ): null | WEBGL_compressed_texture_s3tc;
    getExtension(
        extensionName: "WEBGL_compressed_texture_s3tc_srgb",
    ): null | WEBGL_compressed_texture_s3tc_srgb;
    getExtension(
        extensionName: "WEBGL_debug_renderer_info",
    ): null | WEBGL_debug_renderer_info;
    getExtension(
        extensionName: "WEBGL_debug_shaders",
    ): null | WEBGL_debug_shaders;
    getExtension(
        extensionName: "WEBGL_depth_texture",
    ): null | WEBGL_depth_texture;
    getExtension(
        extensionName: "WEBGL_draw_buffers",
    ): null | WEBGL_draw_buffers;
    getExtension(
        extensionName: "WEBGL_lose_context",
    ): null | WEBGL_lose_context;
    getExtension(extensionName: "WEBGL_multi_draw"): null | WEBGL_multi_draw;
    getExtension(name: string): any;
    getFragDataLocation(program: WebGLProgram, name: string): number;
    getFramebufferAttachmentParameter(
        target: number,
        attachment: number,
        pname: number,
    ): any;
    getIndexedParameter(target: number, index: number): any;
    getInternalformatParameter(
        target: number,
        internalformat: number,
        pname: number,
    ): any;
    getParameter(pname: number): any;
    getProgramInfoLog(program: WebGLProgram): null | string;
    getProgramParameter(program: WebGLProgram, pname: number): any;
    getQuery(target: number, pname: number): null | WebGLQuery;
    getQueryParameter(query: WebGLQuery, pname: number): any;
    getRenderbufferParameter(target: number, pname: number): any;
    getSamplerParameter(sampler: WebGLSampler, pname: number): any;
    getShaderInfoLog(shader: WebGLShader): null | string;
    getShaderParameter(shader: WebGLShader, pname: number): any;
    getShaderPrecisionFormat(
        shadertype: number,
        precisiontype: number,
    ): null | WebGLShaderPrecisionFormat;
    getShaderSource(shader: WebGLShader): null | string;
    getSupportedExtensions(): null | string[];
    getSyncParameter(sync: WebGLSync, pname: number): any;
    getTexParameter(target: number, pname: number): any;
    getTransformFeedbackVarying(
        program: WebGLProgram,
        index: number,
    ): null | WebGLActiveInfo;
    getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;
    getUniformBlockIndex(
        program: WebGLProgram,
        uniformBlockName: string,
    ): number;
    getUniformIndices(
        program: WebGLProgram,
        uniformNames: string[],
    ): null | number[];
    getUniformIndices(
        program: WebGLProgram,
        uniformNames: Iterable<string, any, any>,
    ): null | Iterable<number, any, any>;
    getUniformLocation(
        program: WebGLProgram,
        name: string,
    ): null | WebGLUniformLocation;
    getVertexAttrib(index: number, pname: number): any;
    getVertexAttribOffset(index: number, pname: number): number;
    hint(target: number, mode: number): void;
    invalidateFramebuffer(target: number, attachments: number[]): void;
    invalidateFramebuffer(
        target: number,
        attachments: Iterable<number, any, any>,
    ): void;
    invalidateSubFramebuffer(
        target: number,
        attachments: number[],
        x: number,
        y: number,
        width: number,
        height: number,
    ): void;
    invalidateSubFramebuffer(
        target: number,
        attachments: Iterable<number, any, any>,
        x: number,
        y: number,
        width: number,
        height: number,
    ): void;
    isBuffer(buffer: null | WebGLBuffer): boolean;
    isContextLost(): boolean;
    isEnabled(cap: number): boolean;
    isFramebuffer(framebuffer: null | WebGLFramebuffer): boolean;
    isProgram(program: null | WebGLProgram): boolean;
    isQuery(query: null | WebGLQuery): boolean;
    isRenderbuffer(renderbuffer: null | WebGLRenderbuffer): boolean;
    isSampler(sampler: null | WebGLSampler): boolean;
    isShader(shader: null | WebGLShader): boolean;
    isSync(sync: null | WebGLSync): boolean;
    isTexture(texture: null | WebGLTexture): boolean;
    isTransformFeedback(tf: null | WebGLTransformFeedback): boolean;
    isVertexArray(vertexArray: null | WebGLVertexArrayObject): boolean;
    lineWidth(width: number): void;
    linkProgram(program: WebGLProgram): void;
    pauseTransformFeedback(): void;
    pixelStorei(pname: number, param: number | boolean): void;
    polygonOffset(factor: number, units: number): void;
    readBuffer(src: number): void;
    readPixels(
        x: number,
        y: number,
        width: number,
        height: number,
        format: number,
        type: number,
        dstData: null | ArrayBufferView<ArrayBufferLike>,
    ): void;
    readPixels(
        x: number,
        y: number,
        width: number,
        height: number,
        format: number,
        type: number,
        offset: number,
    ): void;
    readPixels(
        x: number,
        y: number,
        width: number,
        height: number,
        format: number,
        type: number,
        dstData: ArrayBufferView<ArrayBufferLike>,
        dstOffset: number,
    ): void;
    renderbufferStorage(
        target: number,
        internalformat: number,
        width: number,
        height: number,
    ): void;
    renderbufferStorageMultisample(
        target: number,
        samples: number,
        internalformat: number,
        width: number,
        height: number,
    ): void;
    resumeTransformFeedback(): void;
    sampleCoverage(value: number, invert: boolean): void;
    samplerParameterf(
        sampler: WebGLSampler,
        pname: number,
        param: number,
    ): void;
    samplerParameteri(
        sampler: WebGLSampler,
        pname: number,
        param: number,
    ): void;
    scissor(x: number, y: number, width: number, height: number): void;
    shaderSource(shader: WebGLShader, source: string): void;
    stencilFunc(func: number, ref: number, mask: number): void;
    stencilFuncSeparate(
        face: number,
        func: number,
        ref: number,
        mask: number,
    ): void;
    stencilMask(mask: number): void;
    stencilMaskSeparate(face: number, mask: number): void;
    stencilOp(fail: number, zfail: number, zpass: number): void;
    stencilOpSeparate(
        face: number,
        fail: number,
        zfail: number,
        zpass: number,
    ): void;
    texImage2D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        border: number,
        format: number,
        type: number,
        pixels: null | ArrayBufferView<ArrayBufferLike>,
    ): void;
    texImage2D(
        target: number,
        level: number,
        internalformat: number,
        format: number,
        type: number,
        source: TexImageSource,
    ): void;
    texImage2D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        border: number,
        format: number,
        type: number,
        pboOffset: number,
    ): void;
    texImage2D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        border: number,
        format: number,
        type: number,
        source: TexImageSource,
    ): void;
    texImage2D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        border: number,
        format: number,
        type: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        srcOffset: number,
    ): void;
    texImage3D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        depth: number,
        border: number,
        format: number,
        type: number,
        pboOffset: number,
    ): void;
    texImage3D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        depth: number,
        border: number,
        format: number,
        type: number,
        source: TexImageSource,
    ): void;
    texImage3D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        depth: number,
        border: number,
        format: number,
        type: number,
        srcData: null | ArrayBufferView<ArrayBufferLike>,
    ): void;
    texImage3D(
        target: number,
        level: number,
        internalformat: number,
        width: number,
        height: number,
        depth: number,
        border: number,
        format: number,
        type: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        srcOffset: number,
    ): void;
    texParameterf(target: number, pname: number, param: number): void;
    texParameteri(target: number, pname: number, param: number): void;
    texStorage2D(
        target: number,
        levels: number,
        internalformat: number,
        width: number,
        height: number,
    ): void;
    texStorage3D(
        target: number,
        levels: number,
        internalformat: number,
        width: number,
        height: number,
        depth: number,
    ): void;
    texSubImage2D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        width: number,
        height: number,
        format: number,
        type: number,
        pixels: null | ArrayBufferView<ArrayBufferLike>,
    ): void;
    texSubImage2D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        format: number,
        type: number,
        source: TexImageSource,
    ): void;
    texSubImage2D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        width: number,
        height: number,
        format: number,
        type: number,
        pboOffset: number,
    ): void;
    texSubImage2D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        width: number,
        height: number,
        format: number,
        type: number,
        source: TexImageSource,
    ): void;
    texSubImage2D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        width: number,
        height: number,
        format: number,
        type: number,
        srcData: ArrayBufferView<ArrayBufferLike>,
        srcOffset: number,
    ): void;
    texSubImage3D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        zoffset: number,
        width: number,
        height: number,
        depth: number,
        format: number,
        type: number,
        pboOffset: number,
    ): void;
    texSubImage3D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        zoffset: number,
        width: number,
        height: number,
        depth: number,
        format: number,
        type: number,
        source: TexImageSource,
    ): void;
    texSubImage3D(
        target: number,
        level: number,
        xoffset: number,
        yoffset: number,
        zoffset: number,
        width: number,
        height: number,
        depth: number,
        format: number,
        type: number,
        srcData: null | ArrayBufferView<ArrayBufferLike>,
        srcOffset?: number,
    ): void;
    transformFeedbackVaryings(
        program: WebGLProgram,
        varyings: string[],
        bufferMode: number,
    ): void;
    transformFeedbackVaryings(
        program: WebGLProgram,
        varyings: Iterable<string, any, any>,
        bufferMode: number,
    ): void;
    uniform1f(location: null | WebGLUniformLocation, x: number): void;
    uniform1fv(
        location: null | WebGLUniformLocation,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform1fv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform1i(location: null | WebGLUniformLocation, x: number): void;
    uniform1iv(
        location: null | WebGLUniformLocation,
        data: Int32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform1iv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform1ui(location: null | WebGLUniformLocation, v0: number): void;
    uniform1uiv(
        location: null | WebGLUniformLocation,
        data: Uint32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform1uiv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform2f(
        location: null | WebGLUniformLocation,
        x: number,
        y: number,
    ): void;
    uniform2fv(
        location: null | WebGLUniformLocation,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform2fv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform2i(
        location: null | WebGLUniformLocation,
        x: number,
        y: number,
    ): void;
    uniform2iv(
        location: null | WebGLUniformLocation,
        data: Int32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform2iv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform2ui(
        location: null | WebGLUniformLocation,
        v0: number,
        v1: number,
    ): void;
    uniform2uiv(
        location: null | WebGLUniformLocation,
        data: Uint32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform2uiv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform3f(
        location: null | WebGLUniformLocation,
        x: number,
        y: number,
        z: number,
    ): void;
    uniform3fv(
        location: null | WebGLUniformLocation,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform3fv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform3i(
        location: null | WebGLUniformLocation,
        x: number,
        y: number,
        z: number,
    ): void;
    uniform3iv(
        location: null | WebGLUniformLocation,
        data: Int32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform3iv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform3ui(
        location: null | WebGLUniformLocation,
        v0: number,
        v1: number,
        v2: number,
    ): void;
    uniform3uiv(
        location: null | WebGLUniformLocation,
        data: Uint32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform3uiv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform4f(
        location: null | WebGLUniformLocation,
        x: number,
        y: number,
        z: number,
        w: number,
    ): void;
    uniform4fv(
        location: null | WebGLUniformLocation,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform4fv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform4i(
        location: null | WebGLUniformLocation,
        x: number,
        y: number,
        z: number,
        w: number,
    ): void;
    uniform4iv(
        location: null | WebGLUniformLocation,
        data: Int32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform4iv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform4ui(
        location: null | WebGLUniformLocation,
        v0: number,
        v1: number,
        v2: number,
        v3: number,
    ): void;
    uniform4uiv(
        location: null | WebGLUniformLocation,
        data: Uint32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniform4uiv(
        location: null | WebGLUniformLocation,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformBlockBinding(
        program: WebGLProgram,
        uniformBlockIndex: number,
        uniformBlockBinding: number,
    ): void;
    uniformMatrix2fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix2fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix2x3fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix2x3fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix2x4fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix2x4fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix3fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix3fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix3x2fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix3x2fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix3x4fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix3x4fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix4fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix4fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix4x2fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix4x2fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix4x3fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Float32List,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    uniformMatrix4x3fv(
        location: null | WebGLUniformLocation,
        transpose: boolean,
        data: Iterable<number, any, any>,
        srcOffset?: number,
        srcLength?: number,
    ): void;
    useProgram(program: null | WebGLProgram): void;
    validateProgram(program: WebGLProgram): void;
    vertexAttrib1f(index: number, x: number): void;
    vertexAttrib1fv(index: number, values: Float32List): void;
    vertexAttrib1fv(index: number, values: Iterable<number, any, any>): void;
    vertexAttrib2f(index: number, x: number, y: number): void;
    vertexAttrib2fv(index: number, values: Float32List): void;
    vertexAttrib2fv(index: number, values: Iterable<number, any, any>): void;
    vertexAttrib3f(index: number, x: number, y: number, z: number): void;
    vertexAttrib3fv(index: number, values: Float32List): void;
    vertexAttrib3fv(index: number, values: Iterable<number, any, any>): void;
    vertexAttrib4f(
        index: number,
        x: number,
        y: number,
        z: number,
        w: number,
    ): void;
    vertexAttrib4fv(index: number, values: Float32List): void;
    vertexAttrib4fv(index: number, values: Iterable<number, any, any>): void;
    vertexAttribDivisor(index: number, divisor: number): void;
    vertexAttribI4i(
        index: number,
        x: number,
        y: number,
        z: number,
        w: number,
    ): void;
    vertexAttribI4iv(index: number, values: Int32List): void;
    vertexAttribI4iv(index: number, values: Iterable<number, any, any>): void;
    vertexAttribI4ui(
        index: number,
        x: number,
        y: number,
        z: number,
        w: number,
    ): void;
    vertexAttribI4uiv(index: number, values: Uint32List): void;
    vertexAttribI4uiv(index: number, values: Iterable<number, any, any>): void;
    vertexAttribIPointer(
        index: number,
        size: number,
        type: number,
        stride: number,
        offset: number,
    ): void;
    vertexAttribPointer(
        index: number,
        size: number,
        type: number,
        normalized: boolean,
        stride: number,
        offset: number,
    ): void;
    viewport(x: number, y: number, width: number, height: number): void;
    waitSync(sync: WebGLSync, flags: number, timeout: number): void;
}

Hierarchy

  • WebGL2RenderingContextBase
  • WebGL2RenderingContextOverloads
  • WebGLRenderingContextBase
    • WebGL2RenderingContext

Properties

ACTIVE_ATTRIBUTES ACTIVE_TEXTURE ACTIVE_UNIFORM_BLOCKS ACTIVE_UNIFORMS 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 canvas 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 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 DEPTH24_STENCIL8 DEPTH32F_STENCIL8 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 drawingBufferColorSpace drawingBufferHeight drawingBufferWidth 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 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 INTERLEAVED_ATTRIBS INVALID_ENUM INVALID_FRAMEBUFFER_OPERATION INVALID_INDEX INVALID_OPERATION INVALID_VALUE INVERT KEEP LEQUAL LESS LINE_LOOP LINE_STRIP LINE_WIDTH LINEAR LINEAR_MIPMAP_LINEAR LINEAR_MIPMAP_NEAREST LINES 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_ELEMENT_INDEX MAX_ELEMENTS_INDICES MAX_ELEMENTS_VERTICES 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 NO_ERROR NONE NOTEQUAL 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 R8_SNORM R8I R8UI 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 RG_INTEGER RG16F RG16I RG16UI RG32F RG32I RG32UI RG8 RG8_SNORM RG8I RG8UI RGB RGB_INTEGER RGB10_A2 RGB10_A2UI RGB16F RGB16I RGB16UI RGB32F RGB32I RGB32UI RGB5_A1 RGB565 RGB8 RGB8_SNORM RGB8I RGB8UI RGB9_E5 RGBA RGBA_INTEGER RGBA16F RGBA16I RGBA16UI RGBA32F RGBA32I RGBA32UI RGBA4 RGBA8 RGBA8_SNORM RGBA8I RGBA8UI SAMPLE_ALPHA_TO_COVERAGE SAMPLE_BUFFERS SAMPLE_COVERAGE SAMPLE_COVERAGE_INVERT SAMPLE_COVERAGE_VALUE SAMPLER_2D SAMPLER_2D_ARRAY SAMPLER_2D_ARRAY_SHADOW SAMPLER_2D_SHADOW SAMPLER_3D SAMPLER_BINDING SAMPLER_CUBE SAMPLER_CUBE_SHADOW SAMPLES 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 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 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 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 TRIANGLE_FAN TRIANGLE_STRIP TRIANGLES UNIFORM_ARRAY_STRIDE UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES UNIFORM_BLOCK_ACTIVE_UNIFORMS 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_2_10_10_10_REV UNSIGNED_INT_24_8 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

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: 35721
ACTIVE_TEXTURE: 34016
ACTIVE_UNIFORM_BLOCKS: 35382
ACTIVE_UNIFORMS: 35718
ALIASED_LINE_WIDTH_RANGE: 33902
ALIASED_POINT_SIZE_RANGE: 33901
ALPHA: 6406
ALPHA_BITS: 3413
ALREADY_SIGNALED: 37146
ALWAYS: 519
ANY_SAMPLES_PASSED: 35887
ANY_SAMPLES_PASSED_CONSERVATIVE: 36202
ARRAY_BUFFER: 34962
ARRAY_BUFFER_BINDING: 34964
ATTACHED_SHADERS: 35717
BACK: 1029
BLEND: 3042
BLEND_COLOR: 32773
BLEND_DST_ALPHA: 32970
BLEND_DST_RGB: 32968
BLEND_EQUATION: 32777
BLEND_EQUATION_ALPHA: 34877
BLEND_EQUATION_RGB: 32777
BLEND_SRC_ALPHA: 32971
BLEND_SRC_RGB: 32969
BLUE_BITS: 3412
BOOL: 35670
BOOL_VEC2: 35671
BOOL_VEC3: 35672
BOOL_VEC4: 35673
BROWSER_DEFAULT_WEBGL: 37444
BUFFER_SIZE: 34660
BUFFER_USAGE: 34661
BYTE: 5120
CCW: 2305
CLAMP_TO_EDGE: 33071
COLOR: 6144
COLOR_ATTACHMENT0: 36064
COLOR_ATTACHMENT1: 36065
COLOR_ATTACHMENT10: 36074
COLOR_ATTACHMENT11: 36075
COLOR_ATTACHMENT12: 36076
COLOR_ATTACHMENT13: 36077
COLOR_ATTACHMENT14: 36078
COLOR_ATTACHMENT15: 36079
COLOR_ATTACHMENT2: 36066
COLOR_ATTACHMENT3: 36067
COLOR_ATTACHMENT4: 36068
COLOR_ATTACHMENT5: 36069
COLOR_ATTACHMENT6: 36070
COLOR_ATTACHMENT7: 36071
COLOR_ATTACHMENT8: 36072
COLOR_ATTACHMENT9: 36073
COLOR_BUFFER_BIT: 16384
COLOR_CLEAR_VALUE: 3106
COLOR_WRITEMASK: 3107
COMPARE_REF_TO_TEXTURE: 34894
COMPILE_STATUS: 35713
COMPRESSED_TEXTURE_FORMATS: 34467
CONDITION_SATISFIED: 37148
CONSTANT_ALPHA: 32771
CONSTANT_COLOR: 32769
CONTEXT_LOST_WEBGL: 37442
COPY_READ_BUFFER: 36662
COPY_READ_BUFFER_BINDING: 36662
COPY_WRITE_BUFFER: 36663
COPY_WRITE_BUFFER_BINDING: 36663
CULL_FACE: 2884
CULL_FACE_MODE: 2885
CURRENT_PROGRAM: 35725
CURRENT_QUERY: 34917
CURRENT_VERTEX_ATTRIB: 34342
CW: 2304
DECR: 7683
DECR_WRAP: 34056
DELETE_STATUS: 35712
DEPTH: 6145
DEPTH_ATTACHMENT: 36096
DEPTH_BITS: 3414
DEPTH_BUFFER_BIT: 256
DEPTH_CLEAR_VALUE: 2931
DEPTH_COMPONENT: 6402
DEPTH_COMPONENT16: 33189
DEPTH_COMPONENT24: 33190
DEPTH_COMPONENT32F: 36012
DEPTH_FUNC: 2932
DEPTH_RANGE: 2928
DEPTH_STENCIL: 34041
DEPTH_STENCIL_ATTACHMENT: 33306
DEPTH_TEST: 2929
DEPTH_WRITEMASK: 2930
DEPTH24_STENCIL8: 35056
DEPTH32F_STENCIL8: 36013
DITHER: 3024
DONT_CARE: 4352
DRAW_BUFFER0: 34853
DRAW_BUFFER1: 34854
DRAW_BUFFER10: 34863
DRAW_BUFFER11: 34864
DRAW_BUFFER12: 34865
DRAW_BUFFER13: 34866
DRAW_BUFFER14: 34867
DRAW_BUFFER15: 34868
DRAW_BUFFER2: 34855
DRAW_BUFFER3: 34856
DRAW_BUFFER4: 34857
DRAW_BUFFER5: 34858
DRAW_BUFFER6: 34859
DRAW_BUFFER7: 34860
DRAW_BUFFER8: 34861
DRAW_BUFFER9: 34862
DRAW_FRAMEBUFFER: 36009
DRAW_FRAMEBUFFER_BINDING: 36006
drawingBufferColorSpace: PredefinedColorSpace
drawingBufferHeight: number
drawingBufferWidth: number
DST_ALPHA: 772
DST_COLOR: 774
DYNAMIC_COPY: 35050
DYNAMIC_DRAW: 35048
DYNAMIC_READ: 35049
ELEMENT_ARRAY_BUFFER: 34963
ELEMENT_ARRAY_BUFFER_BINDING: 34965
EQUAL: 514
FASTEST: 4353
FLOAT: 5126
FLOAT_32_UNSIGNED_INT_24_8_REV: 36269
FLOAT_MAT2: 35674
FLOAT_MAT2x3: 35685
FLOAT_MAT2x4: 35686
FLOAT_MAT3: 35675
FLOAT_MAT3x2: 35687
FLOAT_MAT3x4: 35688
FLOAT_MAT4: 35676
FLOAT_MAT4x2: 35689
FLOAT_MAT4x3: 35690
FLOAT_VEC2: 35664
FLOAT_VEC3: 35665
FLOAT_VEC4: 35666
FRAGMENT_SHADER: 35632
FRAGMENT_SHADER_DERIVATIVE_HINT: 35723
FRAMEBUFFER: 36160
FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 33301
FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 33300
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 33296
FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 33297
FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 33302
FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 33299
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048
FRAMEBUFFER_ATTACHMENT_RED_SIZE: 33298
FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 33303
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 36052
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050
FRAMEBUFFER_BINDING: 36006
FRAMEBUFFER_COMPLETE: 36053
FRAMEBUFFER_DEFAULT: 33304
FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054
FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055
FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 36182
FRAMEBUFFER_UNSUPPORTED: 36061
FRONT: 1028
FRONT_AND_BACK: 1032
FRONT_FACE: 2886
FUNC_ADD: 32774
FUNC_REVERSE_SUBTRACT: 32779
FUNC_SUBTRACT: 32778
GENERATE_MIPMAP_HINT: 33170
GEQUAL: 518
GREATER: 516
GREEN_BITS: 3411
HALF_FLOAT: 5131
HIGH_FLOAT: 36338
HIGH_INT: 36341
IMPLEMENTATION_COLOR_READ_FORMAT: 35739
IMPLEMENTATION_COLOR_READ_TYPE: 35738
INCR: 7682
INCR_WRAP: 34055
INT: 5124
INT_2_10_10_10_REV: 36255
INT_SAMPLER_2D: 36298
INT_SAMPLER_2D_ARRAY: 36303
INT_SAMPLER_3D: 36299
INT_SAMPLER_CUBE: 36300
INT_VEC2: 35667
INT_VEC3: 35668
INT_VEC4: 35669
INTERLEAVED_ATTRIBS: 35980
INVALID_ENUM: 1280
INVALID_FRAMEBUFFER_OPERATION: 1286
INVALID_INDEX: 4294967295
INVALID_OPERATION: 1282
INVALID_VALUE: 1281
INVERT: 5386
KEEP: 7680
LEQUAL: 515
LESS: 513
LINE_LOOP: 2
LINE_STRIP: 3
LINE_WIDTH: 2849
LINEAR: 9729
LINEAR_MIPMAP_LINEAR: 9987
LINEAR_MIPMAP_NEAREST: 9985
LINES: 1
LINK_STATUS: 35714
LOW_FLOAT: 36336
LOW_INT: 36339
LUMINANCE: 6409
LUMINANCE_ALPHA: 6410
MAX: 32776
MAX_3D_TEXTURE_SIZE: 32883
MAX_ARRAY_TEXTURE_LAYERS: 35071
MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 37447
MAX_COLOR_ATTACHMENTS: 36063
MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 35379
MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661
MAX_COMBINED_UNIFORM_BLOCKS: 35374
MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 35377
MAX_CUBE_MAP_TEXTURE_SIZE: 34076
MAX_DRAW_BUFFERS: 34852
MAX_ELEMENT_INDEX: 36203
MAX_ELEMENTS_INDICES: 33001
MAX_ELEMENTS_VERTICES: 33000
MAX_FRAGMENT_INPUT_COMPONENTS: 37157
MAX_FRAGMENT_UNIFORM_BLOCKS: 35373
MAX_FRAGMENT_UNIFORM_COMPONENTS: 35657
MAX_FRAGMENT_UNIFORM_VECTORS: 36349
MAX_PROGRAM_TEXEL_OFFSET: 35077
MAX_RENDERBUFFER_SIZE: 34024
MAX_SAMPLES: 36183
MAX_SERVER_WAIT_TIMEOUT: 37137
MAX_TEXTURE_IMAGE_UNITS: 34930
MAX_TEXTURE_LOD_BIAS: 34045
MAX_TEXTURE_SIZE: 3379
MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 35978
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 35979
MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 35968
MAX_UNIFORM_BLOCK_SIZE: 35376
MAX_UNIFORM_BUFFER_BINDINGS: 35375
MAX_VARYING_COMPONENTS: 35659
MAX_VARYING_VECTORS: 36348
MAX_VERTEX_ATTRIBS: 34921
MAX_VERTEX_OUTPUT_COMPONENTS: 37154
MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660
MAX_VERTEX_UNIFORM_BLOCKS: 35371
MAX_VERTEX_UNIFORM_COMPONENTS: 35658
MAX_VERTEX_UNIFORM_VECTORS: 36347
MAX_VIEWPORT_DIMS: 3386
MEDIUM_FLOAT: 36337
MEDIUM_INT: 36340
MIN: 32775
MIN_PROGRAM_TEXEL_OFFSET: 35076
MIRRORED_REPEAT: 33648
NEAREST: 9728
NEAREST_MIPMAP_LINEAR: 9986
NEAREST_MIPMAP_NEAREST: 9984
NEVER: 512
NICEST: 4354
NO_ERROR: 0
NONE: 0
NOTEQUAL: 517
OBJECT_TYPE: 37138
ONE: 1
ONE_MINUS_CONSTANT_ALPHA: 32772
ONE_MINUS_CONSTANT_COLOR: 32770
ONE_MINUS_DST_ALPHA: 773
ONE_MINUS_DST_COLOR: 775
ONE_MINUS_SRC_ALPHA: 771
ONE_MINUS_SRC_COLOR: 769
OUT_OF_MEMORY: 1285
PACK_ALIGNMENT: 3333
PACK_ROW_LENGTH: 3330
PACK_SKIP_PIXELS: 3332
PACK_SKIP_ROWS: 3331
PIXEL_PACK_BUFFER: 35051
PIXEL_PACK_BUFFER_BINDING: 35053
PIXEL_UNPACK_BUFFER: 35052
PIXEL_UNPACK_BUFFER_BINDING: 35055
POINTS: 0
POLYGON_OFFSET_FACTOR: 32824
POLYGON_OFFSET_FILL: 32823
POLYGON_OFFSET_UNITS: 10752
QUERY_RESULT: 34918
QUERY_RESULT_AVAILABLE: 34919
R11F_G11F_B10F: 35898
R16F: 33325
R16I: 33331
R16UI: 33332
R32F: 33326
R32I: 33333
R32UI: 33334
R8: 33321
R8_SNORM: 36756
R8I: 33329
R8UI: 33330
RASTERIZER_DISCARD: 35977
READ_BUFFER: 3074
READ_FRAMEBUFFER: 36008
READ_FRAMEBUFFER_BINDING: 36010
RED: 6403
RED_BITS: 3410
RED_INTEGER: 36244
RENDERBUFFER: 36161
RENDERBUFFER_ALPHA_SIZE: 36179
RENDERBUFFER_BINDING: 36007
RENDERBUFFER_BLUE_SIZE: 36178
RENDERBUFFER_DEPTH_SIZE: 36180
RENDERBUFFER_GREEN_SIZE: 36177
RENDERBUFFER_HEIGHT: 36163
RENDERBUFFER_INTERNAL_FORMAT: 36164
RENDERBUFFER_RED_SIZE: 36176
RENDERBUFFER_SAMPLES: 36011
RENDERBUFFER_STENCIL_SIZE: 36181
RENDERBUFFER_WIDTH: 36162
RENDERER: 7937
REPEAT: 10497
REPLACE: 7681
RG: 33319
RG_INTEGER: 33320
RG16F: 33327
RG16I: 33337
RG16UI: 33338
RG32F: 33328
RG32I: 33339
RG32UI: 33340
RG8: 33323
RG8_SNORM: 36757
RG8I: 33335
RG8UI: 33336
RGB: 6407
RGB_INTEGER: 36248
RGB10_A2: 32857
RGB10_A2UI: 36975
RGB16F: 34843
RGB16I: 36233
RGB16UI: 36215
RGB32F: 34837
RGB32I: 36227
RGB32UI: 36209
RGB5_A1: 32855
RGB565: 36194
RGB8: 32849
RGB8_SNORM: 36758
RGB8I: 36239
RGB8UI: 36221
RGB9_E5: 35901
RGBA: 6408
RGBA_INTEGER: 36249
RGBA16F: 34842
RGBA16I: 36232
RGBA16UI: 36214
RGBA32F: 34836
RGBA32I: 36226
RGBA32UI: 36208
RGBA4: 32854
RGBA8: 32856
RGBA8_SNORM: 36759
RGBA8I: 36238
RGBA8UI: 36220
SAMPLE_ALPHA_TO_COVERAGE: 32926
SAMPLE_BUFFERS: 32936
SAMPLE_COVERAGE: 32928
SAMPLE_COVERAGE_INVERT: 32939
SAMPLE_COVERAGE_VALUE: 32938
SAMPLER_2D: 35678
SAMPLER_2D_ARRAY: 36289
SAMPLER_2D_ARRAY_SHADOW: 36292
SAMPLER_2D_SHADOW: 35682
SAMPLER_3D: 35679
SAMPLER_BINDING: 35097
SAMPLER_CUBE: 35680
SAMPLER_CUBE_SHADOW: 36293
SAMPLES: 32937
SCISSOR_BOX: 3088
SCISSOR_TEST: 3089
SEPARATE_ATTRIBS: 35981
SHADER_TYPE: 35663
SHADING_LANGUAGE_VERSION: 35724
SHORT: 5122
SIGNALED: 37145
SIGNED_NORMALIZED: 36764
SRC_ALPHA: 770
SRC_ALPHA_SATURATE: 776
SRC_COLOR: 768
SRGB: 35904
SRGB8: 35905
SRGB8_ALPHA8: 35907
STATIC_COPY: 35046
STATIC_DRAW: 35044
STATIC_READ: 35045
STENCIL: 6146
STENCIL_ATTACHMENT: 36128
STENCIL_BACK_FAIL: 34817
STENCIL_BACK_FUNC: 34816
STENCIL_BACK_PASS_DEPTH_FAIL: 34818
STENCIL_BACK_PASS_DEPTH_PASS: 34819
STENCIL_BACK_REF: 36003
STENCIL_BACK_VALUE_MASK: 36004
STENCIL_BACK_WRITEMASK: 36005
STENCIL_BITS: 3415
STENCIL_BUFFER_BIT: 1024
STENCIL_CLEAR_VALUE: 2961
STENCIL_FAIL: 2964
STENCIL_FUNC: 2962
STENCIL_INDEX8: 36168
STENCIL_PASS_DEPTH_FAIL: 2965
STENCIL_PASS_DEPTH_PASS: 2966
STENCIL_REF: 2967
STENCIL_TEST: 2960
STENCIL_VALUE_MASK: 2963
STENCIL_WRITEMASK: 2968
STREAM_COPY: 35042
STREAM_DRAW: 35040
STREAM_READ: 35041
SUBPIXEL_BITS: 3408
SYNC_CONDITION: 37139
SYNC_FENCE: 37142
SYNC_FLAGS: 37141
SYNC_FLUSH_COMMANDS_BIT: 1
SYNC_GPU_COMMANDS_COMPLETE: 37143
SYNC_STATUS: 37140
TEXTURE: 5890
TEXTURE_2D: 3553
TEXTURE_2D_ARRAY: 35866
TEXTURE_3D: 32879
TEXTURE_BASE_LEVEL: 33084
TEXTURE_BINDING_2D: 32873
TEXTURE_BINDING_2D_ARRAY: 35869
TEXTURE_BINDING_3D: 32874
TEXTURE_BINDING_CUBE_MAP: 34068
TEXTURE_COMPARE_FUNC: 34893
TEXTURE_COMPARE_MODE: 34892
TEXTURE_CUBE_MAP: 34067
TEXTURE_CUBE_MAP_NEGATIVE_X: 34070
TEXTURE_CUBE_MAP_NEGATIVE_Y: 34072
TEXTURE_CUBE_MAP_NEGATIVE_Z: 34074
TEXTURE_CUBE_MAP_POSITIVE_X: 34069
TEXTURE_CUBE_MAP_POSITIVE_Y: 34071
TEXTURE_CUBE_MAP_POSITIVE_Z: 34073
TEXTURE_IMMUTABLE_FORMAT: 37167
TEXTURE_IMMUTABLE_LEVELS: 33503
TEXTURE_MAG_FILTER: 10240
TEXTURE_MAX_LEVEL: 33085
TEXTURE_MAX_LOD: 33083
TEXTURE_MIN_FILTER: 10241
TEXTURE_MIN_LOD: 33082
TEXTURE_WRAP_R: 32882
TEXTURE_WRAP_S: 10242
TEXTURE_WRAP_T: 10243
TEXTURE0: 33984
TEXTURE1: 33985
TEXTURE10: 33994
TEXTURE11: 33995
TEXTURE12: 33996
TEXTURE13: 33997
TEXTURE14: 33998
TEXTURE15: 33999
TEXTURE16: 34000
TEXTURE17: 34001
TEXTURE18: 34002
TEXTURE19: 34003
TEXTURE2: 33986
TEXTURE20: 34004
TEXTURE21: 34005
TEXTURE22: 34006
TEXTURE23: 34007
TEXTURE24: 34008
TEXTURE25: 34009
TEXTURE26: 34010
TEXTURE27: 34011
TEXTURE28: 34012
TEXTURE29: 34013
TEXTURE3: 33987
TEXTURE30: 34014
TEXTURE31: 34015
TEXTURE4: 33988
TEXTURE5: 33989
TEXTURE6: 33990
TEXTURE7: 33991
TEXTURE8: 33992
TEXTURE9: 33993
TIMEOUT_EXPIRED: 37147
TIMEOUT_IGNORED: -1
TRANSFORM_FEEDBACK: 36386
TRANSFORM_FEEDBACK_ACTIVE: 36388
TRANSFORM_FEEDBACK_BINDING: 36389
TRANSFORM_FEEDBACK_BUFFER: 35982
TRANSFORM_FEEDBACK_BUFFER_BINDING: 35983
TRANSFORM_FEEDBACK_BUFFER_MODE: 35967
TRANSFORM_FEEDBACK_BUFFER_SIZE: 35973
TRANSFORM_FEEDBACK_BUFFER_START: 35972
TRANSFORM_FEEDBACK_PAUSED: 36387
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 35976
TRANSFORM_FEEDBACK_VARYINGS: 35971
TRIANGLE_FAN: 6
TRIANGLE_STRIP: 5
TRIANGLES: 4
UNIFORM_ARRAY_STRIDE: 35388
UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 35395
UNIFORM_BLOCK_ACTIVE_UNIFORMS: 35394
UNIFORM_BLOCK_BINDING: 35391
UNIFORM_BLOCK_DATA_SIZE: 35392
UNIFORM_BLOCK_INDEX: 35386
UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 35398
UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 35396
UNIFORM_BUFFER: 35345
UNIFORM_BUFFER_BINDING: 35368
UNIFORM_BUFFER_OFFSET_ALIGNMENT: 35380
UNIFORM_BUFFER_SIZE: 35370
UNIFORM_BUFFER_START: 35369
UNIFORM_IS_ROW_MAJOR: 35390
UNIFORM_MATRIX_STRIDE: 35389
UNIFORM_OFFSET: 35387
UNIFORM_SIZE: 35384
UNIFORM_TYPE: 35383
UNPACK_ALIGNMENT: 3317
UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443
UNPACK_FLIP_Y_WEBGL: 37440
UNPACK_IMAGE_HEIGHT: 32878
UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441
UNPACK_ROW_LENGTH: 3314
UNPACK_SKIP_IMAGES: 32877
UNPACK_SKIP_PIXELS: 3316
UNPACK_SKIP_ROWS: 3315
UNSIGNALED: 37144
UNSIGNED_BYTE: 5121
UNSIGNED_INT: 5125
UNSIGNED_INT_10F_11F_11F_REV: 35899
UNSIGNED_INT_2_10_10_10_REV: 33640
UNSIGNED_INT_24_8: 34042
UNSIGNED_INT_5_9_9_9_REV: 35902
UNSIGNED_INT_SAMPLER_2D: 36306
UNSIGNED_INT_SAMPLER_2D_ARRAY: 36311
UNSIGNED_INT_SAMPLER_3D: 36307
UNSIGNED_INT_SAMPLER_CUBE: 36308
UNSIGNED_INT_VEC2: 36294
UNSIGNED_INT_VEC3: 36295
UNSIGNED_INT_VEC4: 36296
UNSIGNED_NORMALIZED: 35863
UNSIGNED_SHORT: 5123
UNSIGNED_SHORT_4_4_4_4: 32819
UNSIGNED_SHORT_5_5_5_1: 32820
UNSIGNED_SHORT_5_6_5: 33635
VALIDATE_STATUS: 35715
VENDOR: 7936
VERSION: 7938
VERTEX_ARRAY_BINDING: 34229
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 34975
VERTEX_ATTRIB_ARRAY_DIVISOR: 35070
VERTEX_ATTRIB_ARRAY_ENABLED: 34338
VERTEX_ATTRIB_ARRAY_INTEGER: 35069
VERTEX_ATTRIB_ARRAY_NORMALIZED: 34922
VERTEX_ATTRIB_ARRAY_POINTER: 34373
VERTEX_ATTRIB_ARRAY_SIZE: 34339
VERTEX_ATTRIB_ARRAY_STRIDE: 34340
VERTEX_ATTRIB_ARRAY_TYPE: 34341
VERTEX_SHADER: 35633
VIEWPORT: 2978
WAIT_FAILED: 37149
ZERO: 0

Methods

  • Parameters

    • texture: number

    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

    • 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

    Returns void

  • Parameters

    Returns void

  • Parameters

    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
    • OptionalsrcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number, any, any>
    • OptionalsrcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Int32List
    • OptionalsrcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number, any, any>
    • OptionalsrcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Uint32List
    • OptionalsrcOffset: number

    Returns void

  • Parameters

    • buffer: number
    • drawbuffer: number
    • values: Iterable<number, any, any>
    • OptionalsrcOffset: 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<ArrayBufferLike>
    • OptionalsrcOffset: number
    • OptionalsrcLengthOverride: 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<ArrayBufferLike>
    • OptionalsrcOffset: number
    • OptionalsrcLengthOverride: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • imageSize: number
    • offset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • srcData: ArrayBufferView<ArrayBufferLike>
    • OptionalsrcOffset: number
    • OptionalsrcLengthOverride: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • imageSize: number
    • offset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • srcData: ArrayBufferView<ArrayBufferLike>
    • OptionalsrcOffset: number
    • OptionalsrcLengthOverride: number

    Returns void

  • Parameters

    • readTarget: number
    • writeTarget: number
    • readOffset: number
    • writeOffset: number
    • size: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • x: number
    • y: number
    • width: number
    • height: number
    • border: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Returns WebGLQuery

  • Parameters

    • type: number

    Returns null | WebGLShader

  • Parameters

    • mode: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • func: number

    Returns void

  • Parameters

    • flag: boolean

    Returns void

  • Parameters

    • zNear: number
    • zFar: number

    Returns void

  • Parameters

    • cap: number

    Returns void

  • Parameters

    • index: number

    Returns void

  • Parameters

    • mode: number
    • first: number
    • count: number

    Returns void

  • Parameters

    • mode: number
    • first: number
    • count: number
    • instanceCount: number

    Returns void

  • Parameters

    • buffers: number[]

    Returns void

  • Parameters

    • buffers: Iterable<number, any, any>

    Returns void

  • Parameters

    • mode: number
    • count: number
    • type: number
    • offset: number

    Returns void

  • Parameters

    • mode: number
    • count: number
    • type: number
    • offset: number
    • instanceCount: number

    Returns void

  • Parameters

    • mode: number
    • start: number
    • end: number
    • count: number
    • type: number
    • offset: number

    Returns void

  • Parameters

    • cap: number

    Returns void

  • Parameters

    • index: number

    Returns void

  • Parameters

    • target: number

    Returns void

  • Returns void

  • Parameters

    • condition: number
    • flags: number

    Returns null | WebGLSync

  • Returns void

  • Returns void

  • Parameters

    • target: number
    • attachment: number
    • renderbuffertarget: number
    • renderbuffer: null | WebGLRenderbuffer

    Returns void

  • Parameters

    • target: number
    • attachment: number
    • textarget: number
    • texture: null | WebGLTexture
    • level: number

    Returns void

  • Parameters

    • target: number
    • attachment: number
    • texture: null | WebGLTexture
    • level: number
    • layer: number

    Returns void

  • Parameters

    • mode: number

    Returns void

  • Parameters

    • target: number

    Returns void

  • Parameters

    Returns null | string

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    • program: WebGLProgram
    • uniformIndices: Iterable<number, any, any>
    • pname: number

    Returns any

  • Parameters

    Returns number

  • Parameters

    • target: number
    • pname: number

    Returns any

  • Parameters

    Returns void

  • Returns number

  • Parameters

    • extensionName: "ANGLE_instanced_arrays"

    Returns null | ANGLE_instanced_arrays

  • Parameters

    • extensionName: "EXT_blend_minmax"

    Returns null | EXT_blend_minmax

  • Parameters

    • extensionName: "EXT_color_buffer_float"

    Returns null | EXT_color_buffer_float

  • Parameters

    • extensionName: "EXT_color_buffer_half_float"

    Returns null | EXT_color_buffer_half_float

  • Parameters

    • extensionName: "EXT_float_blend"

    Returns null | EXT_float_blend

  • Parameters

    • extensionName: "EXT_frag_depth"

    Returns null | EXT_frag_depth

  • Parameters

    • extensionName: "EXT_sRGB"

    Returns null | EXT_sRGB

  • Parameters

    • extensionName: "EXT_shader_texture_lod"

    Returns null | EXT_shader_texture_lod

  • Parameters

    • extensionName: "EXT_texture_compression_bptc"

    Returns null | EXT_texture_compression_bptc

  • Parameters

    • extensionName: "EXT_texture_compression_rgtc"

    Returns null | EXT_texture_compression_rgtc

  • Parameters

    • extensionName: "EXT_texture_filter_anisotropic"

    Returns null | EXT_texture_filter_anisotropic

  • Parameters

    • extensionName: "KHR_parallel_shader_compile"

    Returns null | KHR_parallel_shader_compile

  • Parameters

    • extensionName: "OES_element_index_uint"

    Returns null | OES_element_index_uint

  • Parameters

    • extensionName: "OES_fbo_render_mipmap"

    Returns null | OES_fbo_render_mipmap

  • Parameters

    • extensionName: "OES_standard_derivatives"

    Returns null | OES_standard_derivatives

  • Parameters

    • extensionName: "OES_texture_float"

    Returns null | OES_texture_float

  • Parameters

    • extensionName: "OES_texture_float_linear"

    Returns null | OES_texture_float_linear

  • Parameters

    • extensionName: "OES_texture_half_float"

    Returns null | OES_texture_half_float

  • Parameters

    • extensionName: "OES_texture_half_float_linear"

    Returns null | OES_texture_half_float_linear

  • Parameters

    • extensionName: "OES_vertex_array_object"

    Returns null | OES_vertex_array_object

  • Parameters

    • extensionName: "OVR_multiview2"

    Returns null | OVR_multiview2

  • Parameters

    • extensionName: "WEBGL_color_buffer_float"

    Returns null | WEBGL_color_buffer_float

  • Parameters

    • extensionName: "WEBGL_compressed_texture_astc"

    Returns null | WEBGL_compressed_texture_astc

  • Parameters

    • extensionName: "WEBGL_compressed_texture_etc"

    Returns null | WEBGL_compressed_texture_etc

  • Parameters

    • extensionName: "WEBGL_compressed_texture_etc1"

    Returns null | WEBGL_compressed_texture_etc1

  • Parameters

    • extensionName: "WEBGL_compressed_texture_pvrtc"

    Returns null | WEBGL_compressed_texture_pvrtc

  • Parameters

    • extensionName: "WEBGL_compressed_texture_s3tc"

    Returns null | WEBGL_compressed_texture_s3tc

  • Parameters

    • extensionName: "WEBGL_compressed_texture_s3tc_srgb"

    Returns null | WEBGL_compressed_texture_s3tc_srgb

  • Parameters

    • extensionName: "WEBGL_debug_renderer_info"

    Returns null | WEBGL_debug_renderer_info

  • Parameters

    • extensionName: "WEBGL_debug_shaders"

    Returns null | WEBGL_debug_shaders

  • Parameters

    • extensionName: "WEBGL_depth_texture"

    Returns null | WEBGL_depth_texture

  • Parameters

    • extensionName: "WEBGL_draw_buffers"

    Returns null | WEBGL_draw_buffers

  • Parameters

    • extensionName: "WEBGL_lose_context"

    Returns null | WEBGL_lose_context

  • Parameters

    • extensionName: "WEBGL_multi_draw"

    Returns null | WEBGL_multi_draw

  • Parameters

    • name: string

    Returns any

  • Parameters

    Returns number

  • Parameters

    • target: number
    • attachment: number
    • pname: number

    Returns any

  • Parameters

    • target: number
    • index: number

    Returns any

  • Parameters

    • target: number
    • internalformat: number
    • pname: number

    Returns any

  • Parameters

    • pname: number

    Returns any

  • Parameters

    Returns null | string

  • Parameters

    Returns any

  • Parameters

    • target: number
    • pname: number

    Returns null | WebGLQuery

  • Parameters

    Returns any

  • Parameters

    • target: number
    • pname: number

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns null | string

  • Parameters

    Returns any

  • Parameters

    • shadertype: number
    • precisiontype: number

    Returns null | WebGLShaderPrecisionFormat

  • Parameters

    Returns null | string

  • Returns null | string[]

  • Parameters

    Returns any

  • Parameters

    • target: number
    • pname: number

    Returns any

  • Parameters

    Returns number

  • Parameters

    Returns null | number[]

  • Parameters

    • program: WebGLProgram
    • uniformNames: Iterable<string, any, any>

    Returns null | Iterable<number, any, any>

  • Parameters

    • index: number
    • pname: number

    Returns any

  • Parameters

    • index: number
    • pname: number

    Returns number

  • Parameters

    • target: number
    • mode: number

    Returns void

  • Parameters

    • target: number
    • attachments: number[]

    Returns void

  • Parameters

    • target: number
    • attachments: Iterable<number, any, any>

    Returns void

  • Parameters

    • target: number
    • attachments: number[]
    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Parameters

    • target: number
    • attachments: Iterable<number, any, any>
    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Parameters

    Returns boolean

  • Returns boolean

  • Parameters

    • cap: number

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • width: number

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Parameters

    • pname: number
    • param: number | boolean

    Returns void

  • Parameters

    • factor: number
    • units: number

    Returns void

  • Parameters

    • src: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • format: number
    • type: number
    • offset: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • target: number
    • internalformat: number
    • width: number
    • height: number

    Returns void

  • Parameters

    • target: number
    • samples: number
    • internalformat: number
    • width: number
    • height: number

    Returns void

  • Returns void

  • Parameters

    • value: number
    • invert: boolean

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • func: number
    • ref: number
    • mask: number

    Returns void

  • Parameters

    • face: number
    • func: number
    • ref: number
    • mask: number

    Returns void

  • Parameters

    • mask: number

    Returns void

  • Parameters

    • face: number
    • mask: number

    Returns void

  • Parameters

    • fail: number
    • zfail: number
    • zpass: number

    Returns void

  • Parameters

    • face: number
    • fail: number
    • zfail: number
    • zpass: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • pixels: null | ArrayBufferView<ArrayBufferLike>

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • pboOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • border: number
    • format: number
    • type: number
    • srcData: ArrayBufferView<ArrayBufferLike>
    • srcOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • format: number
    • type: number
    • pboOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • format: number
    • type: number
    • srcData: null | ArrayBufferView<ArrayBufferLike>

    Returns void

  • Parameters

    • target: number
    • level: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number
    • border: number
    • format: number
    • type: number
    • srcData: ArrayBufferView<ArrayBufferLike>
    • srcOffset: number

    Returns void

  • Parameters

    • target: number
    • pname: number
    • param: number

    Returns void

  • Parameters

    • target: number
    • pname: number
    • param: number

    Returns void

  • Parameters

    • target: number
    • levels: number
    • internalformat: number
    • width: number
    • height: number

    Returns void

  • Parameters

    • target: number
    • levels: number
    • internalformat: number
    • width: number
    • height: number
    • depth: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pixels: null | ArrayBufferView<ArrayBufferLike>

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • pboOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • width: number
    • height: number
    • format: number
    • type: number
    • srcData: ArrayBufferView<ArrayBufferLike>
    • srcOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • type: number
    • pboOffset: number

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • type: number
    • source: TexImageSource

    Returns void

  • Parameters

    • target: number
    • level: number
    • xoffset: number
    • yoffset: number
    • zoffset: number
    • width: number
    • height: number
    • depth: number
    • format: number
    • type: number
    • srcData: null | ArrayBufferView<ArrayBufferLike>
    • OptionalsrcOffset: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • program: WebGLProgram
    • varyings: Iterable<string, any, any>
    • bufferMode: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    • program: WebGLProgram
    • uniformBlockIndex: number
    • uniformBlockBinding: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • location: null | WebGLUniformLocation
    • transpose: boolean
    • data: Iterable<number, any, any>
    • OptionalsrcOffset: number
    • OptionalsrcLength: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • x: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number, any, any>

    Returns void

  • Parameters

    • index: number
    • x: number
    • y: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number, any, any>

    Returns void

  • Parameters

    • index: number
    • x: number
    • y: number
    • z: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number, any, any>

    Returns void

  • Parameters

    • index: number
    • x: number
    • y: number
    • z: number
    • w: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number, any, any>

    Returns void

  • Parameters

    • index: number
    • divisor: number

    Returns void

  • Parameters

    • index: number
    • x: number
    • y: number
    • z: number
    • w: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number, any, any>

    Returns void

  • Parameters

    • index: number
    • x: number
    • y: number
    • z: number
    • w: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number
    • values: Iterable<number, any, any>

    Returns void

  • Parameters

    • index: number
    • size: number
    • type: number
    • stride: number
    • offset: number

    Returns void

  • Parameters

    • index: number
    • size: number
    • type: number
    • normalized: boolean
    • stride: number
    • offset: number

    Returns void

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Parameters

    Returns void