import { WebGLRenderingContextBase } from '../../WebGL/WebGLRenderingContext';
export class WebGL2RenderingContextBase extends WebGLRenderingContextBase {
    constructor(context, contextOptions) {
        super(context, contextOptions);
    }
    /* Getting GL parameter information */
    get READ_BUFFER() {
        return 0x0c02;
    }
    get UNPACK_ROW_LENGTH() {
        return 0x0cf2;
    }
    get UNPACK_SKIP_ROWS() {
        return 0x0cf3;
    }
    get UNPACK_SKIP_PIXELS() {
        return 0x0cf4;
    }
    get PACK_ROW_LENGTH() {
        return 0x0d02;
    }
    get PACK_SKIP_ROWS() {
        return 0x0d03;
    }
    get PACK_SKIP_PIXELS() {
        return 0x0d04;
    }
    get TEXTURE_BINDING_3D() {
        return 0x806a;
    }
    get UNPACK_SKIP_IMAGES() {
        return 0x806d;
    }
    get UNPACK_IMAGE_HEIGHT() {
        return 0x806e;
    }
    get MAX_3D_TEXTURE_SIZE() {
        return 0x8073;
    }
    get MAX_ELEMENTS_VERTICES() {
        return 0x80e8;
    }
    get MAX_ELEMENTS_INDICES() {
        return 0x80e9;
    }
    get MAX_TEXTURE_LOD_BIAS() {
        return 0x84fd;
    }
    get MAX_FRAGMENT_UNIFORM_COMPONENTS() {
        return 0x8b49;
    }
    get MAX_VERTEX_UNIFORM_COMPONENTS() {
        return 0x8b4a;
    }
    get MAX_ARRAY_TEXTURE_LAYERS() {
        return 0x88ff;
    }
    get MIN_PROGRAM_TEXEL_OFFSET() {
        return 0x8904;
    }
    get MAX_PROGRAM_TEXEL_OFFSET() {
        return 0x8905;
    }
    get MAX_VARYING_COMPONENTS() {
        return 0x8b4b;
    }
    get FRAGMENT_SHADER_DERIVATIVE_HINT() {
        return 0x8b8b;
    }
    get RASTERIZER_DISCARD() {
        return 0x8c89;
    }
    get VERTEX_ARRAY_BINDING() {
        return 0x85b5;
    }
    get MAX_VERTEX_OUTPUT_COMPONENTS() {
        return 0x9122;
    }
    get MAX_FRAGMENT_INPUT_COMPONENTS() {
        return 0x9125;
    }
    get MAX_SERVER_WAIT_TIMEOUT() {
        return 0x9111;
    }
    get MAX_ELEMENT_INDEX() {
        return 0x8d6b;
    }
    get RED() {
        return 0x1903;
    }
    get RGB8() {
        return 0x8051;
    }
    get RGBA8() {
        return 0x8058;
    }
    get RGB10_A2() {
        return 0x8059;
    }
    get TEXTURE_3D() {
        return 0x806f;
    }
    get TEXTURE_WRAP_R() {
        return 0x8072;
    }
    get TEXTURE_MIN_LOD() {
        return 0x813a;
    }
    get TEXTURE_MAX_LOD() {
        return 0x813b;
    }
    get TEXTURE_BASE_LEVEL() {
        return 0x813c;
    }
    get TEXTURE_MAX_LEVEL() {
        return 0x813d;
    }
    get TEXTURE_COMPARE_MODE() {
        return 0x884c;
    }
    get TEXTURE_COMPARE_FUNC() {
        return 0x884d;
    }
    get SRGB() {
        return 0x8c40;
    }
    get SRGB8() {
        return 0x8c41;
    }
    get SRGB8_ALPHA8() {
        return 0x8c43;
    }
    get COMPARE_REF_TO_TEXTURE() {
        return 0x884e;
    }
    get RGBA32F() {
        return 0x8814;
    }
    get RGB32F() {
        return 0x8815;
    }
    get RGBA16F() {
        return 0x881a;
    }
    get RGB16F() {
        return 0x881b;
    }
    get TEXTURE_2D_ARRAY() {
        return 0x8c1a;
    }
    get TEXTURE_BINDING_2D_ARRAY() {
        return 0x8c1d;
    }
    get R11F_G11F_B10F() {
        return 0x8c3a;
    }
    get RGB9_E5() {
        return 0x8c3d;
    }
    get RGBA32UI() {
        return 0x8d70;
    }
    get RGB32UI() {
        return 0x8d71;
    }
    get RGBA16UI() {
        return 0x8d76;
    }
    get RGB16UI() {
        return 0x8d77;
    }
    get RGBA8UI() {
        return 0x8d7c;
    }
    get RGB8UI() {
        return 0x8d7d;
    }
    get RGBA32I() {
        return 0x8d82;
    }
    get RGB32I() {
        return 0x8d83;
    }
    get RGBA16I() {
        return 0x8d88;
    }
    get RGB16I() {
        return 0x8d89;
    }
    get RGBA8I() {
        return 0x8d8e;
    }
    get RGB8I() {
        return 0x8d8f;
    }
    get RED_INTEGER() {
        return 0x8d94;
    }
    get RGB_INTEGER() {
        return 0x8d98;
    }
    get RGBA_INTEGER() {
        return 0x8d99;
    }
    get R8() {
        return 0x8229;
    }
    get RG8() {
        return 0x822b;
    }
    get R16F() {
        return 0x822d;
    }
    get R32F() {
        return 0x822e;
    }
    get RG16F() {
        return 0x822f;
    }
    get RG32F() {
        return 0x8230;
    }
    get R8I() {
        return 0x8231;
    }
    get R8UI() {
        return 0x8232;
    }
    get R16I() {
        return 0x8233;
    }
    get R16UI() {
        return 0x8234;
    }
    get R32I() {
        return 0x8235;
    }
    get R32UI() {
        return 0x8236;
    }
    get RG8I() {
        return 0x8237;
    }
    get RG8UI() {
        return 0x8238;
    }
    get RG16I() {
        return 0x8239;
    }
    get RG16UI() {
        return 0x823a;
    }
    get RG32I() {
        return 0x823b;
    }
    get RG32UI() {
        return 0x823c;
    }
    get R8_SNORM() {
        return 0x8f94;
    }
    get RG8_SNORM() {
        return 0x8f95;
    }
    get RGB8_SNORM() {
        return 0x8f96;
    }
    get RGBA8_SNORM() {
        return 0x8f97;
    }
    get RGB10_A2UI() {
        return 0x906f;
    }
    get TEXTURE_IMMUTABLE_FORMAT() {
        return 0x912f;
    }
    get TEXTURE_IMMUTABLE_LEVELS() {
        return 0x82df;
    }
    get UNSIGNED_INT_2_10_10_10_REV() {
        return 0x8368;
    }
    get UNSIGNED_INT_10F_11F_11F_REV() {
        return 0x8c3b;
    }
    get UNSIGNED_INT_5_9_9_9_REV() {
        return 0x8c3e;
    }
    get FLOAT_32_UNSIGNED_INT_24_8_REV() {
        return 0x8dad;
    }
    get UNSIGNED_INT_24_8() {
        return 0x84fa;
    }
    get HALF_FLOAT() {
        return 0x140b;
    }
    get RG() {
        return 0x8227;
    }
    get RG_INTEGER() {
        return 0x8228;
    }
    get INT_2_10_10_10_REV() {
        return 0x8d9f;
    }
    get QUERY_RESULT_AVAILABLE() {
        return 0x8865;
    }
    get QUERY_RESULT() {
        return 0x8866;
    }
    get CURRENT_QUERY() {
        return 0x8867;
    }
    get ANY_SAMPLES_PASSED() {
        return 0x8c2f;
    }
    get ANY_SAMPLES_PASSED_CONSERVATIVE() {
        return 0x8d6a;
    }
    get MAX_DRAW_BUFFERS() {
        return 0x8824;
    }
    get DRAW_BUFFER0() {
        return 0x8825;
    }
    get DRAW_BUFFER1() {
        return 0x8826;
    }
    get DRAW_BUFFER2() {
        return 0x8827;
    }
    get DRAW_BUFFER3() {
        return 0x8828;
    }
    get DRAW_BUFFER4() {
        return 0x8829;
    }
    get DRAW_BUFFER5() {
        return 0x882a;
    }
    get DRAW_BUFFER6() {
        return 0x882b;
    }
    get DRAW_BUFFER7() {
        return 0x882c;
    }
    get DRAW_BUFFER8() {
        return 0x882d;
    }
    get DRAW_BUFFER9() {
        return 0x882e;
    }
    get DRAW_BUFFER10() {
        return 0x882f;
    }
    /* Getting GL parameter information */
    /* Textures */
    get DRAW_BUFFER11() {
        return 0x8830;
    }
    get DRAW_BUFFER12() {
        return 0x8831;
    }
    get DRAW_BUFFER13() {
        return 0x8832;
    }
    get DRAW_BUFFER14() {
        return 0x8833;
    }
    get DRAW_BUFFER15() {
        return 0x8834;
    }
    get MAX_COLOR_ATTACHMENTS() {
        return 0x8cdf;
    }
    get COLOR_ATTACHMENT1() {
        return 0x8ce1;
    }
    get COLOR_ATTACHMENT2() {
        return 0x8ce2;
    }
    get COLOR_ATTACHMENT3() {
        return 0x8ce3;
    }
    get COLOR_ATTACHMENT4() {
        return 0x8ce4;
    }
    get COLOR_ATTACHMENT5() {
        return 0x8ce5;
    }
    get COLOR_ATTACHMENT6() {
        return 0x8ce6;
    }
    get COLOR_ATTACHMENT7() {
        return 0x8ce7;
    }
    get COLOR_ATTACHMENT8() {
        return 0x8ce8;
    }
    get COLOR_ATTACHMENT9() {
        return 0x8ce9;
    }
    get COLOR_ATTACHMENT10() {
        return 0x8cea;
    }
    get COLOR_ATTACHMENT11() {
        return 0x8ceb;
    }
    get COLOR_ATTACHMENT12() {
        return 0x8cec;
    }
    get COLOR_ATTACHMENT13() {
        return 0x8ced;
    }
    get COLOR_ATTACHMENT14() {
        return 0x8cee;
    }
    get COLOR_ATTACHMENT15() {
        return 0x8cef;
    }
    get SAMPLER_3D() {
        return 0x8b5f;
    }
    get SAMPLER_2D_SHADOW() {
        return 0x8b62;
    }
    get SAMPLER_2D_ARRAY() {
        return 0x8dc1;
    }
    get SAMPLER_2D_ARRAY_SHADOW() {
        return 0x8dc4;
    }
    get SAMPLER_CUBE_SHADOW() {
        return 0x8dc5;
    }
    get INT_SAMPLER_2D() {
        return 0x8dca;
    }
    get INT_SAMPLER_3D() {
        return 0x8dcb;
    }
    get INT_SAMPLER_CUBE() {
        return 0x8dcc;
    }
    get INT_SAMPLER_2D_ARRAY() {
        return 0x8dcf;
    }
    get UNSIGNED_INT_SAMPLER_2D() {
        return 0x8dd2;
    }
    get UNSIGNED_INT_SAMPLER_3D() {
        return 0x8dd3;
    }
    get UNSIGNED_INT_SAMPLER_CUBE() {
        return 0x8dd4;
    }
    get UNSIGNED_INT_SAMPLER_2D_ARRAY() {
        return 0x8dd7;
    }
    get MAX_SAMPLES() {
        return 0x8d57;
    }
    get SAMPLER_BINDING() {
        return 0x8919;
    }
    get PIXEL_PACK_BUFFER() {
        return 0x88eb;
    }
    get PIXEL_UNPACK_BUFFER() {
        return 0x88ec;
    }
    get PIXEL_PACK_BUFFER_BINDING() {
        return 0x88ed;
    }
    get PIXEL_UNPACK_BUFFER_BINDING() {
        return 0x88ef;
    }
    get COPY_READ_BUFFER() {
        return 0x8f36;
    }
    get COPY_WRITE_BUFFER() {
        return 0x8f37;
    }
    get COPY_READ_BUFFER_BINDING() {
        return 0x8f36;
    }
    get COPY_WRITE_BUFFER_BINDING() {
        return 0x8f37;
    }
    get FLOAT_MAT2x3() {
        return 0x8b65;
    }
    get FLOAT_MAT2x4() {
        return 0x8b66;
    }
    get FLOAT_MAT3x2() {
        return 0x8b67;
    }
    get FLOAT_MAT3x4() {
        return 0x8b68;
    }
    get FLOAT_MAT4x2() {
        return 0x8b69;
    }
    get FLOAT_MAT4x3() {
        return 0x8b6a;
    }
    get UNSIGNED_INT_VEC2() {
        return 0x8dc6;
    }
    get UNSIGNED_INT_VEC3() {
        return 0x8dc7;
    }
    get UNSIGNED_INT_VEC4() {
        return 0x8dc8;
    }
    get UNSIGNED_NORMALIZED() {
        return 0x8c17;
    }
    get SIGNED_NORMALIZED() {
        return 0x8f9c;
    }
    /* Vertex attributes */
    get VERTEX_ATTRIB_ARRAY_INTEGER() {
        return 0x88fd;
    }
    get VERTEX_ATTRIB_ARRAY_DIVISOR() {
        return 0x88fe;
    }
    get TRANSFORM_FEEDBACK_BUFFER_MODE() {
        return 0x8c7f;
    }
    get MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS() {
        return 0x8c80;
    }
    get TRANSFORM_FEEDBACK_VARYINGS() {
        return 0x8c83;
    }
    get TRANSFORM_FEEDBACK_BUFFER_START() {
        return 0x8c84;
    }
    get TRANSFORM_FEEDBACK_BUFFER_SIZE() {
        return 0x8c85;
    }
    get TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN() {
        return 0x8c88;
    }
    get MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS() {
        return 0x8c8a;
    }
    /* Textures */
    /* Pixel types */
    get MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS() {
        return 0x8c8b;
    }
    get INTERLEAVED_ATTRIBS() {
        return 0x8c8c;
    }
    get SEPARATE_ATTRIBS() {
        return 0x8c8d;
    }
    get TRANSFORM_FEEDBACK_BUFFER() {
        return 0x8c8e;
    }
    get TRANSFORM_FEEDBACK_BUFFER_BINDING() {
        return 0x8c8f;
    }
    get TRANSFORM_FEEDBACK() {
        return 0x8e22;
    }
    get TRANSFORM_FEEDBACK_PAUSED() {
        return 0x8e23;
    }
    get TRANSFORM_FEEDBACK_ACTIVE() {
        return 0x8e24;
    }
    get TRANSFORM_FEEDBACK_BINDING() {
        return 0x8e25;
    }
    /* Pixel types */
    /* Queries */
    get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING() {
        return 0x8210;
    }
    get FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE() {
        return 0x8211;
    }
    get FRAMEBUFFER_ATTACHMENT_RED_SIZE() {
        return 0x8212;
    }
    get FRAMEBUFFER_ATTACHMENT_GREEN_SIZE() {
        return 0x8213;
    }
    get FRAMEBUFFER_ATTACHMENT_BLUE_SIZE() {
        return 0x8214;
    }
    /* Queries */
    /* Draw buffers */
    get FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE() {
        return 0x8215;
    }
    get FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE() {
        return 0x8216;
    }
    get FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE() {
        return 0x8217;
    }
    get FRAMEBUFFER_DEFAULT() {
        return 0x8218;
    }
    get DEPTH_STENCIL_ATTACHMENT() {
        return 0x821a;
    }
    get DEPTH_STENCIL() {
        return 0x84f9;
    }
    get DEPTH24_STENCIL8() {
        return 0x88f0;
    }
    get DRAW_FRAMEBUFFER_BINDING() {
        return 0x8ca6;
    }
    get READ_FRAMEBUFFER() {
        return 0x8ca8;
    }
    get DRAW_FRAMEBUFFER() {
        return 0x8ca9;
    }
    get READ_FRAMEBUFFER_BINDING() {
        return 0x8caa;
    }
    get RENDERBUFFER_SAMPLES() {
        return 0x8cab;
    }
    get FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER() {
        return 0x8cd4;
    }
    get FRAMEBUFFER_INCOMPLETE_MULTISAMPLE() {
        return 0x8d56;
    }
    get UNIFORM_BUFFER() {
        return 0x8a11;
    }
    get UNIFORM_BUFFER_BINDING() {
        return 0x8a28;
    }
    get UNIFORM_BUFFER_START() {
        return 0x8a29;
    }
    get UNIFORM_BUFFER_SIZE() {
        return 0x8a2a;
    }
    get MAX_VERTEX_UNIFORM_BLOCKS() {
        return 0x8a2b;
    }
    get MAX_FRAGMENT_UNIFORM_BLOCKS() {
        return 0x8a2d;
    }
    get MAX_COMBINED_UNIFORM_BLOCKS() {
        return 0x8a2e;
    }
    get MAX_UNIFORM_BUFFER_BINDINGS() {
        return 0x8a2f;
    }
    get MAX_UNIFORM_BLOCK_SIZE() {
        return 0x8a30;
    }
    get MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS() {
        return 0x8a31;
    }
    get MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS() {
        return 0x8a33;
    }
    get UNIFORM_BUFFER_OFFSET_ALIGNMENT() {
        return 0x8a34;
    }
    get ACTIVE_UNIFORM_BLOCKS() {
        return 0x8a36;
    }
    get UNIFORM_TYPE() {
        return 0x8a37;
    }
    get UNIFORM_SIZE() {
        return 0x8a38;
    }
    get UNIFORM_BLOCK_INDEX() {
        return 0x8a3a;
    }
    get UNIFORM_OFFSET() {
        return 0x8a3b;
    }
    get UNIFORM_ARRAY_STRIDE() {
        return 0x8a3c;
    }
    get UNIFORM_MATRIX_STRIDE() {
        return 0x8a3d;
    }
    /* Draw buffers */
    /* Samplers */
    get UNIFORM_IS_ROW_MAJOR() {
        return 0x8a3e;
    }
    get UNIFORM_BLOCK_BINDING() {
        return 0x8a3f;
    }
    get UNIFORM_BLOCK_DATA_SIZE() {
        return 0x8a40;
    }
    get UNIFORM_BLOCK_ACTIVE_UNIFORMS() {
        return 0x8a42;
    }
    get UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES() {
        return 0x8a43;
    }
    get UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER() {
        return 0x8a44;
    }
    get UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER() {
        return 0x8a46;
    }
    get OBJECT_TYPE() {
        return 0x9112;
    }
    get SYNC_CONDITION() {
        return 0x9113;
    }
    get SYNC_STATUS() {
        return 0x9114;
    }
    get SYNC_FLAGS() {
        return 0x9115;
    }
    get SYNC_FENCE() {
        return 0x9116;
    }
    get SYNC_GPU_COMMANDS_COMPLETE() {
        return 0x9117;
    }
    get UNSIGNALED() {
        return 0x9118;
    }
    get SIGNALED() {
        return 0x9119;
    }
    /* Samplers */
    /* Buffers */
    get ALREADY_SIGNALED() {
        return 0x911a;
    }
    get TIMEOUT_EXPIRED() {
        return 0x911b;
    }
    get CONDITION_SATISFIED() {
        return 0x911c;
    }
    get WAIT_FAILED() {
        return 0x911d;
    }
    get SYNC_FLUSH_COMMANDS_BIT() {
        return 0x00000001;
    }
    get COLOR() {
        return 0x1800;
    }
    get DEPTH() {
        return 0x1801;
    }
    get STENCIL() {
        return 0x1802;
    }
    /* Buffers */
    /* Data types */
    get MIN() {
        return 0x8007;
    }
    get MAX() {
        return 0x8008;
    }
    get DEPTH_COMPONENT24() {
        return 0x81a6;
    }
    get STREAM_READ() {
        return 0x88e1;
    }
    get STREAM_COPY() {
        return 0x88e2;
    }
    get STATIC_READ() {
        return 0x88e5;
    }
    get STATIC_COPY() {
        return 0x88e6;
    }
    get DYNAMIC_READ() {
        return 0x88e9;
    }
    get DYNAMIC_COPY() {
        return 0x88ea;
    }
    get DEPTH_COMPONENT32F() {
        return 0x8cac;
    }
    get DEPTH32F_STENCIL8() {
        return 0x8cad;
    }
    /* Data types */
    get INVALID_INDEX() {
        return 0xffffffff;
    }
    get TIMEOUT_IGNORED() {
        return -1;
    }
    /* Vertex attributes */
    /* Transform feedback */
    get MAX_CLIENT_WAIT_TIMEOUT_WEBGL() {
        return 0x9247;
    }
}
//# sourceMappingURL=common.js.map