Interface IAdapter

This interface describes all the DOM dependent calls that Pixi makes throughout its codebase. Implementations of this interface can be used to make sure Pixi will work in any environment, such as browser, Web Workers, and Node.js.

Memberof

PIXI

interface IAdapter {
    createCanvas: ((width?, height?) => ICanvas);
    fetch: ((url, options?) => Promise<Response>);
    getBaseUrl: (() => string);
    getCanvasRenderingContext2D: (() => {
        prototype: ICanvasRenderingContext2D;
    });
    getFontFaceSet: (() => null | FontFaceSet);
    getNavigator: (() => {
        userAgent: string;
    });
    getWebGLRenderingContext: (() => {
        ACTIVE_ATTRIBUTES: 35721;
        ACTIVE_TEXTURE: 34016;
        ACTIVE_UNIFORMS: 35718;
        ALIASED_LINE_WIDTH_RANGE: 33902;
        ALIASED_POINT_SIZE_RANGE: 33901;
        ALPHA: 6406;
        ALPHA_BITS: 3413;
        ALWAYS: 519;
        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_ATTACHMENT0: 36064;
        COLOR_BUFFER_BIT: 16384;
        COLOR_CLEAR_VALUE: 3106;
        COLOR_WRITEMASK: 3107;
        COMPILE_STATUS: 35713;
        COMPRESSED_TEXTURE_FORMATS: 34467;
        CONSTANT_ALPHA: 32771;
        CONSTANT_COLOR: 32769;
        CONTEXT_LOST_WEBGL: 37442;
        CULL_FACE: 2884;
        CULL_FACE_MODE: 2885;
        CURRENT_PROGRAM: 35725;
        CURRENT_VERTEX_ATTRIB: 34342;
        CW: 2304;
        DECR: 7683;
        DECR_WRAP: 34056;
        DELETE_STATUS: 35712;
        DEPTH_ATTACHMENT: 36096;
        DEPTH_BITS: 3414;
        DEPTH_BUFFER_BIT: 256;
        DEPTH_CLEAR_VALUE: 2931;
        DEPTH_COMPONENT: 6402;
        DEPTH_COMPONENT16: 33189;
        DEPTH_FUNC: 2932;
        DEPTH_RANGE: 2928;
        DEPTH_STENCIL: 34041;
        DEPTH_STENCIL_ATTACHMENT: 33306;
        DEPTH_TEST: 2929;
        DEPTH_WRITEMASK: 2930;
        DITHER: 3024;
        DONT_CARE: 4352;
        DST_ALPHA: 772;
        DST_COLOR: 774;
        DYNAMIC_DRAW: 35048;
        ELEMENT_ARRAY_BUFFER: 34963;
        ELEMENT_ARRAY_BUFFER_BINDING: 34965;
        EQUAL: 514;
        FASTEST: 4353;
        FLOAT: 5126;
        FLOAT_MAT2: 35674;
        FLOAT_MAT3: 35675;
        FLOAT_MAT4: 35676;
        FLOAT_VEC2: 35664;
        FLOAT_VEC3: 35665;
        FLOAT_VEC4: 35666;
        FRAGMENT_SHADER: 35632;
        FRAMEBUFFER: 36160;
        FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049;
        FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048;
        FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051;
        FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050;
        FRAMEBUFFER_BINDING: 36006;
        FRAMEBUFFER_COMPLETE: 36053;
        FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054;
        FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057;
        FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055;
        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;
        HIGH_FLOAT: 36338;
        HIGH_INT: 36341;
        IMPLEMENTATION_COLOR_READ_FORMAT: 35739;
        IMPLEMENTATION_COLOR_READ_TYPE: 35738;
        INCR: 7682;
        INCR_WRAP: 34055;
        INT: 5124;
        INT_VEC2: 35667;
        INT_VEC3: 35668;
        INT_VEC4: 35669;
        INVALID_ENUM: 1280;
        INVALID_FRAMEBUFFER_OPERATION: 1286;
        INVALID_OPERATION: 1282;
        INVALID_VALUE: 1281;
        INVERT: 5386;
        KEEP: 7680;
        LEQUAL: 515;
        LESS: 513;
        LINEAR: 9729;
        LINEAR_MIPMAP_LINEAR: 9987;
        LINEAR_MIPMAP_NEAREST: 9985;
        LINES: 1;
        LINE_LOOP: 2;
        LINE_STRIP: 3;
        LINE_WIDTH: 2849;
        LINK_STATUS: 35714;
        LOW_FLOAT: 36336;
        LOW_INT: 36339;
        LUMINANCE: 6409;
        LUMINANCE_ALPHA: 6410;
        MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661;
        MAX_CUBE_MAP_TEXTURE_SIZE: 34076;
        MAX_FRAGMENT_UNIFORM_VECTORS: 36349;
        MAX_RENDERBUFFER_SIZE: 34024;
        MAX_TEXTURE_IMAGE_UNITS: 34930;
        MAX_TEXTURE_SIZE: 3379;
        MAX_VARYING_VECTORS: 36348;
        MAX_VERTEX_ATTRIBS: 34921;
        MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660;
        MAX_VERTEX_UNIFORM_VECTORS: 36347;
        MAX_VIEWPORT_DIMS: 3386;
        MEDIUM_FLOAT: 36337;
        MEDIUM_INT: 36340;
        MIRRORED_REPEAT: 33648;
        NEAREST: 9728;
        NEAREST_MIPMAP_LINEAR: 9986;
        NEAREST_MIPMAP_NEAREST: 9984;
        NEVER: 512;
        NICEST: 4354;
        NONE: 0;
        NOTEQUAL: 517;
        NO_ERROR: 0;
        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;
        POINTS: 0;
        POLYGON_OFFSET_FACTOR: 32824;
        POLYGON_OFFSET_FILL: 32823;
        POLYGON_OFFSET_UNITS: 10752;
        RED_BITS: 3410;
        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_STENCIL_SIZE: 36181;
        RENDERBUFFER_WIDTH: 36162;
        RENDERER: 7937;
        REPEAT: 10497;
        REPLACE: 7681;
        RGB: 6407;
        RGB565: 36194;
        RGB5_A1: 32855;
        RGBA: 6408;
        RGBA4: 32854;
        SAMPLER_2D: 35678;
        SAMPLER_CUBE: 35680;
        SAMPLES: 32937;
        SAMPLE_ALPHA_TO_COVERAGE: 32926;
        SAMPLE_BUFFERS: 32936;
        SAMPLE_COVERAGE: 32928;
        SAMPLE_COVERAGE_INVERT: 32939;
        SAMPLE_COVERAGE_VALUE: 32938;
        SCISSOR_BOX: 3088;
        SCISSOR_TEST: 3089;
        SHADER_TYPE: 35663;
        SHADING_LANGUAGE_VERSION: 35724;
        SHORT: 5122;
        SRC_ALPHA: 770;
        SRC_ALPHA_SATURATE: 776;
        SRC_COLOR: 768;
        STATIC_DRAW: 35044;
        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_DRAW: 35040;
        SUBPIXEL_BITS: 3408;
        TEXTURE: 5890;
        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;
        TEXTURE_2D: 3553;
        TEXTURE_BINDING_2D: 32873;
        TEXTURE_BINDING_CUBE_MAP: 34068;
        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_MAG_FILTER: 10240;
        TEXTURE_MIN_FILTER: 10241;
        TEXTURE_WRAP_S: 10242;
        TEXTURE_WRAP_T: 10243;
        TRIANGLES: 4;
        TRIANGLE_FAN: 6;
        TRIANGLE_STRIP: 5;
        UNPACK_ALIGNMENT: 3317;
        UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443;
        UNPACK_FLIP_Y_WEBGL: 37440;
        UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441;
        UNSIGNED_BYTE: 5121;
        UNSIGNED_INT: 5125;
        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_ATTRIB_ARRAY_BUFFER_BINDING: 34975;
        VERTEX_ATTRIB_ARRAY_ENABLED: 34338;
        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;
        ZERO: 0;
        prototype: WebGLRenderingContext;
        new (): WebGLRenderingContext;
    });
    parseXML: ((xml) => Document);
}

Properties

createCanvas: ((width?, height?) => ICanvas)

Returns a canvas object that can be used to create a webgl context.

Type declaration

    • (width?, height?): ICanvas
    • Parameters

      • Optional width: number
      • Optional height: number

      Returns ICanvas

fetch: ((url, options?) => Promise<Response>)

Type declaration

    • (url, options?): Promise<Response>
    • Parameters

      • url: RequestInfo
      • Optional options: RequestInit

      Returns Promise<Response>

getBaseUrl: (() => string)

Returns the current base URL For browser environments this is either the document.baseURI or window.location.href

Type declaration

    • (): string
    • Returns string

getCanvasRenderingContext2D: (() => {
    prototype: ICanvasRenderingContext2D;
})

Returns a 2D rendering context.

Type declaration

getFontFaceSet: (() => null | FontFaceSet)

Type declaration

    • (): null | FontFaceSet
    • Returns null | FontFaceSet

getNavigator: (() => {
    userAgent: string;
})

Returns a partial implementation of the browsers window.navigator

Type declaration

    • (): {
          userAgent: string;
      }
    • Returns {
          userAgent: string;
      }

      • userAgent: string
getWebGLRenderingContext: (() => {
    ACTIVE_ATTRIBUTES: 35721;
    ACTIVE_TEXTURE: 34016;
    ACTIVE_UNIFORMS: 35718;
    ALIASED_LINE_WIDTH_RANGE: 33902;
    ALIASED_POINT_SIZE_RANGE: 33901;
    ALPHA: 6406;
    ALPHA_BITS: 3413;
    ALWAYS: 519;
    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_ATTACHMENT0: 36064;
    COLOR_BUFFER_BIT: 16384;
    COLOR_CLEAR_VALUE: 3106;
    COLOR_WRITEMASK: 3107;
    COMPILE_STATUS: 35713;
    COMPRESSED_TEXTURE_FORMATS: 34467;
    CONSTANT_ALPHA: 32771;
    CONSTANT_COLOR: 32769;
    CONTEXT_LOST_WEBGL: 37442;
    CULL_FACE: 2884;
    CULL_FACE_MODE: 2885;
    CURRENT_PROGRAM: 35725;
    CURRENT_VERTEX_ATTRIB: 34342;
    CW: 2304;
    DECR: 7683;
    DECR_WRAP: 34056;
    DELETE_STATUS: 35712;
    DEPTH_ATTACHMENT: 36096;
    DEPTH_BITS: 3414;
    DEPTH_BUFFER_BIT: 256;
    DEPTH_CLEAR_VALUE: 2931;
    DEPTH_COMPONENT: 6402;
    DEPTH_COMPONENT16: 33189;
    DEPTH_FUNC: 2932;
    DEPTH_RANGE: 2928;
    DEPTH_STENCIL: 34041;
    DEPTH_STENCIL_ATTACHMENT: 33306;
    DEPTH_TEST: 2929;
    DEPTH_WRITEMASK: 2930;
    DITHER: 3024;
    DONT_CARE: 4352;
    DST_ALPHA: 772;
    DST_COLOR: 774;
    DYNAMIC_DRAW: 35048;
    ELEMENT_ARRAY_BUFFER: 34963;
    ELEMENT_ARRAY_BUFFER_BINDING: 34965;
    EQUAL: 514;
    FASTEST: 4353;
    FLOAT: 5126;
    FLOAT_MAT2: 35674;
    FLOAT_MAT3: 35675;
    FLOAT_MAT4: 35676;
    FLOAT_VEC2: 35664;
    FLOAT_VEC3: 35665;
    FLOAT_VEC4: 35666;
    FRAGMENT_SHADER: 35632;
    FRAMEBUFFER: 36160;
    FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049;
    FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051;
    FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050;
    FRAMEBUFFER_BINDING: 36006;
    FRAMEBUFFER_COMPLETE: 36053;
    FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054;
    FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057;
    FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055;
    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;
    HIGH_FLOAT: 36338;
    HIGH_INT: 36341;
    IMPLEMENTATION_COLOR_READ_FORMAT: 35739;
    IMPLEMENTATION_COLOR_READ_TYPE: 35738;
    INCR: 7682;
    INCR_WRAP: 34055;
    INT: 5124;
    INT_VEC2: 35667;
    INT_VEC3: 35668;
    INT_VEC4: 35669;
    INVALID_ENUM: 1280;
    INVALID_FRAMEBUFFER_OPERATION: 1286;
    INVALID_OPERATION: 1282;
    INVALID_VALUE: 1281;
    INVERT: 5386;
    KEEP: 7680;
    LEQUAL: 515;
    LESS: 513;
    LINEAR: 9729;
    LINEAR_MIPMAP_LINEAR: 9987;
    LINEAR_MIPMAP_NEAREST: 9985;
    LINES: 1;
    LINE_LOOP: 2;
    LINE_STRIP: 3;
    LINE_WIDTH: 2849;
    LINK_STATUS: 35714;
    LOW_FLOAT: 36336;
    LOW_INT: 36339;
    LUMINANCE: 6409;
    LUMINANCE_ALPHA: 6410;
    MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661;
    MAX_CUBE_MAP_TEXTURE_SIZE: 34076;
    MAX_FRAGMENT_UNIFORM_VECTORS: 36349;
    MAX_RENDERBUFFER_SIZE: 34024;
    MAX_TEXTURE_IMAGE_UNITS: 34930;
    MAX_TEXTURE_SIZE: 3379;
    MAX_VARYING_VECTORS: 36348;
    MAX_VERTEX_ATTRIBS: 34921;
    MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660;
    MAX_VERTEX_UNIFORM_VECTORS: 36347;
    MAX_VIEWPORT_DIMS: 3386;
    MEDIUM_FLOAT: 36337;
    MEDIUM_INT: 36340;
    MIRRORED_REPEAT: 33648;
    NEAREST: 9728;
    NEAREST_MIPMAP_LINEAR: 9986;
    NEAREST_MIPMAP_NEAREST: 9984;
    NEVER: 512;
    NICEST: 4354;
    NONE: 0;
    NOTEQUAL: 517;
    NO_ERROR: 0;
    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;
    POINTS: 0;
    POLYGON_OFFSET_FACTOR: 32824;
    POLYGON_OFFSET_FILL: 32823;
    POLYGON_OFFSET_UNITS: 10752;
    RED_BITS: 3410;
    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_STENCIL_SIZE: 36181;
    RENDERBUFFER_WIDTH: 36162;
    RENDERER: 7937;
    REPEAT: 10497;
    REPLACE: 7681;
    RGB: 6407;
    RGB565: 36194;
    RGB5_A1: 32855;
    RGBA: 6408;
    RGBA4: 32854;
    SAMPLER_2D: 35678;
    SAMPLER_CUBE: 35680;
    SAMPLES: 32937;
    SAMPLE_ALPHA_TO_COVERAGE: 32926;
    SAMPLE_BUFFERS: 32936;
    SAMPLE_COVERAGE: 32928;
    SAMPLE_COVERAGE_INVERT: 32939;
    SAMPLE_COVERAGE_VALUE: 32938;
    SCISSOR_BOX: 3088;
    SCISSOR_TEST: 3089;
    SHADER_TYPE: 35663;
    SHADING_LANGUAGE_VERSION: 35724;
    SHORT: 5122;
    SRC_ALPHA: 770;
    SRC_ALPHA_SATURATE: 776;
    SRC_COLOR: 768;
    STATIC_DRAW: 35044;
    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_DRAW: 35040;
    SUBPIXEL_BITS: 3408;
    TEXTURE: 5890;
    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;
    TEXTURE_2D: 3553;
    TEXTURE_BINDING_2D: 32873;
    TEXTURE_BINDING_CUBE_MAP: 34068;
    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_MAG_FILTER: 10240;
    TEXTURE_MIN_FILTER: 10241;
    TEXTURE_WRAP_S: 10242;
    TEXTURE_WRAP_T: 10243;
    TRIANGLES: 4;
    TRIANGLE_FAN: 6;
    TRIANGLE_STRIP: 5;
    UNPACK_ALIGNMENT: 3317;
    UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443;
    UNPACK_FLIP_Y_WEBGL: 37440;
    UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441;
    UNSIGNED_BYTE: 5121;
    UNSIGNED_INT: 5125;
    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_ATTRIB_ARRAY_BUFFER_BINDING: 34975;
    VERTEX_ATTRIB_ARRAY_ENABLED: 34338;
    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;
    ZERO: 0;
    prototype: WebGLRenderingContext;
    new (): WebGLRenderingContext;
})

Returns a WebGL rendering context.

Type declaration

    • (): {
          ACTIVE_ATTRIBUTES: 35721;
          ACTIVE_TEXTURE: 34016;
          ACTIVE_UNIFORMS: 35718;
          ALIASED_LINE_WIDTH_RANGE: 33902;
          ALIASED_POINT_SIZE_RANGE: 33901;
          ALPHA: 6406;
          ALPHA_BITS: 3413;
          ALWAYS: 519;
          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_ATTACHMENT0: 36064;
          COLOR_BUFFER_BIT: 16384;
          COLOR_CLEAR_VALUE: 3106;
          COLOR_WRITEMASK: 3107;
          COMPILE_STATUS: 35713;
          COMPRESSED_TEXTURE_FORMATS: 34467;
          CONSTANT_ALPHA: 32771;
          CONSTANT_COLOR: 32769;
          CONTEXT_LOST_WEBGL: 37442;
          CULL_FACE: 2884;
          CULL_FACE_MODE: 2885;
          CURRENT_PROGRAM: 35725;
          CURRENT_VERTEX_ATTRIB: 34342;
          CW: 2304;
          DECR: 7683;
          DECR_WRAP: 34056;
          DELETE_STATUS: 35712;
          DEPTH_ATTACHMENT: 36096;
          DEPTH_BITS: 3414;
          DEPTH_BUFFER_BIT: 256;
          DEPTH_CLEAR_VALUE: 2931;
          DEPTH_COMPONENT: 6402;
          DEPTH_COMPONENT16: 33189;
          DEPTH_FUNC: 2932;
          DEPTH_RANGE: 2928;
          DEPTH_STENCIL: 34041;
          DEPTH_STENCIL_ATTACHMENT: 33306;
          DEPTH_TEST: 2929;
          DEPTH_WRITEMASK: 2930;
          DITHER: 3024;
          DONT_CARE: 4352;
          DST_ALPHA: 772;
          DST_COLOR: 774;
          DYNAMIC_DRAW: 35048;
          ELEMENT_ARRAY_BUFFER: 34963;
          ELEMENT_ARRAY_BUFFER_BINDING: 34965;
          EQUAL: 514;
          FASTEST: 4353;
          FLOAT: 5126;
          FLOAT_MAT2: 35674;
          FLOAT_MAT3: 35675;
          FLOAT_MAT4: 35676;
          FLOAT_VEC2: 35664;
          FLOAT_VEC3: 35665;
          FLOAT_VEC4: 35666;
          FRAGMENT_SHADER: 35632;
          FRAMEBUFFER: 36160;
          FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049;
          FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048;
          FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051;
          FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050;
          FRAMEBUFFER_BINDING: 36006;
          FRAMEBUFFER_COMPLETE: 36053;
          FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054;
          FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057;
          FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055;
          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;
          HIGH_FLOAT: 36338;
          HIGH_INT: 36341;
          IMPLEMENTATION_COLOR_READ_FORMAT: 35739;
          IMPLEMENTATION_COLOR_READ_TYPE: 35738;
          INCR: 7682;
          INCR_WRAP: 34055;
          INT: 5124;
          INT_VEC2: 35667;
          INT_VEC3: 35668;
          INT_VEC4: 35669;
          INVALID_ENUM: 1280;
          INVALID_FRAMEBUFFER_OPERATION: 1286;
          INVALID_OPERATION: 1282;
          INVALID_VALUE: 1281;
          INVERT: 5386;
          KEEP: 7680;
          LEQUAL: 515;
          LESS: 513;
          LINEAR: 9729;
          LINEAR_MIPMAP_LINEAR: 9987;
          LINEAR_MIPMAP_NEAREST: 9985;
          LINES: 1;
          LINE_LOOP: 2;
          LINE_STRIP: 3;
          LINE_WIDTH: 2849;
          LINK_STATUS: 35714;
          LOW_FLOAT: 36336;
          LOW_INT: 36339;
          LUMINANCE: 6409;
          LUMINANCE_ALPHA: 6410;
          MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661;
          MAX_CUBE_MAP_TEXTURE_SIZE: 34076;
          MAX_FRAGMENT_UNIFORM_VECTORS: 36349;
          MAX_RENDERBUFFER_SIZE: 34024;
          MAX_TEXTURE_IMAGE_UNITS: 34930;
          MAX_TEXTURE_SIZE: 3379;
          MAX_VARYING_VECTORS: 36348;
          MAX_VERTEX_ATTRIBS: 34921;
          MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660;
          MAX_VERTEX_UNIFORM_VECTORS: 36347;
          MAX_VIEWPORT_DIMS: 3386;
          MEDIUM_FLOAT: 36337;
          MEDIUM_INT: 36340;
          MIRRORED_REPEAT: 33648;
          NEAREST: 9728;
          NEAREST_MIPMAP_LINEAR: 9986;
          NEAREST_MIPMAP_NEAREST: 9984;
          NEVER: 512;
          NICEST: 4354;
          NONE: 0;
          NOTEQUAL: 517;
          NO_ERROR: 0;
          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;
          POINTS: 0;
          POLYGON_OFFSET_FACTOR: 32824;
          POLYGON_OFFSET_FILL: 32823;
          POLYGON_OFFSET_UNITS: 10752;
          RED_BITS: 3410;
          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_STENCIL_SIZE: 36181;
          RENDERBUFFER_WIDTH: 36162;
          RENDERER: 7937;
          REPEAT: 10497;
          REPLACE: 7681;
          RGB: 6407;
          RGB565: 36194;
          RGB5_A1: 32855;
          RGBA: 6408;
          RGBA4: 32854;
          SAMPLER_2D: 35678;
          SAMPLER_CUBE: 35680;
          SAMPLES: 32937;
          SAMPLE_ALPHA_TO_COVERAGE: 32926;
          SAMPLE_BUFFERS: 32936;
          SAMPLE_COVERAGE: 32928;
          SAMPLE_COVERAGE_INVERT: 32939;
          SAMPLE_COVERAGE_VALUE: 32938;
          SCISSOR_BOX: 3088;
          SCISSOR_TEST: 3089;
          SHADER_TYPE: 35663;
          SHADING_LANGUAGE_VERSION: 35724;
          SHORT: 5122;
          SRC_ALPHA: 770;
          SRC_ALPHA_SATURATE: 776;
          SRC_COLOR: 768;
          STATIC_DRAW: 35044;
          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_DRAW: 35040;
          SUBPIXEL_BITS: 3408;
          TEXTURE: 5890;
          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;
          TEXTURE_2D: 3553;
          TEXTURE_BINDING_2D: 32873;
          TEXTURE_BINDING_CUBE_MAP: 34068;
          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_MAG_FILTER: 10240;
          TEXTURE_MIN_FILTER: 10241;
          TEXTURE_WRAP_S: 10242;
          TEXTURE_WRAP_T: 10243;
          TRIANGLES: 4;
          TRIANGLE_FAN: 6;
          TRIANGLE_STRIP: 5;
          UNPACK_ALIGNMENT: 3317;
          UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443;
          UNPACK_FLIP_Y_WEBGL: 37440;
          UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441;
          UNSIGNED_BYTE: 5121;
          UNSIGNED_INT: 5125;
          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_ATTRIB_ARRAY_BUFFER_BINDING: 34975;
          VERTEX_ATTRIB_ARRAY_ENABLED: 34338;
          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;
          ZERO: 0;
          prototype: WebGLRenderingContext;
          new (): WebGLRenderingContext;
      }
    • Returns {
          ACTIVE_ATTRIBUTES: 35721;
          ACTIVE_TEXTURE: 34016;
          ACTIVE_UNIFORMS: 35718;
          ALIASED_LINE_WIDTH_RANGE: 33902;
          ALIASED_POINT_SIZE_RANGE: 33901;
          ALPHA: 6406;
          ALPHA_BITS: 3413;
          ALWAYS: 519;
          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_ATTACHMENT0: 36064;
          COLOR_BUFFER_BIT: 16384;
          COLOR_CLEAR_VALUE: 3106;
          COLOR_WRITEMASK: 3107;
          COMPILE_STATUS: 35713;
          COMPRESSED_TEXTURE_FORMATS: 34467;
          CONSTANT_ALPHA: 32771;
          CONSTANT_COLOR: 32769;
          CONTEXT_LOST_WEBGL: 37442;
          CULL_FACE: 2884;
          CULL_FACE_MODE: 2885;
          CURRENT_PROGRAM: 35725;
          CURRENT_VERTEX_ATTRIB: 34342;
          CW: 2304;
          DECR: 7683;
          DECR_WRAP: 34056;
          DELETE_STATUS: 35712;
          DEPTH_ATTACHMENT: 36096;
          DEPTH_BITS: 3414;
          DEPTH_BUFFER_BIT: 256;
          DEPTH_CLEAR_VALUE: 2931;
          DEPTH_COMPONENT: 6402;
          DEPTH_COMPONENT16: 33189;
          DEPTH_FUNC: 2932;
          DEPTH_RANGE: 2928;
          DEPTH_STENCIL: 34041;
          DEPTH_STENCIL_ATTACHMENT: 33306;
          DEPTH_TEST: 2929;
          DEPTH_WRITEMASK: 2930;
          DITHER: 3024;
          DONT_CARE: 4352;
          DST_ALPHA: 772;
          DST_COLOR: 774;
          DYNAMIC_DRAW: 35048;
          ELEMENT_ARRAY_BUFFER: 34963;
          ELEMENT_ARRAY_BUFFER_BINDING: 34965;
          EQUAL: 514;
          FASTEST: 4353;
          FLOAT: 5126;
          FLOAT_MAT2: 35674;
          FLOAT_MAT3: 35675;
          FLOAT_MAT4: 35676;
          FLOAT_VEC2: 35664;
          FLOAT_VEC3: 35665;
          FLOAT_VEC4: 35666;
          FRAGMENT_SHADER: 35632;
          FRAMEBUFFER: 36160;
          FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049;
          FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048;
          FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051;
          FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050;
          FRAMEBUFFER_BINDING: 36006;
          FRAMEBUFFER_COMPLETE: 36053;
          FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054;
          FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057;
          FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055;
          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;
          HIGH_FLOAT: 36338;
          HIGH_INT: 36341;
          IMPLEMENTATION_COLOR_READ_FORMAT: 35739;
          IMPLEMENTATION_COLOR_READ_TYPE: 35738;
          INCR: 7682;
          INCR_WRAP: 34055;
          INT: 5124;
          INT_VEC2: 35667;
          INT_VEC3: 35668;
          INT_VEC4: 35669;
          INVALID_ENUM: 1280;
          INVALID_FRAMEBUFFER_OPERATION: 1286;
          INVALID_OPERATION: 1282;
          INVALID_VALUE: 1281;
          INVERT: 5386;
          KEEP: 7680;
          LEQUAL: 515;
          LESS: 513;
          LINEAR: 9729;
          LINEAR_MIPMAP_LINEAR: 9987;
          LINEAR_MIPMAP_NEAREST: 9985;
          LINES: 1;
          LINE_LOOP: 2;
          LINE_STRIP: 3;
          LINE_WIDTH: 2849;
          LINK_STATUS: 35714;
          LOW_FLOAT: 36336;
          LOW_INT: 36339;
          LUMINANCE: 6409;
          LUMINANCE_ALPHA: 6410;
          MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661;
          MAX_CUBE_MAP_TEXTURE_SIZE: 34076;
          MAX_FRAGMENT_UNIFORM_VECTORS: 36349;
          MAX_RENDERBUFFER_SIZE: 34024;
          MAX_TEXTURE_IMAGE_UNITS: 34930;
          MAX_TEXTURE_SIZE: 3379;
          MAX_VARYING_VECTORS: 36348;
          MAX_VERTEX_ATTRIBS: 34921;
          MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660;
          MAX_VERTEX_UNIFORM_VECTORS: 36347;
          MAX_VIEWPORT_DIMS: 3386;
          MEDIUM_FLOAT: 36337;
          MEDIUM_INT: 36340;
          MIRRORED_REPEAT: 33648;
          NEAREST: 9728;
          NEAREST_MIPMAP_LINEAR: 9986;
          NEAREST_MIPMAP_NEAREST: 9984;
          NEVER: 512;
          NICEST: 4354;
          NONE: 0;
          NOTEQUAL: 517;
          NO_ERROR: 0;
          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;
          POINTS: 0;
          POLYGON_OFFSET_FACTOR: 32824;
          POLYGON_OFFSET_FILL: 32823;
          POLYGON_OFFSET_UNITS: 10752;
          RED_BITS: 3410;
          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_STENCIL_SIZE: 36181;
          RENDERBUFFER_WIDTH: 36162;
          RENDERER: 7937;
          REPEAT: 10497;
          REPLACE: 7681;
          RGB: 6407;
          RGB565: 36194;
          RGB5_A1: 32855;
          RGBA: 6408;
          RGBA4: 32854;
          SAMPLER_2D: 35678;
          SAMPLER_CUBE: 35680;
          SAMPLES: 32937;
          SAMPLE_ALPHA_TO_COVERAGE: 32926;
          SAMPLE_BUFFERS: 32936;
          SAMPLE_COVERAGE: 32928;
          SAMPLE_COVERAGE_INVERT: 32939;
          SAMPLE_COVERAGE_VALUE: 32938;
          SCISSOR_BOX: 3088;
          SCISSOR_TEST: 3089;
          SHADER_TYPE: 35663;
          SHADING_LANGUAGE_VERSION: 35724;
          SHORT: 5122;
          SRC_ALPHA: 770;
          SRC_ALPHA_SATURATE: 776;
          SRC_COLOR: 768;
          STATIC_DRAW: 35044;
          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_DRAW: 35040;
          SUBPIXEL_BITS: 3408;
          TEXTURE: 5890;
          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;
          TEXTURE_2D: 3553;
          TEXTURE_BINDING_2D: 32873;
          TEXTURE_BINDING_CUBE_MAP: 34068;
          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_MAG_FILTER: 10240;
          TEXTURE_MIN_FILTER: 10241;
          TEXTURE_WRAP_S: 10242;
          TEXTURE_WRAP_T: 10243;
          TRIANGLES: 4;
          TRIANGLE_FAN: 6;
          TRIANGLE_STRIP: 5;
          UNPACK_ALIGNMENT: 3317;
          UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443;
          UNPACK_FLIP_Y_WEBGL: 37440;
          UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441;
          UNSIGNED_BYTE: 5121;
          UNSIGNED_INT: 5125;
          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_ATTRIB_ARRAY_BUFFER_BINDING: 34975;
          VERTEX_ATTRIB_ARRAY_ENABLED: 34338;
          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;
          ZERO: 0;
          prototype: WebGLRenderingContext;
          new (): WebGLRenderingContext;
      }

        • new (): WebGLRenderingContext
        • Returns WebGLRenderingContext

      • Readonly ACTIVE_ATTRIBUTES: 35721
      • Readonly ACTIVE_TEXTURE: 34016
      • Readonly ACTIVE_UNIFORMS: 35718
      • Readonly ALIASED_LINE_WIDTH_RANGE: 33902
      • Readonly ALIASED_POINT_SIZE_RANGE: 33901
      • Readonly ALPHA: 6406
      • Readonly ALPHA_BITS: 3413
      • Readonly ALWAYS: 519
      • Readonly ARRAY_BUFFER: 34962
      • Readonly ARRAY_BUFFER_BINDING: 34964
      • Readonly ATTACHED_SHADERS: 35717
      • Readonly BACK: 1029
      • Readonly BLEND: 3042
      • Readonly BLEND_COLOR: 32773
      • Readonly BLEND_DST_ALPHA: 32970
      • Readonly BLEND_DST_RGB: 32968
      • Readonly BLEND_EQUATION: 32777
      • Readonly BLEND_EQUATION_ALPHA: 34877
      • Readonly BLEND_EQUATION_RGB: 32777
      • Readonly BLEND_SRC_ALPHA: 32971
      • Readonly BLEND_SRC_RGB: 32969
      • Readonly BLUE_BITS: 3412
      • Readonly BOOL: 35670
      • Readonly BOOL_VEC2: 35671
      • Readonly BOOL_VEC3: 35672
      • Readonly BOOL_VEC4: 35673
      • Readonly BROWSER_DEFAULT_WEBGL: 37444
      • Readonly BUFFER_SIZE: 34660
      • Readonly BUFFER_USAGE: 34661
      • Readonly BYTE: 5120
      • Readonly CCW: 2305
      • Readonly CLAMP_TO_EDGE: 33071
      • Readonly COLOR_ATTACHMENT0: 36064
      • Readonly COLOR_BUFFER_BIT: 16384
      • Readonly COLOR_CLEAR_VALUE: 3106
      • Readonly COLOR_WRITEMASK: 3107
      • Readonly COMPILE_STATUS: 35713
      • Readonly COMPRESSED_TEXTURE_FORMATS: 34467
      • Readonly CONSTANT_ALPHA: 32771
      • Readonly CONSTANT_COLOR: 32769
      • Readonly CONTEXT_LOST_WEBGL: 37442
      • Readonly CULL_FACE: 2884
      • Readonly CULL_FACE_MODE: 2885
      • Readonly CURRENT_PROGRAM: 35725
      • Readonly CURRENT_VERTEX_ATTRIB: 34342
      • Readonly CW: 2304
      • Readonly DECR: 7683
      • Readonly DECR_WRAP: 34056
      • Readonly DELETE_STATUS: 35712
      • Readonly DEPTH_ATTACHMENT: 36096
      • Readonly DEPTH_BITS: 3414
      • Readonly DEPTH_BUFFER_BIT: 256
      • Readonly DEPTH_CLEAR_VALUE: 2931
      • Readonly DEPTH_COMPONENT: 6402
      • Readonly DEPTH_COMPONENT16: 33189
      • Readonly DEPTH_FUNC: 2932
      • Readonly DEPTH_RANGE: 2928
      • Readonly DEPTH_STENCIL: 34041
      • Readonly DEPTH_STENCIL_ATTACHMENT: 33306
      • Readonly DEPTH_TEST: 2929
      • Readonly DEPTH_WRITEMASK: 2930
      • Readonly DITHER: 3024
      • Readonly DONT_CARE: 4352
      • Readonly DST_ALPHA: 772
      • Readonly DST_COLOR: 774
      • Readonly DYNAMIC_DRAW: 35048
      • Readonly ELEMENT_ARRAY_BUFFER: 34963
      • Readonly ELEMENT_ARRAY_BUFFER_BINDING: 34965
      • Readonly EQUAL: 514
      • Readonly FASTEST: 4353
      • Readonly FLOAT: 5126
      • Readonly FLOAT_MAT2: 35674
      • Readonly FLOAT_MAT3: 35675
      • Readonly FLOAT_MAT4: 35676
      • Readonly FLOAT_VEC2: 35664
      • Readonly FLOAT_VEC3: 35665
      • Readonly FLOAT_VEC4: 35666
      • Readonly FRAGMENT_SHADER: 35632
      • Readonly FRAMEBUFFER: 36160
      • Readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 36049
      • Readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 36048
      • Readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 36051
      • Readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 36050
      • Readonly FRAMEBUFFER_BINDING: 36006
      • Readonly FRAMEBUFFER_COMPLETE: 36053
      • Readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 36054
      • Readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 36057
      • Readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 36055
      • Readonly FRAMEBUFFER_UNSUPPORTED: 36061
      • Readonly FRONT: 1028
      • Readonly FRONT_AND_BACK: 1032
      • Readonly FRONT_FACE: 2886
      • Readonly FUNC_ADD: 32774
      • Readonly FUNC_REVERSE_SUBTRACT: 32779
      • Readonly FUNC_SUBTRACT: 32778
      • Readonly GENERATE_MIPMAP_HINT: 33170
      • Readonly GEQUAL: 518
      • Readonly GREATER: 516
      • Readonly GREEN_BITS: 3411
      • Readonly HIGH_FLOAT: 36338
      • Readonly HIGH_INT: 36341
      • Readonly IMPLEMENTATION_COLOR_READ_FORMAT: 35739
      • Readonly IMPLEMENTATION_COLOR_READ_TYPE: 35738
      • Readonly INCR: 7682
      • Readonly INCR_WRAP: 34055
      • Readonly INT: 5124
      • Readonly INT_VEC2: 35667
      • Readonly INT_VEC3: 35668
      • Readonly INT_VEC4: 35669
      • Readonly INVALID_ENUM: 1280
      • Readonly INVALID_FRAMEBUFFER_OPERATION: 1286
      • Readonly INVALID_OPERATION: 1282
      • Readonly INVALID_VALUE: 1281
      • Readonly INVERT: 5386
      • Readonly KEEP: 7680
      • Readonly LEQUAL: 515
      • Readonly LESS: 513
      • Readonly LINEAR: 9729
      • Readonly LINEAR_MIPMAP_LINEAR: 9987
      • Readonly LINEAR_MIPMAP_NEAREST: 9985
      • Readonly LINES: 1
      • Readonly LINE_LOOP: 2
      • Readonly LINE_STRIP: 3
      • Readonly LINE_WIDTH: 2849
      • Readonly LINK_STATUS: 35714
      • Readonly LOW_FLOAT: 36336
      • Readonly LOW_INT: 36339
      • Readonly LUMINANCE: 6409
      • Readonly LUMINANCE_ALPHA: 6410
      • Readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 35661
      • Readonly MAX_CUBE_MAP_TEXTURE_SIZE: 34076
      • Readonly MAX_FRAGMENT_UNIFORM_VECTORS: 36349
      • Readonly MAX_RENDERBUFFER_SIZE: 34024
      • Readonly MAX_TEXTURE_IMAGE_UNITS: 34930
      • Readonly MAX_TEXTURE_SIZE: 3379
      • Readonly MAX_VARYING_VECTORS: 36348
      • Readonly MAX_VERTEX_ATTRIBS: 34921
      • Readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 35660
      • Readonly MAX_VERTEX_UNIFORM_VECTORS: 36347
      • Readonly MAX_VIEWPORT_DIMS: 3386
      • Readonly MEDIUM_FLOAT: 36337
      • Readonly MEDIUM_INT: 36340
      • Readonly MIRRORED_REPEAT: 33648
      • Readonly NEAREST: 9728
      • Readonly NEAREST_MIPMAP_LINEAR: 9986
      • Readonly NEAREST_MIPMAP_NEAREST: 9984
      • Readonly NEVER: 512
      • Readonly NICEST: 4354
      • Readonly NONE: 0
      • Readonly NOTEQUAL: 517
      • Readonly NO_ERROR: 0
      • Readonly ONE: 1
      • Readonly ONE_MINUS_CONSTANT_ALPHA: 32772
      • Readonly ONE_MINUS_CONSTANT_COLOR: 32770
      • Readonly ONE_MINUS_DST_ALPHA: 773
      • Readonly ONE_MINUS_DST_COLOR: 775
      • Readonly ONE_MINUS_SRC_ALPHA: 771
      • Readonly ONE_MINUS_SRC_COLOR: 769
      • Readonly OUT_OF_MEMORY: 1285
      • Readonly PACK_ALIGNMENT: 3333
      • Readonly POINTS: 0
      • Readonly POLYGON_OFFSET_FACTOR: 32824
      • Readonly POLYGON_OFFSET_FILL: 32823
      • Readonly POLYGON_OFFSET_UNITS: 10752
      • Readonly RED_BITS: 3410
      • Readonly RENDERBUFFER: 36161
      • Readonly RENDERBUFFER_ALPHA_SIZE: 36179
      • Readonly RENDERBUFFER_BINDING: 36007
      • Readonly RENDERBUFFER_BLUE_SIZE: 36178
      • Readonly RENDERBUFFER_DEPTH_SIZE: 36180
      • Readonly RENDERBUFFER_GREEN_SIZE: 36177
      • Readonly RENDERBUFFER_HEIGHT: 36163
      • Readonly RENDERBUFFER_INTERNAL_FORMAT: 36164
      • Readonly RENDERBUFFER_RED_SIZE: 36176
      • Readonly RENDERBUFFER_STENCIL_SIZE: 36181
      • Readonly RENDERBUFFER_WIDTH: 36162
      • Readonly RENDERER: 7937
      • Readonly REPEAT: 10497
      • Readonly REPLACE: 7681
      • Readonly RGB: 6407
      • Readonly RGB565: 36194
      • Readonly RGB5_A1: 32855
      • Readonly RGBA: 6408
      • Readonly RGBA4: 32854
      • Readonly SAMPLER_2D: 35678
      • Readonly SAMPLER_CUBE: 35680
      • Readonly SAMPLES: 32937
      • Readonly SAMPLE_ALPHA_TO_COVERAGE: 32926
      • Readonly SAMPLE_BUFFERS: 32936
      • Readonly SAMPLE_COVERAGE: 32928
      • Readonly SAMPLE_COVERAGE_INVERT: 32939
      • Readonly SAMPLE_COVERAGE_VALUE: 32938
      • Readonly SCISSOR_BOX: 3088
      • Readonly SCISSOR_TEST: 3089
      • Readonly SHADER_TYPE: 35663
      • Readonly SHADING_LANGUAGE_VERSION: 35724
      • Readonly SHORT: 5122
      • Readonly SRC_ALPHA: 770
      • Readonly SRC_ALPHA_SATURATE: 776
      • Readonly SRC_COLOR: 768
      • Readonly STATIC_DRAW: 35044
      • Readonly STENCIL_ATTACHMENT: 36128
      • Readonly STENCIL_BACK_FAIL: 34817
      • Readonly STENCIL_BACK_FUNC: 34816
      • Readonly STENCIL_BACK_PASS_DEPTH_FAIL: 34818
      • Readonly STENCIL_BACK_PASS_DEPTH_PASS: 34819
      • Readonly STENCIL_BACK_REF: 36003
      • Readonly STENCIL_BACK_VALUE_MASK: 36004
      • Readonly STENCIL_BACK_WRITEMASK: 36005
      • Readonly STENCIL_BITS: 3415
      • Readonly STENCIL_BUFFER_BIT: 1024
      • Readonly STENCIL_CLEAR_VALUE: 2961
      • Readonly STENCIL_FAIL: 2964
      • Readonly STENCIL_FUNC: 2962
      • Readonly STENCIL_INDEX8: 36168
      • Readonly STENCIL_PASS_DEPTH_FAIL: 2965
      • Readonly STENCIL_PASS_DEPTH_PASS: 2966
      • Readonly STENCIL_REF: 2967
      • Readonly STENCIL_TEST: 2960
      • Readonly STENCIL_VALUE_MASK: 2963
      • Readonly STENCIL_WRITEMASK: 2968
      • Readonly STREAM_DRAW: 35040
      • Readonly SUBPIXEL_BITS: 3408
      • Readonly TEXTURE: 5890
      • Readonly TEXTURE0: 33984
      • Readonly TEXTURE1: 33985
      • Readonly TEXTURE10: 33994
      • Readonly TEXTURE11: 33995
      • Readonly TEXTURE12: 33996
      • Readonly TEXTURE13: 33997
      • Readonly TEXTURE14: 33998
      • Readonly TEXTURE15: 33999
      • Readonly TEXTURE16: 34000
      • Readonly TEXTURE17: 34001
      • Readonly TEXTURE18: 34002
      • Readonly TEXTURE19: 34003
      • Readonly TEXTURE2: 33986
      • Readonly TEXTURE20: 34004
      • Readonly TEXTURE21: 34005
      • Readonly TEXTURE22: 34006
      • Readonly TEXTURE23: 34007
      • Readonly TEXTURE24: 34008
      • Readonly TEXTURE25: 34009
      • Readonly TEXTURE26: 34010
      • Readonly TEXTURE27: 34011
      • Readonly TEXTURE28: 34012
      • Readonly TEXTURE29: 34013
      • Readonly TEXTURE3: 33987
      • Readonly TEXTURE30: 34014
      • Readonly TEXTURE31: 34015
      • Readonly TEXTURE4: 33988
      • Readonly TEXTURE5: 33989
      • Readonly TEXTURE6: 33990
      • Readonly TEXTURE7: 33991
      • Readonly TEXTURE8: 33992
      • Readonly TEXTURE9: 33993
      • Readonly TEXTURE_2D: 3553
      • Readonly TEXTURE_BINDING_2D: 32873
      • Readonly TEXTURE_BINDING_CUBE_MAP: 34068
      • Readonly TEXTURE_CUBE_MAP: 34067
      • Readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 34070
      • Readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 34072
      • Readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 34074
      • Readonly TEXTURE_CUBE_MAP_POSITIVE_X: 34069
      • Readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 34071
      • Readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 34073
      • Readonly TEXTURE_MAG_FILTER: 10240
      • Readonly TEXTURE_MIN_FILTER: 10241
      • Readonly TEXTURE_WRAP_S: 10242
      • Readonly TEXTURE_WRAP_T: 10243
      • Readonly TRIANGLES: 4
      • Readonly TRIANGLE_FAN: 6
      • Readonly TRIANGLE_STRIP: 5
      • Readonly UNPACK_ALIGNMENT: 3317
      • Readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 37443
      • Readonly UNPACK_FLIP_Y_WEBGL: 37440
      • Readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 37441
      • Readonly UNSIGNED_BYTE: 5121
      • Readonly UNSIGNED_INT: 5125
      • Readonly UNSIGNED_SHORT: 5123
      • Readonly UNSIGNED_SHORT_4_4_4_4: 32819
      • Readonly UNSIGNED_SHORT_5_5_5_1: 32820
      • Readonly UNSIGNED_SHORT_5_6_5: 33635
      • Readonly VALIDATE_STATUS: 35715
      • Readonly VENDOR: 7936
      • Readonly VERSION: 7938
      • Readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 34975
      • Readonly VERTEX_ATTRIB_ARRAY_ENABLED: 34338
      • Readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 34922
      • Readonly VERTEX_ATTRIB_ARRAY_POINTER: 34373
      • Readonly VERTEX_ATTRIB_ARRAY_SIZE: 34339
      • Readonly VERTEX_ATTRIB_ARRAY_STRIDE: 34340
      • Readonly VERTEX_ATTRIB_ARRAY_TYPE: 34341
      • Readonly VERTEX_SHADER: 35633
      • Readonly VIEWPORT: 2978
      • Readonly ZERO: 0
      • prototype: WebGLRenderingContext
parseXML: ((xml) => Document)

Type declaration

    • (xml): Document
    • Parameters

      • xml: string

      Returns Document

Generated using TypeDoc