Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@luma.gl/constants

Package Overview
Dependencies
Maintainers
7
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luma.gl/constants - npm Package Compare versions

Comparing version 9.0.0-alpha.21 to 9.0.0-alpha.23

dist/webgl-types.d.ts

2

dist.min.js

@@ -7,4 +7,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

else root['luma'] = factory();})(globalThis, function () {
"use strict";var __exports__=(()=>{var A=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var O=Object.prototype.hasOwnProperty;var M=(E,_)=>{for(var T in _)A(E,T,{get:_[T],enumerable:!0})},F=(E,_,T,N)=>{if(_&&typeof _=="object"||typeof _=="function")for(let R of C(_))!O.call(E,R)&&R!==T&&A(E,R,{get:()=>_[R],enumerable:!(N=I(_,R))||N.enumerable});return E};var B=E=>F(A({},"__esModule",{value:!0}),E);var D={};M(D,{GLConstants:()=>S});var S=function(E){return E[E.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",E[E.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",E[E.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",E[E.POINTS=0]="POINTS",E[E.LINES=1]="LINES",E[E.LINE_LOOP=2]="LINE_LOOP",E[E.LINE_STRIP=3]="LINE_STRIP",E[E.TRIANGLES=4]="TRIANGLES",E[E.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",E[E.TRIANGLE_FAN=6]="TRIANGLE_FAN",E[E.ZERO=0]="ZERO",E[E.ONE=1]="ONE",E[E.SRC_COLOR=768]="SRC_COLOR",E[E.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",E[E.SRC_ALPHA=770]="SRC_ALPHA",E[E.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",E[E.DST_ALPHA=772]="DST_ALPHA",E[E.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",E[E.DST_COLOR=774]="DST_COLOR",E[E.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",E[E.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",E[E.CONSTANT_COLOR=32769]="CONSTANT_COLOR",E[E.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",E[E.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",E[E.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",E[E.FUNC_ADD=32774]="FUNC_ADD",E[E.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",E[E.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",E[E.BLEND_EQUATION=32777]="BLEND_EQUATION",E[E.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",E[E.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",E[E.BLEND_DST_RGB=32968]="BLEND_DST_RGB",E[E.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",E[E.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",E[E.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",E[E.BLEND_COLOR=32773]="BLEND_COLOR",E[E.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",E[E.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",E[E.LINE_WIDTH=2849]="LINE_WIDTH",E[E.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",E[E.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",E[E.CULL_FACE_MODE=2885]="CULL_FACE_MODE",E[E.FRONT_FACE=2886]="FRONT_FACE",E[E.DEPTH_RANGE=2928]="DEPTH_RANGE",E[E.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",E[E.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",E[E.DEPTH_FUNC=2932]="DEPTH_FUNC",E[E.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",E[E.STENCIL_FUNC=2962]="STENCIL_FUNC",E[E.STENCIL_FAIL=2964]="STENCIL_FAIL",E[E.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",E[E.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",E[E.STENCIL_REF=2967]="STENCIL_REF",E[E.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",E[E.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",E[E.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",E[E.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",E[E.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",E[E.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",E[E.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",E[E.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",E[E.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",E[E.VIEWPORT=2978]="VIEWPORT",E[E.SCISSOR_BOX=3088]="SCISSOR_BOX",E[E.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",E[E.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",E[E.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",E[E.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",E[E.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",E[E.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",E[E.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",E[E.RED_BITS=3410]="RED_BITS",E[E.GREEN_BITS=3411]="GREEN_BITS",E[E.BLUE_BITS=3412]="BLUE_BITS",E[E.ALPHA_BITS=3413]="ALPHA_BITS",E[E.DEPTH_BITS=3414]="DEPTH_BITS",E[E.STENCIL_BITS=3415]="STENCIL_BITS",E[E.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",E[E.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",E[E.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",E[E.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",E[E.SAMPLES=32937]="SAMPLES",E[E.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",E[E.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",E[E.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",E[E.VENDOR=7936]="VENDOR",E[E.RENDERER=7937]="RENDERER",E[E.VERSION=7938]="VERSION",E[E.IMPLEMENTATION_COLOR_READ_TYPE=35738]="IMPLEMENTATION_COLOR_READ_TYPE",E[E.IMPLEMENTATION_COLOR_READ_FORMAT=35739]="IMPLEMENTATION_COLOR_READ_FORMAT",E[E.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",E[E.STATIC_DRAW=35044]="STATIC_DRAW",E[E.STREAM_DRAW=35040]="STREAM_DRAW",E[E.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",E[E.ARRAY_BUFFER=34962]="ARRAY_BUFFER",E[E.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",E[E.BUFFER_SIZE=34660]="BUFFER_SIZE",E[E.BUFFER_USAGE=34661]="BUFFER_USAGE",E[E.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",E[E.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",E[E.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",E[E.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",E[E.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",E[E.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",E[E.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",E[E.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",E[E.CULL_FACE=2884]="CULL_FACE",E[E.FRONT=1028]="FRONT",E[E.BACK=1029]="BACK",E[E.FRONT_AND_BACK=1032]="FRONT_AND_BACK",E[E.BLEND=3042]="BLEND",E[E.DEPTH_TEST=2929]="DEPTH_TEST",E[E.DITHER=3024]="DITHER",E[E.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",E[E.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",E[E.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",E[E.SCISSOR_TEST=3089]="SCISSOR_TEST",E[E.STENCIL_TEST=2960]="STENCIL_TEST",E[E.NO_ERROR=0]="NO_ERROR",E[E.INVALID_ENUM=1280]="INVALID_ENUM",E[E.INVALID_VALUE=1281]="INVALID_VALUE",E[E.INVALID_OPERATION=1282]="INVALID_OPERATION",E[E.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",E[E.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",E[E.CW=2304]="CW",E[E.CCW=2305]="CCW",E[E.DONT_CARE=4352]="DONT_CARE",E[E.FASTEST=4353]="FASTEST",E[E.NICEST=4354]="NICEST",E[E.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",E[E.BYTE=5120]="BYTE",E[E.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",E[E.SHORT=5122]="SHORT",E[E.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",E[E.INT=5124]="INT",E[E.UNSIGNED_INT=5125]="UNSIGNED_INT",E[E.FLOAT=5126]="FLOAT",E[E.DOUBLE=5130]="DOUBLE",E[E.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",E[E.ALPHA=6406]="ALPHA",E[E.RGB=6407]="RGB",E[E.RGBA=6408]="RGBA",E[E.LUMINANCE=6409]="LUMINANCE",E[E.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",E[E.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",E[E.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",E[E.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",E[E.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",E[E.VERTEX_SHADER=35633]="VERTEX_SHADER",E[E.COMPILE_STATUS=35713]="COMPILE_STATUS",E[E.DELETE_STATUS=35712]="DELETE_STATUS",E[E.LINK_STATUS=35714]="LINK_STATUS",E[E.VALIDATE_STATUS=35715]="VALIDATE_STATUS",E[E.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",E[E.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",E[E.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",E[E.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",E[E.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",E[E.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",E[E.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",E[E.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",E[E.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",E[E.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",E[E.SHADER_TYPE=35663]="SHADER_TYPE",E[E.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",E[E.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",E[E.NEVER=512]="NEVER",E[E.ALWAYS=519]="ALWAYS",E[E.LESS=513]="LESS",E[E.EQUAL=514]="EQUAL",E[E.LEQUAL=515]="LEQUAL",E[E.GREATER=516]="GREATER",E[E.GEQUAL=518]="GEQUAL",E[E.NOTEQUAL=517]="NOTEQUAL",E[E.KEEP=7680]="KEEP",E[E.REPLACE=7681]="REPLACE",E[E.INCR=7682]="INCR",E[E.DECR=7683]="DECR",E[E.INVERT=5386]="INVERT",E[E.INCR_WRAP=34055]="INCR_WRAP",E[E.DECR_WRAP=34056]="DECR_WRAP",E[E.NEAREST=9728]="NEAREST",E[E.LINEAR=9729]="LINEAR",E[E.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",E[E.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",E[E.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",E[E.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",E[E.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",E[E.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",E[E.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",E[E.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",E[E.TEXTURE_2D=3553]="TEXTURE_2D",E[E.TEXTURE=5890]="TEXTURE",E[E.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",E[E.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",E[E.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",E[E.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",E[E.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",E[E.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",E[E.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",E[E.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",E[E.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",E[E.TEXTURE0=33984]="TEXTURE0",E[E.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",E[E.REPEAT=10497]="REPEAT",E[E.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",E[E.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",E[E.TEXTURE_WIDTH=4096]="TEXTURE_WIDTH",E[E.TEXTURE_HEIGHT=4097]="TEXTURE_HEIGHT",E[E.FLOAT_VEC2=35664]="FLOAT_VEC2",E[E.FLOAT_VEC3=35665]="FLOAT_VEC3",E[E.FLOAT_VEC4=35666]="FLOAT_VEC4",E[E.INT_VEC2=35667]="INT_VEC2",E[E.INT_VEC3=35668]="INT_VEC3",E[E.INT_VEC4=35669]="INT_VEC4",E[E.BOOL=35670]="BOOL",E[E.BOOL_VEC2=35671]="BOOL_VEC2",E[E.BOOL_VEC3=35672]="BOOL_VEC3",E[E.BOOL_VEC4=35673]="BOOL_VEC4",E[E.FLOAT_MAT2=35674]="FLOAT_MAT2",E[E.FLOAT_MAT3=35675]="FLOAT_MAT3",E[E.FLOAT_MAT4=35676]="FLOAT_MAT4",E[E.SAMPLER_2D=35678]="SAMPLER_2D",E[E.SAMPLER_CUBE=35680]="SAMPLER_CUBE",E[E.LOW_FLOAT=36336]="LOW_FLOAT",E[E.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",E[E.HIGH_FLOAT=36338]="HIGH_FLOAT",E[E.LOW_INT=36339]="LOW_INT",E[E.MEDIUM_INT=36340]="MEDIUM_INT",E[E.HIGH_INT=36341]="HIGH_INT",E[E.FRAMEBUFFER=36160]="FRAMEBUFFER",E[E.RENDERBUFFER=36161]="RENDERBUFFER",E[E.RGBA4=32854]="RGBA4",E[E.RGB5_A1=32855]="RGB5_A1",E[E.RGB565=36194]="RGB565",E[E.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",E[E.STENCIL_INDEX=6401]="STENCIL_INDEX",E[E.STENCIL_INDEX8=36168]="STENCIL_INDEX8",E[E.DEPTH_STENCIL=34041]="DEPTH_STENCIL",E[E.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",E[E.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",E[E.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",E[E.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",E[E.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",E[E.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",E[E.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",E[E.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",E[E.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",E[E.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",E[E.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",E[E.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",E[E.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",E[E.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",E[E.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",E[E.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",E[E.NONE=0]="NONE",E[E.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",E[E.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",E[E.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",E[E.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",E[E.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",E[E.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",E[E.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",E[E.READ_FRAMEBUFFER=36008]="READ_FRAMEBUFFER",E[E.DRAW_FRAMEBUFFER=36009]="DRAW_FRAMEBUFFER",E[E.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",E[E.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",E[E.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",E[E.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",E[E.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",E[E.READ_BUFFER=3074]="READ_BUFFER",E[E.UNPACK_ROW_LENGTH=3314]="UNPACK_ROW_LENGTH",E[E.UNPACK_SKIP_ROWS=3315]="UNPACK_SKIP_ROWS",E[E.UNPACK_SKIP_PIXELS=3316]="UNPACK_SKIP_PIXELS",E[E.PACK_ROW_LENGTH=3330]="PACK_ROW_LENGTH",E[E.PACK_SKIP_ROWS=3331]="PACK_SKIP_ROWS",E[E.PACK_SKIP_PIXELS=3332]="PACK_SKIP_PIXELS",E[E.TEXTURE_BINDING_3D=32874]="TEXTURE_BINDING_3D",E[E.UNPACK_SKIP_IMAGES=32877]="UNPACK_SKIP_IMAGES",E[E.UNPACK_IMAGE_HEIGHT=32878]="UNPACK_IMAGE_HEIGHT",E[E.MAX_3D_TEXTURE_SIZE=32883]="MAX_3D_TEXTURE_SIZE",E[E.MAX_ELEMENTS_VERTICES=33e3]="MAX_ELEMENTS_VERTICES",E[E.MAX_ELEMENTS_INDICES=33001]="MAX_ELEMENTS_INDICES",E[E.MAX_TEXTURE_LOD_BIAS=34045]="MAX_TEXTURE_LOD_BIAS",E[E.MAX_FRAGMENT_UNIFORM_COMPONENTS=35657]="MAX_FRAGMENT_UNIFORM_COMPONENTS",E[E.MAX_VERTEX_UNIFORM_COMPONENTS=35658]="MAX_VERTEX_UNIFORM_COMPONENTS",E[E.MAX_ARRAY_TEXTURE_LAYERS=35071]="MAX_ARRAY_TEXTURE_LAYERS",E[E.MIN_PROGRAM_TEXEL_OFFSET=35076]="MIN_PROGRAM_TEXEL_OFFSET",E[E.MAX_PROGRAM_TEXEL_OFFSET=35077]="MAX_PROGRAM_TEXEL_OFFSET",E[E.MAX_VARYING_COMPONENTS=35659]="MAX_VARYING_COMPONENTS",E[E.FRAGMENT_SHADER_DERIVATIVE_HINT=35723]="FRAGMENT_SHADER_DERIVATIVE_HINT",E[E.RASTERIZER_DISCARD=35977]="RASTERIZER_DISCARD",E[E.VERTEX_ARRAY_BINDING=34229]="VERTEX_ARRAY_BINDING",E[E.MAX_VERTEX_OUTPUT_COMPONENTS=37154]="MAX_VERTEX_OUTPUT_COMPONENTS",E[E.MAX_FRAGMENT_INPUT_COMPONENTS=37157]="MAX_FRAGMENT_INPUT_COMPONENTS",E[E.MAX_SERVER_WAIT_TIMEOUT=37137]="MAX_SERVER_WAIT_TIMEOUT",E[E.MAX_ELEMENT_INDEX=36203]="MAX_ELEMENT_INDEX",E[E.RED=6403]="RED",E[E.RGB8=32849]="RGB8",E[E.RGBA8=32856]="RGBA8",E[E.RGB10_A2=32857]="RGB10_A2",E[E.TEXTURE_3D=32879]="TEXTURE_3D",E[E.TEXTURE_WRAP_R=32882]="TEXTURE_WRAP_R",E[E.TEXTURE_MIN_LOD=33082]="TEXTURE_MIN_LOD",E[E.TEXTURE_MAX_LOD=33083]="TEXTURE_MAX_LOD",E[E.TEXTURE_BASE_LEVEL=33084]="TEXTURE_BASE_LEVEL",E[E.TEXTURE_MAX_LEVEL=33085]="TEXTURE_MAX_LEVEL",E[E.TEXTURE_COMPARE_MODE=34892]="TEXTURE_COMPARE_MODE",E[E.TEXTURE_COMPARE_FUNC=34893]="TEXTURE_COMPARE_FUNC",E[E.SRGB=35904]="SRGB",E[E.SRGB8=35905]="SRGB8",E[E.SRGB8_ALPHA8=35907]="SRGB8_ALPHA8",E[E.COMPARE_REF_TO_TEXTURE=34894]="COMPARE_REF_TO_TEXTURE",E[E.RGBA32F=34836]="RGBA32F",E[E.RGB32F=34837]="RGB32F",E[E.RGBA16F=34842]="RGBA16F",E[E.RGB16F=34843]="RGB16F",E[E.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",E[E.TEXTURE_BINDING_2D_ARRAY=35869]="TEXTURE_BINDING_2D_ARRAY",E[E.R11F_G11F_B10F=35898]="R11F_G11F_B10F",E[E.RGB9_E5=35901]="RGB9_E5",E[E.RGBA32UI=36208]="RGBA32UI",E[E.RGB32UI=36209]="RGB32UI",E[E.RGBA16UI=36214]="RGBA16UI",E[E.RGB16UI=36215]="RGB16UI",E[E.RGBA8UI=36220]="RGBA8UI",E[E.RGB8UI=36221]="RGB8UI",E[E.RGBA32I=36226]="RGBA32I",E[E.RGB32I=36227]="RGB32I",E[E.RGBA16I=36232]="RGBA16I",E[E.RGB16I=36233]="RGB16I",E[E.RGBA8I=36238]="RGBA8I",E[E.RGB8I=36239]="RGB8I",E[E.RED_INTEGER=36244]="RED_INTEGER",E[E.RGB_INTEGER=36248]="RGB_INTEGER",E[E.RGBA_INTEGER=36249]="RGBA_INTEGER",E[E.R8=33321]="R8",E[E.RG8=33323]="RG8",E[E.R16F=33325]="R16F",E[E.R32F=33326]="R32F",E[E.RG16F=33327]="RG16F",E[E.RG32F=33328]="RG32F",E[E.R8I=33329]="R8I",E[E.R8UI=33330]="R8UI",E[E.R16I=33331]="R16I",E[E.R16UI=33332]="R16UI",E[E.R32I=33333]="R32I",E[E.R32UI=33334]="R32UI",E[E.RG8I=33335]="RG8I",E[E.RG8UI=33336]="RG8UI",E[E.RG16I=33337]="RG16I",E[E.RG16UI=33338]="RG16UI",E[E.RG32I=33339]="RG32I",E[E.RG32UI=33340]="RG32UI",E[E.R8_SNORM=36756]="R8_SNORM",E[E.RG8_SNORM=36757]="RG8_SNORM",E[E.RGB8_SNORM=36758]="RGB8_SNORM",E[E.RGBA8_SNORM=36759]="RGBA8_SNORM",E[E.RGB10_A2UI=36975]="RGB10_A2UI",E[E.TEXTURE_IMMUTABLE_FORMAT=37167]="TEXTURE_IMMUTABLE_FORMAT",E[E.TEXTURE_IMMUTABLE_LEVELS=33503]="TEXTURE_IMMUTABLE_LEVELS",E[E.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",E[E.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",E[E.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",E[E.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",E[E.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",E[E.HALF_FLOAT=5131]="HALF_FLOAT",E[E.RG=33319]="RG",E[E.RG_INTEGER=33320]="RG_INTEGER",E[E.INT_2_10_10_10_REV=36255]="INT_2_10_10_10_REV",E[E.CURRENT_QUERY=34917]="CURRENT_QUERY",E[E.QUERY_RESULT=34918]="QUERY_RESULT",E[E.QUERY_RESULT_AVAILABLE=34919]="QUERY_RESULT_AVAILABLE",E[E.ANY_SAMPLES_PASSED=35887]="ANY_SAMPLES_PASSED",E[E.ANY_SAMPLES_PASSED_CONSERVATIVE=36202]="ANY_SAMPLES_PASSED_CONSERVATIVE",E[E.MAX_DRAW_BUFFERS=34852]="MAX_DRAW_BUFFERS",E[E.DRAW_BUFFER0=34853]="DRAW_BUFFER0",E[E.DRAW_BUFFER1=34854]="DRAW_BUFFER1",E[E.DRAW_BUFFER2=34855]="DRAW_BUFFER2",E[E.DRAW_BUFFER3=34856]="DRAW_BUFFER3",E[E.DRAW_BUFFER4=34857]="DRAW_BUFFER4",E[E.DRAW_BUFFER5=34858]="DRAW_BUFFER5",E[E.DRAW_BUFFER6=34859]="DRAW_BUFFER6",E[E.DRAW_BUFFER7=34860]="DRAW_BUFFER7",E[E.DRAW_BUFFER8=34861]="DRAW_BUFFER8",E[E.DRAW_BUFFER9=34862]="DRAW_BUFFER9",E[E.DRAW_BUFFER10=34863]="DRAW_BUFFER10",E[E.DRAW_BUFFER11=34864]="DRAW_BUFFER11",E[E.DRAW_BUFFER12=34865]="DRAW_BUFFER12",E[E.DRAW_BUFFER13=34866]="DRAW_BUFFER13",E[E.DRAW_BUFFER14=34867]="DRAW_BUFFER14",E[E.DRAW_BUFFER15=34868]="DRAW_BUFFER15",E[E.MAX_COLOR_ATTACHMENTS=36063]="MAX_COLOR_ATTACHMENTS",E[E.COLOR_ATTACHMENT1=36065]="COLOR_ATTACHMENT1",E[E.COLOR_ATTACHMENT2=36066]="COLOR_ATTACHMENT2",E[E.COLOR_ATTACHMENT3=36067]="COLOR_ATTACHMENT3",E[E.COLOR_ATTACHMENT4=36068]="COLOR_ATTACHMENT4",E[E.COLOR_ATTACHMENT5=36069]="COLOR_ATTACHMENT5",E[E.COLOR_ATTACHMENT6=36070]="COLOR_ATTACHMENT6",E[E.COLOR_ATTACHMENT7=36071]="COLOR_ATTACHMENT7",E[E.COLOR_ATTACHMENT8=36072]="COLOR_ATTACHMENT8",E[E.COLOR_ATTACHMENT9=36073]="COLOR_ATTACHMENT9",E[E.COLOR_ATTACHMENT10=36074]="COLOR_ATTACHMENT10",E[E.COLOR_ATTACHMENT11=36075]="COLOR_ATTACHMENT11",E[E.COLOR_ATTACHMENT12=36076]="COLOR_ATTACHMENT12",E[E.COLOR_ATTACHMENT13=36077]="COLOR_ATTACHMENT13",E[E.COLOR_ATTACHMENT14=36078]="COLOR_ATTACHMENT14",E[E.COLOR_ATTACHMENT15=36079]="COLOR_ATTACHMENT15",E[E.SAMPLER_3D=35679]="SAMPLER_3D",E[E.SAMPLER_2D_SHADOW=35682]="SAMPLER_2D_SHADOW",E[E.SAMPLER_2D_ARRAY=36289]="SAMPLER_2D_ARRAY",E[E.SAMPLER_2D_ARRAY_SHADOW=36292]="SAMPLER_2D_ARRAY_SHADOW",E[E.SAMPLER_CUBE_SHADOW=36293]="SAMPLER_CUBE_SHADOW",E[E.INT_SAMPLER_2D=36298]="INT_SAMPLER_2D",E[E.INT_SAMPLER_3D=36299]="INT_SAMPLER_3D",E[E.INT_SAMPLER_CUBE=36300]="INT_SAMPLER_CUBE",E[E.INT_SAMPLER_2D_ARRAY=36303]="INT_SAMPLER_2D_ARRAY",E[E.UNSIGNED_INT_SAMPLER_2D=36306]="UNSIGNED_INT_SAMPLER_2D",E[E.UNSIGNED_INT_SAMPLER_3D=36307]="UNSIGNED_INT_SAMPLER_3D",E[E.UNSIGNED_INT_SAMPLER_CUBE=36308]="UNSIGNED_INT_SAMPLER_CUBE",E[E.UNSIGNED_INT_SAMPLER_2D_ARRAY=36311]="UNSIGNED_INT_SAMPLER_2D_ARRAY",E[E.MAX_SAMPLES=36183]="MAX_SAMPLES",E[E.SAMPLER_BINDING=35097]="SAMPLER_BINDING",E[E.PIXEL_PACK_BUFFER=35051]="PIXEL_PACK_BUFFER",E[E.PIXEL_UNPACK_BUFFER=35052]="PIXEL_UNPACK_BUFFER",E[E.PIXEL_PACK_BUFFER_BINDING=35053]="PIXEL_PACK_BUFFER_BINDING",E[E.PIXEL_UNPACK_BUFFER_BINDING=35055]="PIXEL_UNPACK_BUFFER_BINDING",E[E.COPY_READ_BUFFER=36662]="COPY_READ_BUFFER",E[E.COPY_WRITE_BUFFER=36663]="COPY_WRITE_BUFFER",E[E.COPY_READ_BUFFER_BINDING=36662]="COPY_READ_BUFFER_BINDING",E[E.COPY_WRITE_BUFFER_BINDING=36663]="COPY_WRITE_BUFFER_BINDING",E[E.FLOAT_MAT2x3=35685]="FLOAT_MAT2x3",E[E.FLOAT_MAT2x4=35686]="FLOAT_MAT2x4",E[E.FLOAT_MAT3x2=35687]="FLOAT_MAT3x2",E[E.FLOAT_MAT3x4=35688]="FLOAT_MAT3x4",E[E.FLOAT_MAT4x2=35689]="FLOAT_MAT4x2",E[E.FLOAT_MAT4x3=35690]="FLOAT_MAT4x3",E[E.UNSIGNED_INT_VEC2=36294]="UNSIGNED_INT_VEC2",E[E.UNSIGNED_INT_VEC3=36295]="UNSIGNED_INT_VEC3",E[E.UNSIGNED_INT_VEC4=36296]="UNSIGNED_INT_VEC4",E[E.UNSIGNED_NORMALIZED=35863]="UNSIGNED_NORMALIZED",E[E.SIGNED_NORMALIZED=36764]="SIGNED_NORMALIZED",E[E.VERTEX_ATTRIB_ARRAY_INTEGER=35069]="VERTEX_ATTRIB_ARRAY_INTEGER",E[E.VERTEX_ATTRIB_ARRAY_DIVISOR=35070]="VERTEX_ATTRIB_ARRAY_DIVISOR",E[E.TRANSFORM_FEEDBACK_BUFFER_MODE=35967]="TRANSFORM_FEEDBACK_BUFFER_MODE",E[E.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS=35968]="MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS",E[E.TRANSFORM_FEEDBACK_VARYINGS=35971]="TRANSFORM_FEEDBACK_VARYINGS",E[E.TRANSFORM_FEEDBACK_BUFFER_START=35972]="TRANSFORM_FEEDBACK_BUFFER_START",E[E.TRANSFORM_FEEDBACK_BUFFER_SIZE=35973]="TRANSFORM_FEEDBACK_BUFFER_SIZE",E[E.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN=35976]="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN",E[E.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS=35978]="MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS",E[E.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS=35979]="MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS",E[E.INTERLEAVED_ATTRIBS=35980]="INTERLEAVED_ATTRIBS",E[E.SEPARATE_ATTRIBS=35981]="SEPARATE_ATTRIBS",E[E.TRANSFORM_FEEDBACK_BUFFER=35982]="TRANSFORM_FEEDBACK_BUFFER",E[E.TRANSFORM_FEEDBACK_BUFFER_BINDING=35983]="TRANSFORM_FEEDBACK_BUFFER_BINDING",E[E.TRANSFORM_FEEDBACK=36386]="TRANSFORM_FEEDBACK",E[E.TRANSFORM_FEEDBACK_PAUSED=36387]="TRANSFORM_FEEDBACK_PAUSED",E[E.TRANSFORM_FEEDBACK_ACTIVE=36388]="TRANSFORM_FEEDBACK_ACTIVE",E[E.TRANSFORM_FEEDBACK_BINDING=36389]="TRANSFORM_FEEDBACK_BINDING",E[E.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING=33296]="FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING",E[E.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE=33297]="FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE",E[E.FRAMEBUFFER_ATTACHMENT_RED_SIZE=33298]="FRAMEBUFFER_ATTACHMENT_RED_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE=33299]="FRAMEBUFFER_ATTACHMENT_GREEN_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE=33300]="FRAMEBUFFER_ATTACHMENT_BLUE_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE=33301]="FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE=33302]="FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE=33303]="FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE",E[E.FRAMEBUFFER_DEFAULT=33304]="FRAMEBUFFER_DEFAULT",E[E.DEPTH24_STENCIL8=35056]="DEPTH24_STENCIL8",E[E.DRAW_FRAMEBUFFER_BINDING=36006]="DRAW_FRAMEBUFFER_BINDING",E[E.READ_FRAMEBUFFER_BINDING=36010]="READ_FRAMEBUFFER_BINDING",E[E.RENDERBUFFER_SAMPLES=36011]="RENDERBUFFER_SAMPLES",E[E.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER=36052]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER",E[E.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE=36182]="FRAMEBUFFER_INCOMPLETE_MULTISAMPLE",E[E.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",E[E.UNIFORM_BUFFER_BINDING=35368]="UNIFORM_BUFFER_BINDING",E[E.UNIFORM_BUFFER_START=35369]="UNIFORM_BUFFER_START",E[E.UNIFORM_BUFFER_SIZE=35370]="UNIFORM_BUFFER_SIZE",E[E.MAX_VERTEX_UNIFORM_BLOCKS=35371]="MAX_VERTEX_UNIFORM_BLOCKS",E[E.MAX_FRAGMENT_UNIFORM_BLOCKS=35373]="MAX_FRAGMENT_UNIFORM_BLOCKS",E[E.MAX_COMBINED_UNIFORM_BLOCKS=35374]="MAX_COMBINED_UNIFORM_BLOCKS",E[E.MAX_UNIFORM_BUFFER_BINDINGS=35375]="MAX_UNIFORM_BUFFER_BINDINGS",E[E.MAX_UNIFORM_BLOCK_SIZE=35376]="MAX_UNIFORM_BLOCK_SIZE",E[E.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS=35377]="MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS",E[E.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS=35379]="MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS",E[E.UNIFORM_BUFFER_OFFSET_ALIGNMENT=35380]="UNIFORM_BUFFER_OFFSET_ALIGNMENT",E[E.ACTIVE_UNIFORM_BLOCKS=35382]="ACTIVE_UNIFORM_BLOCKS",E[E.UNIFORM_TYPE=35383]="UNIFORM_TYPE",E[E.UNIFORM_SIZE=35384]="UNIFORM_SIZE",E[E.UNIFORM_BLOCK_INDEX=35386]="UNIFORM_BLOCK_INDEX",E[E.UNIFORM_OFFSET=35387]="UNIFORM_OFFSET",E[E.UNIFORM_ARRAY_STRIDE=35388]="UNIFORM_ARRAY_STRIDE",E[E.UNIFORM_MATRIX_STRIDE=35389]="UNIFORM_MATRIX_STRIDE",E[E.UNIFORM_IS_ROW_MAJOR=35390]="UNIFORM_IS_ROW_MAJOR",E[E.UNIFORM_BLOCK_BINDING=35391]="UNIFORM_BLOCK_BINDING",E[E.UNIFORM_BLOCK_DATA_SIZE=35392]="UNIFORM_BLOCK_DATA_SIZE",E[E.UNIFORM_BLOCK_ACTIVE_UNIFORMS=35394]="UNIFORM_BLOCK_ACTIVE_UNIFORMS",E[E.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES=35395]="UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES",E[E.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER=35396]="UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER",E[E.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER=35398]="UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER",E[E.OBJECT_TYPE=37138]="OBJECT_TYPE",E[E.SYNC_CONDITION=37139]="SYNC_CONDITION",E[E.SYNC_STATUS=37140]="SYNC_STATUS",E[E.SYNC_FLAGS=37141]="SYNC_FLAGS",E[E.SYNC_FENCE=37142]="SYNC_FENCE",E[E.SYNC_GPU_COMMANDS_COMPLETE=37143]="SYNC_GPU_COMMANDS_COMPLETE",E[E.UNSIGNALED=37144]="UNSIGNALED",E[E.SIGNALED=37145]="SIGNALED",E[E.ALREADY_SIGNALED=37146]="ALREADY_SIGNALED",E[E.TIMEOUT_EXPIRED=37147]="TIMEOUT_EXPIRED",E[E.CONDITION_SATISFIED=37148]="CONDITION_SATISFIED",E[E.WAIT_FAILED=37149]="WAIT_FAILED",E[E.SYNC_FLUSH_COMMANDS_BIT=1]="SYNC_FLUSH_COMMANDS_BIT",E[E.COLOR=6144]="COLOR",E[E.DEPTH=6145]="DEPTH",E[E.STENCIL=6146]="STENCIL",E[E.MIN=32775]="MIN",E[E.MAX=32776]="MAX",E[E.DEPTH_COMPONENT24=33190]="DEPTH_COMPONENT24",E[E.STREAM_READ=35041]="STREAM_READ",E[E.STREAM_COPY=35042]="STREAM_COPY",E[E.STATIC_READ=35045]="STATIC_READ",E[E.STATIC_COPY=35046]="STATIC_COPY",E[E.DYNAMIC_READ=35049]="DYNAMIC_READ",E[E.DYNAMIC_COPY=35050]="DYNAMIC_COPY",E[E.DEPTH_COMPONENT32F=36012]="DEPTH_COMPONENT32F",E[E.DEPTH32F_STENCIL8=36013]="DEPTH32F_STENCIL8",E[E.INVALID_INDEX=4294967295]="INVALID_INDEX",E[E.TIMEOUT_IGNORED=-1]="TIMEOUT_IGNORED",E[E.MAX_CLIENT_WAIT_TIMEOUT_WEBGL=37447]="MAX_CLIENT_WAIT_TIMEOUT_WEBGL",E[E.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE=35070]="VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE",E[E.UNMASKED_VENDOR_WEBGL=37445]="UNMASKED_VENDOR_WEBGL",E[E.UNMASKED_RENDERER_WEBGL=37446]="UNMASKED_RENDERER_WEBGL",E[E.MAX_TEXTURE_MAX_ANISOTROPY_EXT=34047]="MAX_TEXTURE_MAX_ANISOTROPY_EXT",E[E.TEXTURE_MAX_ANISOTROPY_EXT=34046]="TEXTURE_MAX_ANISOTROPY_EXT",E[E.SRGB_EXT=35904]="SRGB_EXT",E[E.SRGB_ALPHA_EXT=35906]="SRGB_ALPHA_EXT",E[E.SRGB8_ALPHA8_EXT=35907]="SRGB8_ALPHA8_EXT",E[E.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT=33296]="FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT",E[E.R16_EXT=33322]="R16_EXT",E[E.RG16_EXT=33324]="RG16_EXT",E[E.RGB16_EXT=32852]="RGB16_EXT",E[E.RGBA16_EXT=32859]="RGBA16_EXT",E[E.R16_SNORM_EXT=36760]="R16_SNORM_EXT",E[E.RG16_SNORM_EXT=36761]="RG16_SNORM_EXT",E[E.RGB16_SNORM_EXT=36762]="RGB16_SNORM_EXT",E[E.RGBA16_SNORM_EXT=36763]="RGBA16_SNORM_EXT",E[E.COMPRESSED_RGB_S3TC_DXT1_EXT=33776]="COMPRESSED_RGB_S3TC_DXT1_EXT",E[E.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777]="COMPRESSED_RGBA_S3TC_DXT1_EXT",E[E.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778]="COMPRESSED_RGBA_S3TC_DXT3_EXT",E[E.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779]="COMPRESSED_RGBA_S3TC_DXT5_EXT",E[E.COMPRESSED_SRGB_S3TC_DXT1_EXT=35916]="COMPRESSED_SRGB_S3TC_DXT1_EXT",E[E.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT=35917]="COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT",E[E.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT=35918]="COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT",E[E.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT=35919]="COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT",E[E.COMPRESSED_RED_RGTC1_EXT=36283]="COMPRESSED_RED_RGTC1_EXT",E[E.COMPRESSED_SIGNED_RED_RGTC1_EXT=36284]="COMPRESSED_SIGNED_RED_RGTC1_EXT",E[E.COMPRESSED_RED_GREEN_RGTC2_EXT=36285]="COMPRESSED_RED_GREEN_RGTC2_EXT",E[E.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT=36286]="COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT",E[E.COMPRESSED_RGBA_BPTC_UNORM_EXT=36492]="COMPRESSED_RGBA_BPTC_UNORM_EXT",E[E.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT=36493]="COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT",E[E.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT=36494]="COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT",E[E.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT=36495]="COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT",E[E.COMPRESSED_R11_EAC=37488]="COMPRESSED_R11_EAC",E[E.COMPRESSED_SIGNED_R11_EAC=37489]="COMPRESSED_SIGNED_R11_EAC",E[E.COMPRESSED_RG11_EAC=37490]="COMPRESSED_RG11_EAC",E[E.COMPRESSED_SIGNED_RG11_EAC=37491]="COMPRESSED_SIGNED_RG11_EAC",E[E.COMPRESSED_RGB8_ETC2=37492]="COMPRESSED_RGB8_ETC2",E[E.COMPRESSED_RGBA8_ETC2_EAC=37493]="COMPRESSED_RGBA8_ETC2_EAC",E[E.COMPRESSED_SRGB8_ETC2=37494]="COMPRESSED_SRGB8_ETC2",E[E.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC=37495]="COMPRESSED_SRGB8_ALPHA8_ETC2_EAC",E[E.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2=37496]="COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2",E[E.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2=37497]="COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2",E[E.COMPRESSED_RGB_PVRTC_4BPPV1_IMG=35840]="COMPRESSED_RGB_PVRTC_4BPPV1_IMG",E[E.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG=35842]="COMPRESSED_RGBA_PVRTC_4BPPV1_IMG",E[E.COMPRESSED_RGB_PVRTC_2BPPV1_IMG=35841]="COMPRESSED_RGB_PVRTC_2BPPV1_IMG",E[E.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG=35843]="COMPRESSED_RGBA_PVRTC_2BPPV1_IMG",E[E.COMPRESSED_RGB_ETC1_WEBGL=36196]="COMPRESSED_RGB_ETC1_WEBGL",E[E.COMPRESSED_RGB_ATC_WEBGL=35986]="COMPRESSED_RGB_ATC_WEBGL",E[E.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL=35986]="COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL",E[E.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL=34798]="COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL",E[E.COMPRESSED_RGBA_ASTC_4x4_KHR=37808]="COMPRESSED_RGBA_ASTC_4x4_KHR",E[E.COMPRESSED_RGBA_ASTC_5x4_KHR=37809]="COMPRESSED_RGBA_ASTC_5x4_KHR",E[E.COMPRESSED_RGBA_ASTC_5x5_KHR=37810]="COMPRESSED_RGBA_ASTC_5x5_KHR",E[E.COMPRESSED_RGBA_ASTC_6x5_KHR=37811]="COMPRESSED_RGBA_ASTC_6x5_KHR",E[E.COMPRESSED_RGBA_ASTC_6x6_KHR=37812]="COMPRESSED_RGBA_ASTC_6x6_KHR",E[E.COMPRESSED_RGBA_ASTC_8x5_KHR=37813]="COMPRESSED_RGBA_ASTC_8x5_KHR",E[E.COMPRESSED_RGBA_ASTC_8x6_KHR=37814]="COMPRESSED_RGBA_ASTC_8x6_KHR",E[E.COMPRESSED_RGBA_ASTC_8x8_KHR=37815]="COMPRESSED_RGBA_ASTC_8x8_KHR",E[E.COMPRESSED_RGBA_ASTC_10x5_KHR=37816]="COMPRESSED_RGBA_ASTC_10x5_KHR",E[E.COMPRESSED_RGBA_ASTC_10x6_KHR=37817]="COMPRESSED_RGBA_ASTC_10x6_KHR",E[E.COMPRESSED_RGBA_ASTC_10x8_KHR=37818]="COMPRESSED_RGBA_ASTC_10x8_KHR",E[E.COMPRESSED_RGBA_ASTC_10x10_KHR=37819]="COMPRESSED_RGBA_ASTC_10x10_KHR",E[E.COMPRESSED_RGBA_ASTC_12x10_KHR=37820]="COMPRESSED_RGBA_ASTC_12x10_KHR",E[E.COMPRESSED_RGBA_ASTC_12x12_KHR=37821]="COMPRESSED_RGBA_ASTC_12x12_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR=37840]="COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR=37841]="COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR=37842]="COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR=37843]="COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR=37844]="COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR=37845]="COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR=37846]="COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR=37847]="COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR=37848]="COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR=37849]="COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR=37850]="COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR=37851]="COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR=37852]="COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR=37853]="COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR",E[E.UNSIGNED_INT_24_8_WEBGL=34042]="UNSIGNED_INT_24_8_WEBGL",E[E.HALF_FLOAT_OES=36193]="HALF_FLOAT_OES",E[E.RGBA32F_EXT=34836]="RGBA32F_EXT",E[E.RGB32F_EXT=34837]="RGB32F_EXT",E[E.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT=33297]="FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT",E[E.UNSIGNED_NORMALIZED_EXT=35863]="UNSIGNED_NORMALIZED_EXT",E[E.MIN_EXT=32775]="MIN_EXT",E[E.MAX_EXT=32776]="MAX_EXT",E[E.FRAGMENT_SHADER_DERIVATIVE_HINT_OES=35723]="FRAGMENT_SHADER_DERIVATIVE_HINT_OES",E[E.COLOR_ATTACHMENT0_WEBGL=36064]="COLOR_ATTACHMENT0_WEBGL",E[E.COLOR_ATTACHMENT1_WEBGL=36065]="COLOR_ATTACHMENT1_WEBGL",E[E.COLOR_ATTACHMENT2_WEBGL=36066]="COLOR_ATTACHMENT2_WEBGL",E[E.COLOR_ATTACHMENT3_WEBGL=36067]="COLOR_ATTACHMENT3_WEBGL",E[E.COLOR_ATTACHMENT4_WEBGL=36068]="COLOR_ATTACHMENT4_WEBGL",E[E.COLOR_ATTACHMENT5_WEBGL=36069]="COLOR_ATTACHMENT5_WEBGL",E[E.COLOR_ATTACHMENT6_WEBGL=36070]="COLOR_ATTACHMENT6_WEBGL",E[E.COLOR_ATTACHMENT7_WEBGL=36071]="COLOR_ATTACHMENT7_WEBGL",E[E.COLOR_ATTACHMENT8_WEBGL=36072]="COLOR_ATTACHMENT8_WEBGL",E[E.COLOR_ATTACHMENT9_WEBGL=36073]="COLOR_ATTACHMENT9_WEBGL",E[E.COLOR_ATTACHMENT10_WEBGL=36074]="COLOR_ATTACHMENT10_WEBGL",E[E.COLOR_ATTACHMENT11_WEBGL=36075]="COLOR_ATTACHMENT11_WEBGL",E[E.COLOR_ATTACHMENT12_WEBGL=36076]="COLOR_ATTACHMENT12_WEBGL",E[E.COLOR_ATTACHMENT13_WEBGL=36077]="COLOR_ATTACHMENT13_WEBGL",E[E.COLOR_ATTACHMENT14_WEBGL=36078]="COLOR_ATTACHMENT14_WEBGL",E[E.COLOR_ATTACHMENT15_WEBGL=36079]="COLOR_ATTACHMENT15_WEBGL",E[E.DRAW_BUFFER0_WEBGL=34853]="DRAW_BUFFER0_WEBGL",E[E.DRAW_BUFFER1_WEBGL=34854]="DRAW_BUFFER1_WEBGL",E[E.DRAW_BUFFER2_WEBGL=34855]="DRAW_BUFFER2_WEBGL",E[E.DRAW_BUFFER3_WEBGL=34856]="DRAW_BUFFER3_WEBGL",E[E.DRAW_BUFFER4_WEBGL=34857]="DRAW_BUFFER4_WEBGL",E[E.DRAW_BUFFER5_WEBGL=34858]="DRAW_BUFFER5_WEBGL",E[E.DRAW_BUFFER6_WEBGL=34859]="DRAW_BUFFER6_WEBGL",E[E.DRAW_BUFFER7_WEBGL=34860]="DRAW_BUFFER7_WEBGL",E[E.DRAW_BUFFER8_WEBGL=34861]="DRAW_BUFFER8_WEBGL",E[E.DRAW_BUFFER9_WEBGL=34862]="DRAW_BUFFER9_WEBGL",E[E.DRAW_BUFFER10_WEBGL=34863]="DRAW_BUFFER10_WEBGL",E[E.DRAW_BUFFER11_WEBGL=34864]="DRAW_BUFFER11_WEBGL",E[E.DRAW_BUFFER12_WEBGL=34865]="DRAW_BUFFER12_WEBGL",E[E.DRAW_BUFFER13_WEBGL=34866]="DRAW_BUFFER13_WEBGL",E[E.DRAW_BUFFER14_WEBGL=34867]="DRAW_BUFFER14_WEBGL",E[E.DRAW_BUFFER15_WEBGL=34868]="DRAW_BUFFER15_WEBGL",E[E.MAX_COLOR_ATTACHMENTS_WEBGL=36063]="MAX_COLOR_ATTACHMENTS_WEBGL",E[E.MAX_DRAW_BUFFERS_WEBGL=34852]="MAX_DRAW_BUFFERS_WEBGL",E[E.VERTEX_ARRAY_BINDING_OES=34229]="VERTEX_ARRAY_BINDING_OES",E[E.QUERY_COUNTER_BITS_EXT=34916]="QUERY_COUNTER_BITS_EXT",E[E.CURRENT_QUERY_EXT=34917]="CURRENT_QUERY_EXT",E[E.QUERY_RESULT_EXT=34918]="QUERY_RESULT_EXT",E[E.QUERY_RESULT_AVAILABLE_EXT=34919]="QUERY_RESULT_AVAILABLE_EXT",E[E.TIME_ELAPSED_EXT=35007]="TIME_ELAPSED_EXT",E[E.TIMESTAMP_EXT=36392]="TIMESTAMP_EXT",E[E.GPU_DISJOINT_EXT=36795]="GPU_DISJOINT_EXT",E}({});return B(D);})();
"use strict";var __exports__=(()=>{var S=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var O=Object.prototype.hasOwnProperty;var M=(E,_)=>{for(var T in _)S(E,T,{get:_[T],enumerable:!0})},F=(E,_,T,N)=>{if(_&&typeof _=="object"||typeof _=="function")for(let R of C(_))!O.call(E,R)&&R!==T&&S(E,R,{get:()=>_[R],enumerable:!(N=I(_,R))||N.enumerable});return E};var B=E=>F(S({},"__esModule",{value:!0}),E);var D={};M(D,{GLConstants:()=>A});var A=function(E){return E[E.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",E[E.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",E[E.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",E[E.POINTS=0]="POINTS",E[E.LINES=1]="LINES",E[E.LINE_LOOP=2]="LINE_LOOP",E[E.LINE_STRIP=3]="LINE_STRIP",E[E.TRIANGLES=4]="TRIANGLES",E[E.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",E[E.TRIANGLE_FAN=6]="TRIANGLE_FAN",E[E.ZERO=0]="ZERO",E[E.ONE=1]="ONE",E[E.SRC_COLOR=768]="SRC_COLOR",E[E.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",E[E.SRC_ALPHA=770]="SRC_ALPHA",E[E.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",E[E.DST_ALPHA=772]="DST_ALPHA",E[E.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",E[E.DST_COLOR=774]="DST_COLOR",E[E.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",E[E.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",E[E.CONSTANT_COLOR=32769]="CONSTANT_COLOR",E[E.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",E[E.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",E[E.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",E[E.FUNC_ADD=32774]="FUNC_ADD",E[E.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",E[E.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",E[E.BLEND_EQUATION=32777]="BLEND_EQUATION",E[E.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",E[E.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",E[E.BLEND_DST_RGB=32968]="BLEND_DST_RGB",E[E.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",E[E.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",E[E.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",E[E.BLEND_COLOR=32773]="BLEND_COLOR",E[E.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",E[E.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",E[E.LINE_WIDTH=2849]="LINE_WIDTH",E[E.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",E[E.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",E[E.CULL_FACE_MODE=2885]="CULL_FACE_MODE",E[E.FRONT_FACE=2886]="FRONT_FACE",E[E.DEPTH_RANGE=2928]="DEPTH_RANGE",E[E.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",E[E.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",E[E.DEPTH_FUNC=2932]="DEPTH_FUNC",E[E.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",E[E.STENCIL_FUNC=2962]="STENCIL_FUNC",E[E.STENCIL_FAIL=2964]="STENCIL_FAIL",E[E.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",E[E.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",E[E.STENCIL_REF=2967]="STENCIL_REF",E[E.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",E[E.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",E[E.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",E[E.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",E[E.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",E[E.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",E[E.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",E[E.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",E[E.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",E[E.VIEWPORT=2978]="VIEWPORT",E[E.SCISSOR_BOX=3088]="SCISSOR_BOX",E[E.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",E[E.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",E[E.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",E[E.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",E[E.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",E[E.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",E[E.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",E[E.RED_BITS=3410]="RED_BITS",E[E.GREEN_BITS=3411]="GREEN_BITS",E[E.BLUE_BITS=3412]="BLUE_BITS",E[E.ALPHA_BITS=3413]="ALPHA_BITS",E[E.DEPTH_BITS=3414]="DEPTH_BITS",E[E.STENCIL_BITS=3415]="STENCIL_BITS",E[E.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",E[E.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",E[E.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",E[E.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",E[E.SAMPLES=32937]="SAMPLES",E[E.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",E[E.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",E[E.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",E[E.VENDOR=7936]="VENDOR",E[E.RENDERER=7937]="RENDERER",E[E.VERSION=7938]="VERSION",E[E.IMPLEMENTATION_COLOR_READ_TYPE=35738]="IMPLEMENTATION_COLOR_READ_TYPE",E[E.IMPLEMENTATION_COLOR_READ_FORMAT=35739]="IMPLEMENTATION_COLOR_READ_FORMAT",E[E.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",E[E.STATIC_DRAW=35044]="STATIC_DRAW",E[E.STREAM_DRAW=35040]="STREAM_DRAW",E[E.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",E[E.ARRAY_BUFFER=34962]="ARRAY_BUFFER",E[E.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",E[E.BUFFER_SIZE=34660]="BUFFER_SIZE",E[E.BUFFER_USAGE=34661]="BUFFER_USAGE",E[E.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",E[E.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",E[E.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",E[E.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",E[E.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",E[E.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",E[E.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",E[E.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",E[E.CULL_FACE=2884]="CULL_FACE",E[E.FRONT=1028]="FRONT",E[E.BACK=1029]="BACK",E[E.FRONT_AND_BACK=1032]="FRONT_AND_BACK",E[E.BLEND=3042]="BLEND",E[E.DEPTH_TEST=2929]="DEPTH_TEST",E[E.DITHER=3024]="DITHER",E[E.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",E[E.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",E[E.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",E[E.SCISSOR_TEST=3089]="SCISSOR_TEST",E[E.STENCIL_TEST=2960]="STENCIL_TEST",E[E.NO_ERROR=0]="NO_ERROR",E[E.INVALID_ENUM=1280]="INVALID_ENUM",E[E.INVALID_VALUE=1281]="INVALID_VALUE",E[E.INVALID_OPERATION=1282]="INVALID_OPERATION",E[E.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",E[E.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",E[E.CW=2304]="CW",E[E.CCW=2305]="CCW",E[E.DONT_CARE=4352]="DONT_CARE",E[E.FASTEST=4353]="FASTEST",E[E.NICEST=4354]="NICEST",E[E.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",E[E.BYTE=5120]="BYTE",E[E.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",E[E.SHORT=5122]="SHORT",E[E.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",E[E.INT=5124]="INT",E[E.UNSIGNED_INT=5125]="UNSIGNED_INT",E[E.FLOAT=5126]="FLOAT",E[E.DOUBLE=5130]="DOUBLE",E[E.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",E[E.ALPHA=6406]="ALPHA",E[E.RGB=6407]="RGB",E[E.RGBA=6408]="RGBA",E[E.LUMINANCE=6409]="LUMINANCE",E[E.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",E[E.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",E[E.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",E[E.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",E[E.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",E[E.VERTEX_SHADER=35633]="VERTEX_SHADER",E[E.COMPILE_STATUS=35713]="COMPILE_STATUS",E[E.DELETE_STATUS=35712]="DELETE_STATUS",E[E.LINK_STATUS=35714]="LINK_STATUS",E[E.VALIDATE_STATUS=35715]="VALIDATE_STATUS",E[E.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",E[E.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",E[E.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",E[E.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",E[E.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",E[E.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",E[E.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",E[E.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",E[E.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",E[E.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",E[E.SHADER_TYPE=35663]="SHADER_TYPE",E[E.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",E[E.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",E[E.NEVER=512]="NEVER",E[E.LESS=513]="LESS",E[E.EQUAL=514]="EQUAL",E[E.LEQUAL=515]="LEQUAL",E[E.GREATER=516]="GREATER",E[E.NOTEQUAL=517]="NOTEQUAL",E[E.GEQUAL=518]="GEQUAL",E[E.ALWAYS=519]="ALWAYS",E[E.KEEP=7680]="KEEP",E[E.REPLACE=7681]="REPLACE",E[E.INCR=7682]="INCR",E[E.DECR=7683]="DECR",E[E.INVERT=5386]="INVERT",E[E.INCR_WRAP=34055]="INCR_WRAP",E[E.DECR_WRAP=34056]="DECR_WRAP",E[E.NEAREST=9728]="NEAREST",E[E.LINEAR=9729]="LINEAR",E[E.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",E[E.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",E[E.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",E[E.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",E[E.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",E[E.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",E[E.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",E[E.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",E[E.TEXTURE_2D=3553]="TEXTURE_2D",E[E.TEXTURE=5890]="TEXTURE",E[E.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",E[E.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",E[E.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",E[E.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",E[E.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",E[E.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",E[E.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",E[E.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",E[E.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",E[E.TEXTURE0=33984]="TEXTURE0",E[E.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",E[E.REPEAT=10497]="REPEAT",E[E.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",E[E.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",E[E.TEXTURE_WIDTH=4096]="TEXTURE_WIDTH",E[E.TEXTURE_HEIGHT=4097]="TEXTURE_HEIGHT",E[E.FLOAT_VEC2=35664]="FLOAT_VEC2",E[E.FLOAT_VEC3=35665]="FLOAT_VEC3",E[E.FLOAT_VEC4=35666]="FLOAT_VEC4",E[E.INT_VEC2=35667]="INT_VEC2",E[E.INT_VEC3=35668]="INT_VEC3",E[E.INT_VEC4=35669]="INT_VEC4",E[E.BOOL=35670]="BOOL",E[E.BOOL_VEC2=35671]="BOOL_VEC2",E[E.BOOL_VEC3=35672]="BOOL_VEC3",E[E.BOOL_VEC4=35673]="BOOL_VEC4",E[E.FLOAT_MAT2=35674]="FLOAT_MAT2",E[E.FLOAT_MAT3=35675]="FLOAT_MAT3",E[E.FLOAT_MAT4=35676]="FLOAT_MAT4",E[E.SAMPLER_2D=35678]="SAMPLER_2D",E[E.SAMPLER_CUBE=35680]="SAMPLER_CUBE",E[E.LOW_FLOAT=36336]="LOW_FLOAT",E[E.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",E[E.HIGH_FLOAT=36338]="HIGH_FLOAT",E[E.LOW_INT=36339]="LOW_INT",E[E.MEDIUM_INT=36340]="MEDIUM_INT",E[E.HIGH_INT=36341]="HIGH_INT",E[E.FRAMEBUFFER=36160]="FRAMEBUFFER",E[E.RENDERBUFFER=36161]="RENDERBUFFER",E[E.RGBA4=32854]="RGBA4",E[E.RGB5_A1=32855]="RGB5_A1",E[E.RGB565=36194]="RGB565",E[E.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",E[E.STENCIL_INDEX=6401]="STENCIL_INDEX",E[E.STENCIL_INDEX8=36168]="STENCIL_INDEX8",E[E.DEPTH_STENCIL=34041]="DEPTH_STENCIL",E[E.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",E[E.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",E[E.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",E[E.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",E[E.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",E[E.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",E[E.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",E[E.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",E[E.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",E[E.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",E[E.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",E[E.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",E[E.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",E[E.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",E[E.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",E[E.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",E[E.NONE=0]="NONE",E[E.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",E[E.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",E[E.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",E[E.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",E[E.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",E[E.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",E[E.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",E[E.READ_FRAMEBUFFER=36008]="READ_FRAMEBUFFER",E[E.DRAW_FRAMEBUFFER=36009]="DRAW_FRAMEBUFFER",E[E.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",E[E.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",E[E.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",E[E.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",E[E.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",E[E.READ_BUFFER=3074]="READ_BUFFER",E[E.UNPACK_ROW_LENGTH=3314]="UNPACK_ROW_LENGTH",E[E.UNPACK_SKIP_ROWS=3315]="UNPACK_SKIP_ROWS",E[E.UNPACK_SKIP_PIXELS=3316]="UNPACK_SKIP_PIXELS",E[E.PACK_ROW_LENGTH=3330]="PACK_ROW_LENGTH",E[E.PACK_SKIP_ROWS=3331]="PACK_SKIP_ROWS",E[E.PACK_SKIP_PIXELS=3332]="PACK_SKIP_PIXELS",E[E.TEXTURE_BINDING_3D=32874]="TEXTURE_BINDING_3D",E[E.UNPACK_SKIP_IMAGES=32877]="UNPACK_SKIP_IMAGES",E[E.UNPACK_IMAGE_HEIGHT=32878]="UNPACK_IMAGE_HEIGHT",E[E.MAX_3D_TEXTURE_SIZE=32883]="MAX_3D_TEXTURE_SIZE",E[E.MAX_ELEMENTS_VERTICES=33e3]="MAX_ELEMENTS_VERTICES",E[E.MAX_ELEMENTS_INDICES=33001]="MAX_ELEMENTS_INDICES",E[E.MAX_TEXTURE_LOD_BIAS=34045]="MAX_TEXTURE_LOD_BIAS",E[E.MAX_FRAGMENT_UNIFORM_COMPONENTS=35657]="MAX_FRAGMENT_UNIFORM_COMPONENTS",E[E.MAX_VERTEX_UNIFORM_COMPONENTS=35658]="MAX_VERTEX_UNIFORM_COMPONENTS",E[E.MAX_ARRAY_TEXTURE_LAYERS=35071]="MAX_ARRAY_TEXTURE_LAYERS",E[E.MIN_PROGRAM_TEXEL_OFFSET=35076]="MIN_PROGRAM_TEXEL_OFFSET",E[E.MAX_PROGRAM_TEXEL_OFFSET=35077]="MAX_PROGRAM_TEXEL_OFFSET",E[E.MAX_VARYING_COMPONENTS=35659]="MAX_VARYING_COMPONENTS",E[E.FRAGMENT_SHADER_DERIVATIVE_HINT=35723]="FRAGMENT_SHADER_DERIVATIVE_HINT",E[E.RASTERIZER_DISCARD=35977]="RASTERIZER_DISCARD",E[E.VERTEX_ARRAY_BINDING=34229]="VERTEX_ARRAY_BINDING",E[E.MAX_VERTEX_OUTPUT_COMPONENTS=37154]="MAX_VERTEX_OUTPUT_COMPONENTS",E[E.MAX_FRAGMENT_INPUT_COMPONENTS=37157]="MAX_FRAGMENT_INPUT_COMPONENTS",E[E.MAX_SERVER_WAIT_TIMEOUT=37137]="MAX_SERVER_WAIT_TIMEOUT",E[E.MAX_ELEMENT_INDEX=36203]="MAX_ELEMENT_INDEX",E[E.RED=6403]="RED",E[E.RGB8=32849]="RGB8",E[E.RGBA8=32856]="RGBA8",E[E.RGB10_A2=32857]="RGB10_A2",E[E.TEXTURE_3D=32879]="TEXTURE_3D",E[E.TEXTURE_WRAP_R=32882]="TEXTURE_WRAP_R",E[E.TEXTURE_MIN_LOD=33082]="TEXTURE_MIN_LOD",E[E.TEXTURE_MAX_LOD=33083]="TEXTURE_MAX_LOD",E[E.TEXTURE_BASE_LEVEL=33084]="TEXTURE_BASE_LEVEL",E[E.TEXTURE_MAX_LEVEL=33085]="TEXTURE_MAX_LEVEL",E[E.TEXTURE_COMPARE_MODE=34892]="TEXTURE_COMPARE_MODE",E[E.TEXTURE_COMPARE_FUNC=34893]="TEXTURE_COMPARE_FUNC",E[E.SRGB=35904]="SRGB",E[E.SRGB8=35905]="SRGB8",E[E.SRGB8_ALPHA8=35907]="SRGB8_ALPHA8",E[E.COMPARE_REF_TO_TEXTURE=34894]="COMPARE_REF_TO_TEXTURE",E[E.RGBA32F=34836]="RGBA32F",E[E.RGB32F=34837]="RGB32F",E[E.RGBA16F=34842]="RGBA16F",E[E.RGB16F=34843]="RGB16F",E[E.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",E[E.TEXTURE_BINDING_2D_ARRAY=35869]="TEXTURE_BINDING_2D_ARRAY",E[E.R11F_G11F_B10F=35898]="R11F_G11F_B10F",E[E.RGB9_E5=35901]="RGB9_E5",E[E.RGBA32UI=36208]="RGBA32UI",E[E.RGB32UI=36209]="RGB32UI",E[E.RGBA16UI=36214]="RGBA16UI",E[E.RGB16UI=36215]="RGB16UI",E[E.RGBA8UI=36220]="RGBA8UI",E[E.RGB8UI=36221]="RGB8UI",E[E.RGBA32I=36226]="RGBA32I",E[E.RGB32I=36227]="RGB32I",E[E.RGBA16I=36232]="RGBA16I",E[E.RGB16I=36233]="RGB16I",E[E.RGBA8I=36238]="RGBA8I",E[E.RGB8I=36239]="RGB8I",E[E.RED_INTEGER=36244]="RED_INTEGER",E[E.RGB_INTEGER=36248]="RGB_INTEGER",E[E.RGBA_INTEGER=36249]="RGBA_INTEGER",E[E.R8=33321]="R8",E[E.RG8=33323]="RG8",E[E.R16F=33325]="R16F",E[E.R32F=33326]="R32F",E[E.RG16F=33327]="RG16F",E[E.RG32F=33328]="RG32F",E[E.R8I=33329]="R8I",E[E.R8UI=33330]="R8UI",E[E.R16I=33331]="R16I",E[E.R16UI=33332]="R16UI",E[E.R32I=33333]="R32I",E[E.R32UI=33334]="R32UI",E[E.RG8I=33335]="RG8I",E[E.RG8UI=33336]="RG8UI",E[E.RG16I=33337]="RG16I",E[E.RG16UI=33338]="RG16UI",E[E.RG32I=33339]="RG32I",E[E.RG32UI=33340]="RG32UI",E[E.R8_SNORM=36756]="R8_SNORM",E[E.RG8_SNORM=36757]="RG8_SNORM",E[E.RGB8_SNORM=36758]="RGB8_SNORM",E[E.RGBA8_SNORM=36759]="RGBA8_SNORM",E[E.RGB10_A2UI=36975]="RGB10_A2UI",E[E.TEXTURE_IMMUTABLE_FORMAT=37167]="TEXTURE_IMMUTABLE_FORMAT",E[E.TEXTURE_IMMUTABLE_LEVELS=33503]="TEXTURE_IMMUTABLE_LEVELS",E[E.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",E[E.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",E[E.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",E[E.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",E[E.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",E[E.HALF_FLOAT=5131]="HALF_FLOAT",E[E.RG=33319]="RG",E[E.RG_INTEGER=33320]="RG_INTEGER",E[E.INT_2_10_10_10_REV=36255]="INT_2_10_10_10_REV",E[E.CURRENT_QUERY=34917]="CURRENT_QUERY",E[E.QUERY_RESULT=34918]="QUERY_RESULT",E[E.QUERY_RESULT_AVAILABLE=34919]="QUERY_RESULT_AVAILABLE",E[E.ANY_SAMPLES_PASSED=35887]="ANY_SAMPLES_PASSED",E[E.ANY_SAMPLES_PASSED_CONSERVATIVE=36202]="ANY_SAMPLES_PASSED_CONSERVATIVE",E[E.MAX_DRAW_BUFFERS=34852]="MAX_DRAW_BUFFERS",E[E.DRAW_BUFFER0=34853]="DRAW_BUFFER0",E[E.DRAW_BUFFER1=34854]="DRAW_BUFFER1",E[E.DRAW_BUFFER2=34855]="DRAW_BUFFER2",E[E.DRAW_BUFFER3=34856]="DRAW_BUFFER3",E[E.DRAW_BUFFER4=34857]="DRAW_BUFFER4",E[E.DRAW_BUFFER5=34858]="DRAW_BUFFER5",E[E.DRAW_BUFFER6=34859]="DRAW_BUFFER6",E[E.DRAW_BUFFER7=34860]="DRAW_BUFFER7",E[E.DRAW_BUFFER8=34861]="DRAW_BUFFER8",E[E.DRAW_BUFFER9=34862]="DRAW_BUFFER9",E[E.DRAW_BUFFER10=34863]="DRAW_BUFFER10",E[E.DRAW_BUFFER11=34864]="DRAW_BUFFER11",E[E.DRAW_BUFFER12=34865]="DRAW_BUFFER12",E[E.DRAW_BUFFER13=34866]="DRAW_BUFFER13",E[E.DRAW_BUFFER14=34867]="DRAW_BUFFER14",E[E.DRAW_BUFFER15=34868]="DRAW_BUFFER15",E[E.MAX_COLOR_ATTACHMENTS=36063]="MAX_COLOR_ATTACHMENTS",E[E.COLOR_ATTACHMENT1=36065]="COLOR_ATTACHMENT1",E[E.COLOR_ATTACHMENT2=36066]="COLOR_ATTACHMENT2",E[E.COLOR_ATTACHMENT3=36067]="COLOR_ATTACHMENT3",E[E.COLOR_ATTACHMENT4=36068]="COLOR_ATTACHMENT4",E[E.COLOR_ATTACHMENT5=36069]="COLOR_ATTACHMENT5",E[E.COLOR_ATTACHMENT6=36070]="COLOR_ATTACHMENT6",E[E.COLOR_ATTACHMENT7=36071]="COLOR_ATTACHMENT7",E[E.COLOR_ATTACHMENT8=36072]="COLOR_ATTACHMENT8",E[E.COLOR_ATTACHMENT9=36073]="COLOR_ATTACHMENT9",E[E.COLOR_ATTACHMENT10=36074]="COLOR_ATTACHMENT10",E[E.COLOR_ATTACHMENT11=36075]="COLOR_ATTACHMENT11",E[E.COLOR_ATTACHMENT12=36076]="COLOR_ATTACHMENT12",E[E.COLOR_ATTACHMENT13=36077]="COLOR_ATTACHMENT13",E[E.COLOR_ATTACHMENT14=36078]="COLOR_ATTACHMENT14",E[E.COLOR_ATTACHMENT15=36079]="COLOR_ATTACHMENT15",E[E.SAMPLER_3D=35679]="SAMPLER_3D",E[E.SAMPLER_2D_SHADOW=35682]="SAMPLER_2D_SHADOW",E[E.SAMPLER_2D_ARRAY=36289]="SAMPLER_2D_ARRAY",E[E.SAMPLER_2D_ARRAY_SHADOW=36292]="SAMPLER_2D_ARRAY_SHADOW",E[E.SAMPLER_CUBE_SHADOW=36293]="SAMPLER_CUBE_SHADOW",E[E.INT_SAMPLER_2D=36298]="INT_SAMPLER_2D",E[E.INT_SAMPLER_3D=36299]="INT_SAMPLER_3D",E[E.INT_SAMPLER_CUBE=36300]="INT_SAMPLER_CUBE",E[E.INT_SAMPLER_2D_ARRAY=36303]="INT_SAMPLER_2D_ARRAY",E[E.UNSIGNED_INT_SAMPLER_2D=36306]="UNSIGNED_INT_SAMPLER_2D",E[E.UNSIGNED_INT_SAMPLER_3D=36307]="UNSIGNED_INT_SAMPLER_3D",E[E.UNSIGNED_INT_SAMPLER_CUBE=36308]="UNSIGNED_INT_SAMPLER_CUBE",E[E.UNSIGNED_INT_SAMPLER_2D_ARRAY=36311]="UNSIGNED_INT_SAMPLER_2D_ARRAY",E[E.MAX_SAMPLES=36183]="MAX_SAMPLES",E[E.SAMPLER_BINDING=35097]="SAMPLER_BINDING",E[E.PIXEL_PACK_BUFFER=35051]="PIXEL_PACK_BUFFER",E[E.PIXEL_UNPACK_BUFFER=35052]="PIXEL_UNPACK_BUFFER",E[E.PIXEL_PACK_BUFFER_BINDING=35053]="PIXEL_PACK_BUFFER_BINDING",E[E.PIXEL_UNPACK_BUFFER_BINDING=35055]="PIXEL_UNPACK_BUFFER_BINDING",E[E.COPY_READ_BUFFER=36662]="COPY_READ_BUFFER",E[E.COPY_WRITE_BUFFER=36663]="COPY_WRITE_BUFFER",E[E.COPY_READ_BUFFER_BINDING=36662]="COPY_READ_BUFFER_BINDING",E[E.COPY_WRITE_BUFFER_BINDING=36663]="COPY_WRITE_BUFFER_BINDING",E[E.FLOAT_MAT2x3=35685]="FLOAT_MAT2x3",E[E.FLOAT_MAT2x4=35686]="FLOAT_MAT2x4",E[E.FLOAT_MAT3x2=35687]="FLOAT_MAT3x2",E[E.FLOAT_MAT3x4=35688]="FLOAT_MAT3x4",E[E.FLOAT_MAT4x2=35689]="FLOAT_MAT4x2",E[E.FLOAT_MAT4x3=35690]="FLOAT_MAT4x3",E[E.UNSIGNED_INT_VEC2=36294]="UNSIGNED_INT_VEC2",E[E.UNSIGNED_INT_VEC3=36295]="UNSIGNED_INT_VEC3",E[E.UNSIGNED_INT_VEC4=36296]="UNSIGNED_INT_VEC4",E[E.UNSIGNED_NORMALIZED=35863]="UNSIGNED_NORMALIZED",E[E.SIGNED_NORMALIZED=36764]="SIGNED_NORMALIZED",E[E.VERTEX_ATTRIB_ARRAY_INTEGER=35069]="VERTEX_ATTRIB_ARRAY_INTEGER",E[E.VERTEX_ATTRIB_ARRAY_DIVISOR=35070]="VERTEX_ATTRIB_ARRAY_DIVISOR",E[E.TRANSFORM_FEEDBACK_BUFFER_MODE=35967]="TRANSFORM_FEEDBACK_BUFFER_MODE",E[E.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS=35968]="MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS",E[E.TRANSFORM_FEEDBACK_VARYINGS=35971]="TRANSFORM_FEEDBACK_VARYINGS",E[E.TRANSFORM_FEEDBACK_BUFFER_START=35972]="TRANSFORM_FEEDBACK_BUFFER_START",E[E.TRANSFORM_FEEDBACK_BUFFER_SIZE=35973]="TRANSFORM_FEEDBACK_BUFFER_SIZE",E[E.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN=35976]="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN",E[E.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS=35978]="MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS",E[E.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS=35979]="MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS",E[E.INTERLEAVED_ATTRIBS=35980]="INTERLEAVED_ATTRIBS",E[E.SEPARATE_ATTRIBS=35981]="SEPARATE_ATTRIBS",E[E.TRANSFORM_FEEDBACK_BUFFER=35982]="TRANSFORM_FEEDBACK_BUFFER",E[E.TRANSFORM_FEEDBACK_BUFFER_BINDING=35983]="TRANSFORM_FEEDBACK_BUFFER_BINDING",E[E.TRANSFORM_FEEDBACK=36386]="TRANSFORM_FEEDBACK",E[E.TRANSFORM_FEEDBACK_PAUSED=36387]="TRANSFORM_FEEDBACK_PAUSED",E[E.TRANSFORM_FEEDBACK_ACTIVE=36388]="TRANSFORM_FEEDBACK_ACTIVE",E[E.TRANSFORM_FEEDBACK_BINDING=36389]="TRANSFORM_FEEDBACK_BINDING",E[E.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING=33296]="FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING",E[E.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE=33297]="FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE",E[E.FRAMEBUFFER_ATTACHMENT_RED_SIZE=33298]="FRAMEBUFFER_ATTACHMENT_RED_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE=33299]="FRAMEBUFFER_ATTACHMENT_GREEN_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE=33300]="FRAMEBUFFER_ATTACHMENT_BLUE_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE=33301]="FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE=33302]="FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE",E[E.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE=33303]="FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE",E[E.FRAMEBUFFER_DEFAULT=33304]="FRAMEBUFFER_DEFAULT",E[E.DEPTH24_STENCIL8=35056]="DEPTH24_STENCIL8",E[E.DRAW_FRAMEBUFFER_BINDING=36006]="DRAW_FRAMEBUFFER_BINDING",E[E.READ_FRAMEBUFFER_BINDING=36010]="READ_FRAMEBUFFER_BINDING",E[E.RENDERBUFFER_SAMPLES=36011]="RENDERBUFFER_SAMPLES",E[E.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER=36052]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER",E[E.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE=36182]="FRAMEBUFFER_INCOMPLETE_MULTISAMPLE",E[E.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",E[E.UNIFORM_BUFFER_BINDING=35368]="UNIFORM_BUFFER_BINDING",E[E.UNIFORM_BUFFER_START=35369]="UNIFORM_BUFFER_START",E[E.UNIFORM_BUFFER_SIZE=35370]="UNIFORM_BUFFER_SIZE",E[E.MAX_VERTEX_UNIFORM_BLOCKS=35371]="MAX_VERTEX_UNIFORM_BLOCKS",E[E.MAX_FRAGMENT_UNIFORM_BLOCKS=35373]="MAX_FRAGMENT_UNIFORM_BLOCKS",E[E.MAX_COMBINED_UNIFORM_BLOCKS=35374]="MAX_COMBINED_UNIFORM_BLOCKS",E[E.MAX_UNIFORM_BUFFER_BINDINGS=35375]="MAX_UNIFORM_BUFFER_BINDINGS",E[E.MAX_UNIFORM_BLOCK_SIZE=35376]="MAX_UNIFORM_BLOCK_SIZE",E[E.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS=35377]="MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS",E[E.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS=35379]="MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS",E[E.UNIFORM_BUFFER_OFFSET_ALIGNMENT=35380]="UNIFORM_BUFFER_OFFSET_ALIGNMENT",E[E.ACTIVE_UNIFORM_BLOCKS=35382]="ACTIVE_UNIFORM_BLOCKS",E[E.UNIFORM_TYPE=35383]="UNIFORM_TYPE",E[E.UNIFORM_SIZE=35384]="UNIFORM_SIZE",E[E.UNIFORM_BLOCK_INDEX=35386]="UNIFORM_BLOCK_INDEX",E[E.UNIFORM_OFFSET=35387]="UNIFORM_OFFSET",E[E.UNIFORM_ARRAY_STRIDE=35388]="UNIFORM_ARRAY_STRIDE",E[E.UNIFORM_MATRIX_STRIDE=35389]="UNIFORM_MATRIX_STRIDE",E[E.UNIFORM_IS_ROW_MAJOR=35390]="UNIFORM_IS_ROW_MAJOR",E[E.UNIFORM_BLOCK_BINDING=35391]="UNIFORM_BLOCK_BINDING",E[E.UNIFORM_BLOCK_DATA_SIZE=35392]="UNIFORM_BLOCK_DATA_SIZE",E[E.UNIFORM_BLOCK_ACTIVE_UNIFORMS=35394]="UNIFORM_BLOCK_ACTIVE_UNIFORMS",E[E.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES=35395]="UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES",E[E.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER=35396]="UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER",E[E.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER=35398]="UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER",E[E.OBJECT_TYPE=37138]="OBJECT_TYPE",E[E.SYNC_CONDITION=37139]="SYNC_CONDITION",E[E.SYNC_STATUS=37140]="SYNC_STATUS",E[E.SYNC_FLAGS=37141]="SYNC_FLAGS",E[E.SYNC_FENCE=37142]="SYNC_FENCE",E[E.SYNC_GPU_COMMANDS_COMPLETE=37143]="SYNC_GPU_COMMANDS_COMPLETE",E[E.UNSIGNALED=37144]="UNSIGNALED",E[E.SIGNALED=37145]="SIGNALED",E[E.ALREADY_SIGNALED=37146]="ALREADY_SIGNALED",E[E.TIMEOUT_EXPIRED=37147]="TIMEOUT_EXPIRED",E[E.CONDITION_SATISFIED=37148]="CONDITION_SATISFIED",E[E.WAIT_FAILED=37149]="WAIT_FAILED",E[E.SYNC_FLUSH_COMMANDS_BIT=1]="SYNC_FLUSH_COMMANDS_BIT",E[E.COLOR=6144]="COLOR",E[E.DEPTH=6145]="DEPTH",E[E.STENCIL=6146]="STENCIL",E[E.MIN=32775]="MIN",E[E.MAX=32776]="MAX",E[E.DEPTH_COMPONENT24=33190]="DEPTH_COMPONENT24",E[E.STREAM_READ=35041]="STREAM_READ",E[E.STREAM_COPY=35042]="STREAM_COPY",E[E.STATIC_READ=35045]="STATIC_READ",E[E.STATIC_COPY=35046]="STATIC_COPY",E[E.DYNAMIC_READ=35049]="DYNAMIC_READ",E[E.DYNAMIC_COPY=35050]="DYNAMIC_COPY",E[E.DEPTH_COMPONENT32F=36012]="DEPTH_COMPONENT32F",E[E.DEPTH32F_STENCIL8=36013]="DEPTH32F_STENCIL8",E[E.INVALID_INDEX=4294967295]="INVALID_INDEX",E[E.TIMEOUT_IGNORED=-1]="TIMEOUT_IGNORED",E[E.MAX_CLIENT_WAIT_TIMEOUT_WEBGL=37447]="MAX_CLIENT_WAIT_TIMEOUT_WEBGL",E[E.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE=35070]="VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE",E[E.UNMASKED_VENDOR_WEBGL=37445]="UNMASKED_VENDOR_WEBGL",E[E.UNMASKED_RENDERER_WEBGL=37446]="UNMASKED_RENDERER_WEBGL",E[E.MAX_TEXTURE_MAX_ANISOTROPY_EXT=34047]="MAX_TEXTURE_MAX_ANISOTROPY_EXT",E[E.TEXTURE_MAX_ANISOTROPY_EXT=34046]="TEXTURE_MAX_ANISOTROPY_EXT",E[E.SRGB_EXT=35904]="SRGB_EXT",E[E.SRGB_ALPHA_EXT=35906]="SRGB_ALPHA_EXT",E[E.SRGB8_ALPHA8_EXT=35907]="SRGB8_ALPHA8_EXT",E[E.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT=33296]="FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT",E[E.R16_EXT=33322]="R16_EXT",E[E.RG16_EXT=33324]="RG16_EXT",E[E.RGB16_EXT=32852]="RGB16_EXT",E[E.RGBA16_EXT=32859]="RGBA16_EXT",E[E.R16_SNORM_EXT=36760]="R16_SNORM_EXT",E[E.RG16_SNORM_EXT=36761]="RG16_SNORM_EXT",E[E.RGB16_SNORM_EXT=36762]="RGB16_SNORM_EXT",E[E.RGBA16_SNORM_EXT=36763]="RGBA16_SNORM_EXT",E[E.COMPRESSED_RGB_S3TC_DXT1_EXT=33776]="COMPRESSED_RGB_S3TC_DXT1_EXT",E[E.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777]="COMPRESSED_RGBA_S3TC_DXT1_EXT",E[E.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778]="COMPRESSED_RGBA_S3TC_DXT3_EXT",E[E.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779]="COMPRESSED_RGBA_S3TC_DXT5_EXT",E[E.COMPRESSED_SRGB_S3TC_DXT1_EXT=35916]="COMPRESSED_SRGB_S3TC_DXT1_EXT",E[E.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT=35917]="COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT",E[E.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT=35918]="COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT",E[E.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT=35919]="COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT",E[E.COMPRESSED_RED_RGTC1_EXT=36283]="COMPRESSED_RED_RGTC1_EXT",E[E.COMPRESSED_SIGNED_RED_RGTC1_EXT=36284]="COMPRESSED_SIGNED_RED_RGTC1_EXT",E[E.COMPRESSED_RED_GREEN_RGTC2_EXT=36285]="COMPRESSED_RED_GREEN_RGTC2_EXT",E[E.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT=36286]="COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT",E[E.COMPRESSED_RGBA_BPTC_UNORM_EXT=36492]="COMPRESSED_RGBA_BPTC_UNORM_EXT",E[E.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT=36493]="COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT",E[E.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT=36494]="COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT",E[E.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT=36495]="COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT",E[E.COMPRESSED_R11_EAC=37488]="COMPRESSED_R11_EAC",E[E.COMPRESSED_SIGNED_R11_EAC=37489]="COMPRESSED_SIGNED_R11_EAC",E[E.COMPRESSED_RG11_EAC=37490]="COMPRESSED_RG11_EAC",E[E.COMPRESSED_SIGNED_RG11_EAC=37491]="COMPRESSED_SIGNED_RG11_EAC",E[E.COMPRESSED_RGB8_ETC2=37492]="COMPRESSED_RGB8_ETC2",E[E.COMPRESSED_RGBA8_ETC2_EAC=37493]="COMPRESSED_RGBA8_ETC2_EAC",E[E.COMPRESSED_SRGB8_ETC2=37494]="COMPRESSED_SRGB8_ETC2",E[E.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC=37495]="COMPRESSED_SRGB8_ALPHA8_ETC2_EAC",E[E.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2=37496]="COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2",E[E.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2=37497]="COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2",E[E.COMPRESSED_RGB_PVRTC_4BPPV1_IMG=35840]="COMPRESSED_RGB_PVRTC_4BPPV1_IMG",E[E.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG=35842]="COMPRESSED_RGBA_PVRTC_4BPPV1_IMG",E[E.COMPRESSED_RGB_PVRTC_2BPPV1_IMG=35841]="COMPRESSED_RGB_PVRTC_2BPPV1_IMG",E[E.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG=35843]="COMPRESSED_RGBA_PVRTC_2BPPV1_IMG",E[E.COMPRESSED_RGB_ETC1_WEBGL=36196]="COMPRESSED_RGB_ETC1_WEBGL",E[E.COMPRESSED_RGB_ATC_WEBGL=35986]="COMPRESSED_RGB_ATC_WEBGL",E[E.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL=35986]="COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL",E[E.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL=34798]="COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL",E[E.COMPRESSED_RGBA_ASTC_4x4_KHR=37808]="COMPRESSED_RGBA_ASTC_4x4_KHR",E[E.COMPRESSED_RGBA_ASTC_5x4_KHR=37809]="COMPRESSED_RGBA_ASTC_5x4_KHR",E[E.COMPRESSED_RGBA_ASTC_5x5_KHR=37810]="COMPRESSED_RGBA_ASTC_5x5_KHR",E[E.COMPRESSED_RGBA_ASTC_6x5_KHR=37811]="COMPRESSED_RGBA_ASTC_6x5_KHR",E[E.COMPRESSED_RGBA_ASTC_6x6_KHR=37812]="COMPRESSED_RGBA_ASTC_6x6_KHR",E[E.COMPRESSED_RGBA_ASTC_8x5_KHR=37813]="COMPRESSED_RGBA_ASTC_8x5_KHR",E[E.COMPRESSED_RGBA_ASTC_8x6_KHR=37814]="COMPRESSED_RGBA_ASTC_8x6_KHR",E[E.COMPRESSED_RGBA_ASTC_8x8_KHR=37815]="COMPRESSED_RGBA_ASTC_8x8_KHR",E[E.COMPRESSED_RGBA_ASTC_10x5_KHR=37816]="COMPRESSED_RGBA_ASTC_10x5_KHR",E[E.COMPRESSED_RGBA_ASTC_10x6_KHR=37817]="COMPRESSED_RGBA_ASTC_10x6_KHR",E[E.COMPRESSED_RGBA_ASTC_10x8_KHR=37818]="COMPRESSED_RGBA_ASTC_10x8_KHR",E[E.COMPRESSED_RGBA_ASTC_10x10_KHR=37819]="COMPRESSED_RGBA_ASTC_10x10_KHR",E[E.COMPRESSED_RGBA_ASTC_12x10_KHR=37820]="COMPRESSED_RGBA_ASTC_12x10_KHR",E[E.COMPRESSED_RGBA_ASTC_12x12_KHR=37821]="COMPRESSED_RGBA_ASTC_12x12_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR=37840]="COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR=37841]="COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR=37842]="COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR=37843]="COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR=37844]="COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR=37845]="COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR=37846]="COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR=37847]="COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR=37848]="COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR=37849]="COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR=37850]="COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR=37851]="COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR=37852]="COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR",E[E.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR=37853]="COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR",E[E.UNSIGNED_INT_24_8_WEBGL=34042]="UNSIGNED_INT_24_8_WEBGL",E[E.HALF_FLOAT_OES=36193]="HALF_FLOAT_OES",E[E.RGBA32F_EXT=34836]="RGBA32F_EXT",E[E.RGB32F_EXT=34837]="RGB32F_EXT",E[E.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT=33297]="FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT",E[E.UNSIGNED_NORMALIZED_EXT=35863]="UNSIGNED_NORMALIZED_EXT",E[E.MIN_EXT=32775]="MIN_EXT",E[E.MAX_EXT=32776]="MAX_EXT",E[E.FRAGMENT_SHADER_DERIVATIVE_HINT_OES=35723]="FRAGMENT_SHADER_DERIVATIVE_HINT_OES",E[E.COLOR_ATTACHMENT0_WEBGL=36064]="COLOR_ATTACHMENT0_WEBGL",E[E.COLOR_ATTACHMENT1_WEBGL=36065]="COLOR_ATTACHMENT1_WEBGL",E[E.COLOR_ATTACHMENT2_WEBGL=36066]="COLOR_ATTACHMENT2_WEBGL",E[E.COLOR_ATTACHMENT3_WEBGL=36067]="COLOR_ATTACHMENT3_WEBGL",E[E.COLOR_ATTACHMENT4_WEBGL=36068]="COLOR_ATTACHMENT4_WEBGL",E[E.COLOR_ATTACHMENT5_WEBGL=36069]="COLOR_ATTACHMENT5_WEBGL",E[E.COLOR_ATTACHMENT6_WEBGL=36070]="COLOR_ATTACHMENT6_WEBGL",E[E.COLOR_ATTACHMENT7_WEBGL=36071]="COLOR_ATTACHMENT7_WEBGL",E[E.COLOR_ATTACHMENT8_WEBGL=36072]="COLOR_ATTACHMENT8_WEBGL",E[E.COLOR_ATTACHMENT9_WEBGL=36073]="COLOR_ATTACHMENT9_WEBGL",E[E.COLOR_ATTACHMENT10_WEBGL=36074]="COLOR_ATTACHMENT10_WEBGL",E[E.COLOR_ATTACHMENT11_WEBGL=36075]="COLOR_ATTACHMENT11_WEBGL",E[E.COLOR_ATTACHMENT12_WEBGL=36076]="COLOR_ATTACHMENT12_WEBGL",E[E.COLOR_ATTACHMENT13_WEBGL=36077]="COLOR_ATTACHMENT13_WEBGL",E[E.COLOR_ATTACHMENT14_WEBGL=36078]="COLOR_ATTACHMENT14_WEBGL",E[E.COLOR_ATTACHMENT15_WEBGL=36079]="COLOR_ATTACHMENT15_WEBGL",E[E.DRAW_BUFFER0_WEBGL=34853]="DRAW_BUFFER0_WEBGL",E[E.DRAW_BUFFER1_WEBGL=34854]="DRAW_BUFFER1_WEBGL",E[E.DRAW_BUFFER2_WEBGL=34855]="DRAW_BUFFER2_WEBGL",E[E.DRAW_BUFFER3_WEBGL=34856]="DRAW_BUFFER3_WEBGL",E[E.DRAW_BUFFER4_WEBGL=34857]="DRAW_BUFFER4_WEBGL",E[E.DRAW_BUFFER5_WEBGL=34858]="DRAW_BUFFER5_WEBGL",E[E.DRAW_BUFFER6_WEBGL=34859]="DRAW_BUFFER6_WEBGL",E[E.DRAW_BUFFER7_WEBGL=34860]="DRAW_BUFFER7_WEBGL",E[E.DRAW_BUFFER8_WEBGL=34861]="DRAW_BUFFER8_WEBGL",E[E.DRAW_BUFFER9_WEBGL=34862]="DRAW_BUFFER9_WEBGL",E[E.DRAW_BUFFER10_WEBGL=34863]="DRAW_BUFFER10_WEBGL",E[E.DRAW_BUFFER11_WEBGL=34864]="DRAW_BUFFER11_WEBGL",E[E.DRAW_BUFFER12_WEBGL=34865]="DRAW_BUFFER12_WEBGL",E[E.DRAW_BUFFER13_WEBGL=34866]="DRAW_BUFFER13_WEBGL",E[E.DRAW_BUFFER14_WEBGL=34867]="DRAW_BUFFER14_WEBGL",E[E.DRAW_BUFFER15_WEBGL=34868]="DRAW_BUFFER15_WEBGL",E[E.MAX_COLOR_ATTACHMENTS_WEBGL=36063]="MAX_COLOR_ATTACHMENTS_WEBGL",E[E.MAX_DRAW_BUFFERS_WEBGL=34852]="MAX_DRAW_BUFFERS_WEBGL",E[E.VERTEX_ARRAY_BINDING_OES=34229]="VERTEX_ARRAY_BINDING_OES",E[E.QUERY_COUNTER_BITS_EXT=34916]="QUERY_COUNTER_BITS_EXT",E[E.CURRENT_QUERY_EXT=34917]="CURRENT_QUERY_EXT",E[E.QUERY_RESULT_EXT=34918]="QUERY_RESULT_EXT",E[E.QUERY_RESULT_AVAILABLE_EXT=34919]="QUERY_RESULT_AVAILABLE_EXT",E[E.TIME_ELAPSED_EXT=35007]="TIME_ELAPSED_EXT",E[E.TIMESTAMP_EXT=36392]="TIMESTAMP_EXT",E[E.GPU_DISJOINT_EXT=36795]="GPU_DISJOINT_EXT",E}({});return B(D);})();
return __exports__;
});
/**
* Standard WebGL and WebGL2 constants
* These constants are also defined on the WebGLRenderingContext interface.
* Standard WebGL, WebGL2 and extension constants (OpenGL constants)
* @note (Most) of these constants are also defined on the WebGLRenderingContext interface.
* @see https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants
*/
export declare enum GL {
/** Passed to clear to clear the current depth buffer. */
DEPTH_BUFFER_BIT = 256,
/** Passed to clear to clear the current stencil buffer. */
STENCIL_BUFFER_BIT = 1024,
/** Passed to clear to clear the current color buffer. */
COLOR_BUFFER_BIT = 16384,
/** Passed to drawElements or drawArrays to draw single points. */
POINTS = 0,
/** Passed to drawElements or drawArrays to draw lines. Each vertex connects to the one after it. */
LINES = 1,
/** Passed to drawElements or drawArrays to draw lines. Each set of two vertices is treated as a separate line segment. */
LINE_LOOP = 2,
/** Passed to drawElements or drawArrays to draw a connected group of line segments from the first vertex to the last. */
LINE_STRIP = 3,
/** Passed to drawElements or drawArrays to draw triangles. Each set of three vertices creates a separate triangle. */
TRIANGLES = 4,
/** Passed to drawElements or drawArrays to draw a connected group of triangles. */
TRIANGLE_STRIP = 5,
/** Passed to drawElements or drawArrays to draw a connected group of triangles. Each vertex connects to the previous and the first vertex in the fan. */
TRIANGLE_FAN = 6,
/** Passed to blendFunc or blendFuncSeparate to turn off a component. */
ZERO = 0,
/** Passed to blendFunc or blendFuncSeparate to turn on a component. */
ONE = 1,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the source elements color. */
SRC_COLOR = 768,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the source elements color. */
ONE_MINUS_SRC_COLOR = 769,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the source's alpha. */
SRC_ALPHA = 770,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the source's alpha. */
ONE_MINUS_SRC_ALPHA = 771,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the destination's alpha. */
DST_ALPHA = 772,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the destination's alpha. */
ONE_MINUS_DST_ALPHA = 773,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the destination's color. */
DST_COLOR = 774,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the destination's color. */
ONE_MINUS_DST_COLOR = 775,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the minimum of source's alpha or one minus the destination's alpha. */
SRC_ALPHA_SATURATE = 776,
/** Passed to blendFunc or blendFuncSeparate to specify a constant color blend function. */
CONSTANT_COLOR = 32769,
/** Passed to blendFunc or blendFuncSeparate to specify one minus a constant color blend function. */
ONE_MINUS_CONSTANT_COLOR = 32770,
/** Passed to blendFunc or blendFuncSeparate to specify a constant alpha blend function. */
CONSTANT_ALPHA = 32771,
/** Passed to blendFunc or blendFuncSeparate to specify one minus a constant alpha blend function. */
ONE_MINUS_CONSTANT_ALPHA = 32772,
/** Passed to blendEquation or blendEquationSeparate to set an addition blend function. */
/** Passed to blendEquation or blendEquationSeparate to specify a subtraction blend function (source - destination). */
/** Passed to blendEquation or blendEquationSeparate to specify a reverse subtraction blend function (destination - source). */
FUNC_ADD = 32774,
FUNC_SUBTRACT = 32778,
FUNC_REVERSE_SUBTRACT = 32779,
/** Passed to getParameter to get the current RGB blend function. */
BLEND_EQUATION = 32777,
/** Passed to getParameter to get the current RGB blend function. Same as BLEND_EQUATION */
BLEND_EQUATION_RGB = 32777,
/** Passed to getParameter to get the current alpha blend function. Same as BLEND_EQUATION */
BLEND_EQUATION_ALPHA = 34877,
/** Passed to getParameter to get the current destination RGB blend function. */
BLEND_DST_RGB = 32968,
/** Passed to getParameter to get the current destination RGB blend function. */
BLEND_SRC_RGB = 32969,
/** Passed to getParameter to get the current destination alpha blend function. */
BLEND_DST_ALPHA = 32970,
/** Passed to getParameter to get the current source alpha blend function. */
BLEND_SRC_ALPHA = 32971,
/** Passed to getParameter to return a the current blend color. */
BLEND_COLOR = 32773,
/** Passed to getParameter to get the array buffer binding. */
ARRAY_BUFFER_BINDING = 34964,
/** Passed to getParameter to get the current element array buffer. */
ELEMENT_ARRAY_BUFFER_BINDING = 34965,
/** Passed to getParameter to get the current lineWidth (set by the lineWidth method). */
LINE_WIDTH = 2849,
/** Passed to getParameter to get the current size of a point drawn with gl.POINTS */
ALIASED_POINT_SIZE_RANGE = 33901,
/** Passed to getParameter to get the range of available widths for a line. Returns a length-2 array with the lo value at 0, and hight at 1. */
ALIASED_LINE_WIDTH_RANGE = 33902,
/** Passed to getParameter to get the current value of cullFace. Should return FRONT, BACK, or FRONT_AND_BACK */
CULL_FACE_MODE = 2885,
/** Passed to getParameter to determine the current value of frontFace. Should return CW or CCW. */
FRONT_FACE = 2886,
/** Passed to getParameter to return a length-2 array of floats giving the current depth range. */
DEPTH_RANGE = 2928,
/** Passed to getParameter to determine if the depth write mask is enabled. */
DEPTH_WRITEMASK = 2930,
/** Passed to getParameter to determine the current depth clear value. */
DEPTH_CLEAR_VALUE = 2931,
/** Passed to getParameter to get the current depth function. Returns NEVER, ALWAYS, LESS, EQUAL, LEQUAL, GREATER, GEQUAL, or NOTEQUAL. */
DEPTH_FUNC = 2932,
/** Passed to getParameter to get the value the stencil will be cleared to. */
STENCIL_CLEAR_VALUE = 2961,
/** Passed to getParameter to get the current stencil function. Returns NEVER, ALWAYS, LESS, EQUAL, LEQUAL, GREATER, GEQUAL, or NOTEQUAL. */
STENCIL_FUNC = 2962,
/** Passed to getParameter to get the current stencil fail function. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP. */
STENCIL_FAIL = 2964,
/** Passed to getParameter to get the current stencil fail function should the depth buffer test fail. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP. */
STENCIL_PASS_DEPTH_FAIL = 2965,
/** Passed to getParameter to get the current stencil fail function should the depth buffer test pass. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP. */
STENCIL_PASS_DEPTH_PASS = 2966,
/** Passed to getParameter to get the reference value used for stencil tests. */
STENCIL_REF = 2967,

@@ -68,3 +122,5 @@ STENCIL_VALUE_MASK = 2963,

STENCIL_BACK_WRITEMASK = 36005,
/** An Int32Array with four elements for the current viewport dimensions. */
VIEWPORT = 2978,
/** An Int32Array with four elements for the current scissor box dimensions. */
SCISSOR_BOX = 3088,

@@ -98,9 +154,17 @@ COLOR_CLEAR_VALUE = 3106,

BROWSER_DEFAULT_WEBGL = 37444,
/** Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and not change often. */
STATIC_DRAW = 35044,
/** Passed to bufferData as a hint about whether the contents of the buffer are likely to not be used often. */
STREAM_DRAW = 35040,
/** Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and change often. */
DYNAMIC_DRAW = 35048,
/** Passed to bindBuffer or bufferData to specify the type of buffer being used. */
ARRAY_BUFFER = 34962,
/** Passed to bindBuffer or bufferData to specify the type of buffer being used. */
ELEMENT_ARRAY_BUFFER = 34963,
/** Passed to getBufferParameter to get a buffer's size. */
BUFFER_SIZE = 34660,
/** Passed to getBufferParameter to get the hint for the buffer passed in when it was created. */
BUFFER_USAGE = 34661,
/** Passed to getVertexAttrib to read back the current vertex attribute. */
CURRENT_VERTEX_ATTRIB = 34342,

@@ -114,25 +178,49 @@ VERTEX_ATTRIB_ARRAY_ENABLED = 34338,

VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 34975,
/** Passed to enable/disable to turn on/off culling. Can also be used with getParameter to find the current culling method. */
CULL_FACE = 2884,
/** Passed to cullFace to specify that only front faces should be culled. */
FRONT = 1028,
/** Passed to cullFace to specify that only back faces should be culled. */
BACK = 1029,
/** Passed to cullFace to specify that front and back faces should be culled. */
FRONT_AND_BACK = 1032,
/** Passed to enable/disable to turn on/off blending. Can also be used with getParameter to find the current blending method. */
BLEND = 3042,
/** Passed to enable/disable to turn on/off the depth test. Can also be used with getParameter to query the depth test. */
DEPTH_TEST = 2929,
/** Passed to enable/disable to turn on/off dithering. Can also be used with getParameter to find the current dithering method. */
DITHER = 3024,
/** Passed to enable/disable to turn on/off the polygon offset. Useful for rendering hidden-line images, decals, and or solids with highlighted edges. Can also be used with getParameter to query the scissor test. */
POLYGON_OFFSET_FILL = 32823,
/** Passed to enable/disable to turn on/off the alpha to coverage. Used in multi-sampling alpha channels. */
SAMPLE_ALPHA_TO_COVERAGE = 32926,
/** Passed to enable/disable to turn on/off the sample coverage. Used in multi-sampling. */
SAMPLE_COVERAGE = 32928,
/** Passed to enable/disable to turn on/off the scissor test. Can also be used with getParameter to query the scissor test. */
SCISSOR_TEST = 3089,
/** Passed to enable/disable to turn on/off the stencil test. Can also be used with getParameter to query the stencil test. */
STENCIL_TEST = 2960,
/** Returned from getError(). */
NO_ERROR = 0,
/** Returned from getError(). */
INVALID_ENUM = 1280,
/** Returned from getError(). */
INVALID_VALUE = 1281,
/** Returned from getError(). */
INVALID_OPERATION = 1282,
/** Returned from getError(). */
OUT_OF_MEMORY = 1285,
/** Returned from getError(). */
CONTEXT_LOST_WEBGL = 37442,
/** Passed to frontFace to specify the front face of a polygon is drawn in the clockwise direction */
CW = 2304,
/** Passed to frontFace to specify the front face of a polygon is drawn in the counter clockwise direction */
CCW = 2305,
/** There is no preference for this behavior. */
DONT_CARE = 4352,
/** The most efficient behavior should be used. */
FASTEST = 4353,
/** The most correct or the highest quality option should be used. */
NICEST = 4354,
/** Hint for the quality of filtering when generating mipmap images with WebGLRenderingContext.generateMipmap(). */
GENERATE_MIPMAP_HINT = 33170,

@@ -156,11 +244,21 @@ BYTE = 5120,

UNSIGNED_SHORT_5_6_5 = 33635,
/** Passed to createShader to define a fragment shader. */
FRAGMENT_SHADER = 35632,
/** Passed to createShader to define a vertex shader */
VERTEX_SHADER = 35633,
/** Passed to getShaderParameter to get the status of the compilation. Returns false if the shader was not compiled. You can then query getShaderInfoLog to find the exact error */
COMPILE_STATUS = 35713,
/** Passed to getShaderParameter to determine if a shader was deleted via deleteShader. Returns true if it was, false otherwise. */
DELETE_STATUS = 35712,
/** Passed to getProgramParameter after calling linkProgram to determine if a program was linked correctly. Returns false if there were errors. Use getProgramInfoLog to find the exact error. */
LINK_STATUS = 35714,
/** Passed to getProgramParameter after calling validateProgram to determine if it is valid. Returns false if errors were found. */
VALIDATE_STATUS = 35715,
/** Passed to getProgramParameter after calling attachShader to determine if the shader was attached correctly. Returns false if errors occurred. */
ATTACHED_SHADERS = 35717,
/** Passed to getProgramParameter to get the number of attributes active in a program. */
ACTIVE_ATTRIBUTES = 35721,
/** Passed to getProgramParameter to get the number of uniforms active in a program. */
ACTIVE_UNIFORMS = 35718,
/** The maximum number of entries possible in the vertex attribute list. */
MAX_VERTEX_ATTRIBS = 34921,

@@ -171,2 +269,3 @@ MAX_VERTEX_UNIFORM_VECTORS = 36347,

MAX_VERTEX_TEXTURE_IMAGE_UNITS = 35660,
/** Implementation dependent number of maximum texture units. At least 8. */
MAX_TEXTURE_IMAGE_UNITS = 34930,

@@ -177,10 +276,18 @@ MAX_FRAGMENT_UNIFORM_VECTORS = 36349,

CURRENT_PROGRAM = 35725,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will never pass, i.e., nothing will be drawn. */
NEVER = 512,
ALWAYS = 519,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than the stored value. */
LESS = 513,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is equals to the stored value. */
EQUAL = 514,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than or equal to the stored value. */
LEQUAL = 515,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than the stored value. */
GREATER = 516,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is not equal to the stored value. */
NOTEQUAL = 517,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than or equal to the stored value. */
GEQUAL = 518,
NOTEQUAL = 517,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will always pass, i.e., pixels will be drawn in the order they are drawn. */
ALWAYS = 519,
KEEP = 7680,

@@ -199,5 +306,9 @@ REPLACE = 7681,

LINEAR_MIPMAP_LINEAR = 9987,
/** The texture magnification function is used when the pixel being textured maps to an area less than or equal to one texture element. It sets the texture magnification function to either GL_NEAREST or GL_LINEAR (see below). GL_NEAREST is generally faster than GL_LINEAR, but it can produce textured images with sharper edges because the transition between texture elements is not as smooth. Default: GL_LINEAR. */
TEXTURE_MAG_FILTER = 10240,
/** The texture minifying function is used whenever the pixel being textured maps to an area greater than one texture element. There are six defined minifying functions. Two of them use the nearest one or nearest four texture elements to compute the texture value. The other four use mipmaps. Default: GL_NEAREST_MIPMAP_LINEAR */
TEXTURE_MIN_FILTER = 10241,
/** Sets the wrap parameter for texture coordinate to either GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or GL_REPEAT. G */
TEXTURE_WRAP_S = 10242,
/** Sets the wrap parameter for texture coordinate to either GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or GL_REPEAT. G */
TEXTURE_WRAP_T = 10243,

@@ -316,2 +427,3 @@ TEXTURE_2D = 3553,

TEXTURE_3D = 32879,
/** Sets the wrap parameter for texture coordinate to either GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or GL_REPEAT. G */
TEXTURE_WRAP_R = 32882,

@@ -546,10 +658,19 @@ TEXTURE_MIN_LOD = 33082,

MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 37447,
/** Describes the frequency divisor used for instanced rendering. */
VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 35070,
/** Passed to getParameter to get the vendor string of the graphics driver. */
UNMASKED_VENDOR_WEBGL = 37445,
/** Passed to getParameter to get the renderer string of the graphics driver. */
UNMASKED_RENDERER_WEBGL = 37446,
/** Returns the maximum available anisotropy. */
MAX_TEXTURE_MAX_ANISOTROPY_EXT = 34047,
/** Passed to texParameter to set the desired maximum anisotropy for a texture. */
TEXTURE_MAX_ANISOTROPY_EXT = 34046,
/** Unsized sRGB format that leaves the precision up to the driver. */
SRGB_EXT = 35904,
/** Unsized sRGB format with unsized alpha component. */
SRGB_ALPHA_EXT = 35906,
/** Sized (8-bit) sRGB and alpha formats. */
SRGB8_ALPHA8_EXT = 35907,
/** Returns the framebuffer color encoding. */
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 33296,

@@ -564,5 +685,9 @@ R16_EXT = 33322,

RGBA16_SNORM_EXT = 36763,
/** A DXT1-compressed image in an RGB image format. */
COMPRESSED_RGB_S3TC_DXT1_EXT = 33776,
/** A DXT1-compressed image in an RGB image format with a simple on/off alpha value. */
COMPRESSED_RGBA_S3TC_DXT1_EXT = 33777,
/** A DXT3-compressed image in an RGBA image format. Compared to a 32-bit RGBA texture, it offers 4:1 compression. */
COMPRESSED_RGBA_S3TC_DXT3_EXT = 33778,
/** A DXT5-compressed image in an RGBA image format. It also provides a 4:1 compression, but differs to the DXT3 compression in how the alpha compression is done. */
COMPRESSED_RGBA_S3TC_DXT5_EXT = 33779,

@@ -581,16 +706,31 @@ COMPRESSED_SRGB_S3TC_DXT1_EXT = 35916,

COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT = 36495,
/** One-channel (red) unsigned format compression. */
COMPRESSED_R11_EAC = 37488,
/** One-channel (red) signed format compression. */
COMPRESSED_SIGNED_R11_EAC = 37489,
/** Two-channel (red and green) unsigned format compression. */
COMPRESSED_RG11_EAC = 37490,
/** Two-channel (red and green) signed format compression. */
COMPRESSED_SIGNED_RG11_EAC = 37491,
/** Compresses RGB8 data with no alpha channel. */
COMPRESSED_RGB8_ETC2 = 37492,
/** Compresses RGBA8 data. The RGB part is encoded the same as RGB_ETC2, but the alpha part is encoded separately. */
COMPRESSED_RGBA8_ETC2_EAC = 37493,
/** Compresses sRGB8 data with no alpha channel. */
COMPRESSED_SRGB8_ETC2 = 37494,
/** Compresses sRGBA8 data. The sRGB part is encoded the same as SRGB_ETC2, but the alpha part is encoded separately. */
COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 37495,
/** Similar to RGB8_ETC, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent. */
COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 37496,
/** Similar to SRGB8_ETC, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent. */
COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 37497,
/** RGB compression in 4-bit mode. One block for each 4×4 pixels. */
COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 35840,
/** RGBA compression in 4-bit mode. One block for each 4×4 pixels. */
COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 35842,
/** RGB compression in 2-bit mode. One block for each 8×4 pixels. */
COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 35841,
/** RGBA compression in 2-bit mode. One block for each 8×4 pixels. */
COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 35843,
/** Compresses 24-bit RGB data with no alpha channel. */
COMPRESSED_RGB_ETC1_WEBGL = 36196,

@@ -628,10 +768,17 @@ COMPRESSED_RGB_ATC_WEBGL = 35986,

COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 37853,
/** Unsigned integer type for 24-bit depth texture data. */
UNSIGNED_INT_24_8_WEBGL = 34042,
/** Half floating-point type (16-bit). */
HALF_FLOAT_OES = 36193,
/** RGBA 32-bit floating-point color-renderable format. */
RGBA32F_EXT = 34836,
/** RGB 32-bit floating-point color-renderable format. */
RGB32F_EXT = 34837,
FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 33297,
UNSIGNED_NORMALIZED_EXT = 35863,
/** Produces the minimum color components of the source and destination colors. */
MIN_EXT = 32775,
/** Produces the maximum color components of the source and destination colors. */
MAX_EXT = 32776,
/** Indicates the accuracy of the derivative calculation for the GLSL built-in functions: dFdx, dFdy, and fwidth */
FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 35723,

@@ -670,13 +817,23 @@ COLOR_ATTACHMENT0_WEBGL = 36064,

DRAW_BUFFER15_WEBGL = 34868,
/** Maximum number of framebuffer color attachment points */
MAX_COLOR_ATTACHMENTS_WEBGL = 36063,
/** Maximum number of draw buffers */
MAX_DRAW_BUFFERS_WEBGL = 34852,
/** The bound vertex array object (VAO). */
VERTEX_ARRAY_BINDING_OES = 34229,
/** The number of bits used to hold the query result for the given target. */
QUERY_COUNTER_BITS_EXT = 34916,
/** The currently active query. */
CURRENT_QUERY_EXT = 34917,
/** The query result. */
QUERY_RESULT_EXT = 34918,
/** A Boolean indicating whether or not a query result is available. */
QUERY_RESULT_AVAILABLE_EXT = 34919,
/** Elapsed time (in nanoseconds). */
TIME_ELAPSED_EXT = 35007,
/** The current time. */
TIMESTAMP_EXT = 36392,
/** A Boolean indicating whether or not the GPU performed any disjoint operation. */
GPU_DISJOINT_EXT = 36795
}
//# sourceMappingURL=constants-enum.d.ts.map

@@ -169,3 +169,2 @@ export let GL = function (GL) {

GL[GL["NEVER"] = 512] = "NEVER";
GL[GL["ALWAYS"] = 519] = "ALWAYS";
GL[GL["LESS"] = 513] = "LESS";

@@ -175,4 +174,5 @@ GL[GL["EQUAL"] = 514] = "EQUAL";

GL[GL["GREATER"] = 516] = "GREATER";
GL[GL["NOTEQUAL"] = 517] = "NOTEQUAL";
GL[GL["GEQUAL"] = 518] = "GEQUAL";
GL[GL["NOTEQUAL"] = 517] = "NOTEQUAL";
GL[GL["ALWAYS"] = 519] = "ALWAYS";
GL[GL["KEEP"] = 7680] = "KEEP";

@@ -179,0 +179,0 @@ GL[GL["REPLACE"] = 7681] = "REPLACE";

@@ -202,3 +202,2 @@ (function webpackUniversalModuleDefinition(root, factory) {

GL2[GL2["NEVER"] = 512] = "NEVER";
GL2[GL2["ALWAYS"] = 519] = "ALWAYS";
GL2[GL2["LESS"] = 513] = "LESS";

@@ -208,4 +207,5 @@ GL2[GL2["EQUAL"] = 514] = "EQUAL";

GL2[GL2["GREATER"] = 516] = "GREATER";
GL2[GL2["NOTEQUAL"] = 517] = "NOTEQUAL";
GL2[GL2["GEQUAL"] = 518] = "GEQUAL";
GL2[GL2["NOTEQUAL"] = 517] = "NOTEQUAL";
GL2[GL2["ALWAYS"] = 519] = "ALWAYS";
GL2[GL2["KEEP"] = 7680] = "KEEP";

@@ -212,0 +212,0 @@ GL2[GL2["REPLACE"] = 7681] = "REPLACE";

@@ -1,2 +0,3 @@

export { GL as default } from './constants-enum';
export { GL, GL as default } from './constants-enum';
export type { GLDrawMode, GLPrimitive, GLDataType, GLPixelType, GLUniformType, GLSamplerType, GLCompositeType, GLFunction, GLBlendEquation, GLBlendFunction, GLStencilOp, GLSamplerParameters, GLValueParameters, GLFunctionParameters, GLParameters } from './webgl-types';
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,2 @@

export { GL as default } from "./constants-enum.js";
export { GL, GL as default } from "./constants-enum.js";
//# sourceMappingURL=index.js.map
{
"name": "@luma.gl/constants",
"version": "9.0.0-alpha.21",
"version": "9.0.0-alpha.23",
"description": "WebGL and WebGL2 constants",

@@ -41,3 +41,3 @@ "type": "module",

},
"gitHead": "7ee95470a6a2f62753201beb0c36b00e37c70455"
"gitHead": "5e4a30497333bea4be8f2b3f3db33c0b67931b9c"
}
/* eslint-disable key-spacing, max-len, no-inline-comments, camelcase */
/**
* Standard WebGL and WebGL2 constants
* These constants are also defined on the WebGLRenderingContext interface.
* Standard WebGL, WebGL2 and extension constants (OpenGL constants)
* @note (Most) of these constants are also defined on the WebGLRenderingContext interface.
* @see https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants
*/

@@ -11,4 +12,7 @@ export enum GL {

/** Passed to clear to clear the current depth buffer. */
DEPTH_BUFFER_BIT = 0x00000100,
/** Passed to clear to clear the current stencil buffer. */
STENCIL_BUFFER_BIT = 0x00000400,
/** Passed to clear to clear the current color buffer. */
COLOR_BUFFER_BIT = 0x00004000,

@@ -19,8 +23,15 @@

/** Passed to drawElements or drawArrays to draw single points. */
POINTS = 0x0000,
/** Passed to drawElements or drawArrays to draw lines. Each vertex connects to the one after it. */
LINES = 0x0001,
/** Passed to drawElements or drawArrays to draw lines. Each set of two vertices is treated as a separate line segment. */
LINE_LOOP = 0x0002,
/** Passed to drawElements or drawArrays to draw a connected group of line segments from the first vertex to the last. */
LINE_STRIP = 0x0003,
/** Passed to drawElements or drawArrays to draw triangles. Each set of three vertices creates a separate triangle. */
TRIANGLES = 0x0004,
/** Passed to drawElements or drawArrays to draw a connected group of triangles. */
TRIANGLE_STRIP = 0x0005,
/** Passed to drawElements or drawArrays to draw a connected group of triangles. Each vertex connects to the previous and the first vertex in the fan. */
TRIANGLE_FAN = 0x0006,

@@ -30,17 +41,31 @@

// Constants passed to blendFunc() or blendFuncSeparate() to specify the blending mode (for both, RBG and alpha, or separately).
/** Passed to blendFunc or blendFuncSeparate to turn off a component. */
ZERO = 0,
/** Passed to blendFunc or blendFuncSeparate to turn on a component. */
ONE = 1,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the source elements color. */
SRC_COLOR = 0x0300,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the source elements color. */
ONE_MINUS_SRC_COLOR = 0x0301,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the source's alpha. */
SRC_ALPHA = 0x0302,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the source's alpha. */
ONE_MINUS_SRC_ALPHA = 0x0303,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the destination's alpha. */
DST_ALPHA = 0x0304,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the destination's alpha. */
ONE_MINUS_DST_ALPHA = 0x0305,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the destination's color. */
DST_COLOR = 0x0306,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by one minus the destination's color. */
ONE_MINUS_DST_COLOR = 0x0307,
/** Passed to blendFunc or blendFuncSeparate to multiply a component by the minimum of source's alpha or one minus the destination's alpha. */
SRC_ALPHA_SATURATE = 0x0308,
/** Passed to blendFunc or blendFuncSeparate to specify a constant color blend function. */
CONSTANT_COLOR = 0x8001,
/** Passed to blendFunc or blendFuncSeparate to specify one minus a constant color blend function. */
ONE_MINUS_CONSTANT_COLOR = 0x8002,
/** Passed to blendFunc or blendFuncSeparate to specify a constant alpha blend function. */
CONSTANT_ALPHA = 0x8003,
/** Passed to blendFunc or blendFuncSeparate to specify one minus a constant alpha blend function. */
ONE_MINUS_CONSTANT_ALPHA = 0x8004,

@@ -52,2 +77,5 @@

/** Passed to blendEquation or blendEquationSeparate to set an addition blend function. */
/** Passed to blendEquation or blendEquationSeparate to specify a subtraction blend function (source - destination). */
/** Passed to blendEquation or blendEquationSeparate to specify a reverse subtraction blend function (destination - source). */
FUNC_ADD = 0x8006,

@@ -60,26 +88,53 @@ FUNC_SUBTRACT = 0x800a,

/** Passed to getParameter to get the current RGB blend function. */
BLEND_EQUATION = 0x8009,
/** Passed to getParameter to get the current RGB blend function. Same as BLEND_EQUATION */
BLEND_EQUATION_RGB = 0x8009,
/** Passed to getParameter to get the current alpha blend function. Same as BLEND_EQUATION */
BLEND_EQUATION_ALPHA = 0x883d,
/** Passed to getParameter to get the current destination RGB blend function. */
BLEND_DST_RGB = 0x80c8,
/** Passed to getParameter to get the current destination RGB blend function. */
BLEND_SRC_RGB = 0x80c9,
/** Passed to getParameter to get the current destination alpha blend function. */
BLEND_DST_ALPHA = 0x80ca,
/** Passed to getParameter to get the current source alpha blend function. */
BLEND_SRC_ALPHA = 0x80cb,
/** Passed to getParameter to return a the current blend color. */
BLEND_COLOR = 0x8005,
/** Passed to getParameter to get the array buffer binding. */
ARRAY_BUFFER_BINDING = 0x8894,
/** Passed to getParameter to get the current element array buffer. */
ELEMENT_ARRAY_BUFFER_BINDING = 0x8895,
/** Passed to getParameter to get the current lineWidth (set by the lineWidth method). */
LINE_WIDTH = 0x0b21,
/** Passed to getParameter to get the current size of a point drawn with gl.POINTS */
ALIASED_POINT_SIZE_RANGE = 0x846d,
/** Passed to getParameter to get the range of available widths for a line. Returns a length-2 array with the lo value at 0, and hight at 1. */
ALIASED_LINE_WIDTH_RANGE = 0x846e,
/** Passed to getParameter to get the current value of cullFace. Should return FRONT, BACK, or FRONT_AND_BACK */
CULL_FACE_MODE = 0x0b45,
/** Passed to getParameter to determine the current value of frontFace. Should return CW or CCW. */
FRONT_FACE = 0x0b46,
/** Passed to getParameter to return a length-2 array of floats giving the current depth range. */
DEPTH_RANGE = 0x0b70,
/** Passed to getParameter to determine if the depth write mask is enabled. */
DEPTH_WRITEMASK = 0x0b72,
/** Passed to getParameter to determine the current depth clear value. */
DEPTH_CLEAR_VALUE = 0x0b73,
/** Passed to getParameter to get the current depth function. Returns NEVER, ALWAYS, LESS, EQUAL, LEQUAL, GREATER, GEQUAL, or NOTEQUAL. */
DEPTH_FUNC = 0x0b74,
/** Passed to getParameter to get the value the stencil will be cleared to. */
STENCIL_CLEAR_VALUE = 0x0b91,
/** Passed to getParameter to get the current stencil function. Returns NEVER, ALWAYS, LESS, EQUAL, LEQUAL, GREATER, GEQUAL, or NOTEQUAL. */
STENCIL_FUNC = 0x0b92,
/** Passed to getParameter to get the current stencil fail function. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP. */
STENCIL_FAIL = 0x0b94,
/** Passed to getParameter to get the current stencil fail function should the depth buffer test fail. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP. */
STENCIL_PASS_DEPTH_FAIL = 0x0b95,
/** Passed to getParameter to get the current stencil fail function should the depth buffer test pass. Should return KEEP, REPLACE, INCR, DECR, INVERT, INCR_WRAP, or DECR_WRAP. */
STENCIL_PASS_DEPTH_PASS = 0x0b96,
/** Passed to getParameter to get the reference value used for stencil tests. */
STENCIL_REF = 0x0b97,

@@ -95,3 +150,6 @@ STENCIL_VALUE_MASK = 0x0b93,

STENCIL_BACK_WRITEMASK = 0x8ca5,
/** An Int32Array with four elements for the current viewport dimensions. */
VIEWPORT = 0x0ba2,
/** An Int32Array with four elements for the current scissor box dimensions. */
SCISSOR_BOX = 0x0c10,

@@ -130,8 +188,15 @@ COLOR_CLEAR_VALUE = 0x0c22,

/** Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and not change often. */
STATIC_DRAW = 0x88e4,
/** Passed to bufferData as a hint about whether the contents of the buffer are likely to not be used often. */
STREAM_DRAW = 0x88e0,
/** Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and change often. */
DYNAMIC_DRAW = 0x88e8,
/** Passed to bindBuffer or bufferData to specify the type of buffer being used. */
ARRAY_BUFFER = 0x8892,
/** Passed to bindBuffer or bufferData to specify the type of buffer being used. */
ELEMENT_ARRAY_BUFFER = 0x8893,
/** Passed to getBufferParameter to get a buffer's size. */
BUFFER_SIZE = 0x8764,
/** Passed to getBufferParameter to get the hint for the buffer passed in when it was created. */
BUFFER_USAGE = 0x8765,

@@ -142,2 +207,3 @@

/** Passed to getVertexAttrib to read back the current vertex attribute. */
CURRENT_VERTEX_ATTRIB = 0x8626,

@@ -155,5 +221,9 @@ VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622,

/** Passed to enable/disable to turn on/off culling. Can also be used with getParameter to find the current culling method. */
CULL_FACE = 0x0b44,
/** Passed to cullFace to specify that only front faces should be culled. */
FRONT = 0x0404,
/** Passed to cullFace to specify that only back faces should be culled. */
BACK = 0x0405,
/** Passed to cullFace to specify that front and back faces should be culled. */
FRONT_AND_BACK = 0x0408,

@@ -164,9 +234,17 @@

/** Passed to enable/disable to turn on/off blending. Can also be used with getParameter to find the current blending method. */
BLEND = 0x0be2,
/** Passed to enable/disable to turn on/off the depth test. Can also be used with getParameter to query the depth test. */
DEPTH_TEST = 0x0b71,
/** Passed to enable/disable to turn on/off dithering. Can also be used with getParameter to find the current dithering method. */
DITHER = 0x0bd0,
/** Passed to enable/disable to turn on/off the polygon offset. Useful for rendering hidden-line images, decals, and or solids with highlighted edges. Can also be used with getParameter to query the scissor test. */
POLYGON_OFFSET_FILL = 0x8037,
/** Passed to enable/disable to turn on/off the alpha to coverage. Used in multi-sampling alpha channels. */
SAMPLE_ALPHA_TO_COVERAGE = 0x809e,
/** Passed to enable/disable to turn on/off the sample coverage. Used in multi-sampling. */
SAMPLE_COVERAGE = 0x80a0,
/** Passed to enable/disable to turn on/off the scissor test. Can also be used with getParameter to query the scissor test. */
SCISSOR_TEST = 0x0c11,
/** Passed to enable/disable to turn on/off the stencil test. Can also be used with getParameter to query the stencil test. */
STENCIL_TEST = 0x0b90,

@@ -177,7 +255,13 @@

/** Returned from getError(). */
NO_ERROR = 0,
/** Returned from getError(). */
INVALID_ENUM = 0x0500,
/** Returned from getError(). */
INVALID_VALUE = 0x0501,
/** Returned from getError(). */
INVALID_OPERATION = 0x0502,
/** Returned from getError(). */
OUT_OF_MEMORY = 0x0505,
/** Returned from getError(). */
CONTEXT_LOST_WEBGL = 0x9242,

@@ -188,3 +272,5 @@

/** Passed to frontFace to specify the front face of a polygon is drawn in the clockwise direction */
CW = 0x0900,
/** Passed to frontFace to specify the front face of a polygon is drawn in the counter clockwise direction */
CCW = 0x0901,

@@ -195,5 +281,9 @@

/** There is no preference for this behavior. */
DONT_CARE = 0x1100,
/** The most efficient behavior should be used. */
FASTEST = 0x1101,
/** The most correct or the highest quality option should be used. */
NICEST = 0x1102,
/** Hint for the quality of filtering when generating mipmap images with WebGLRenderingContext.generateMipmap(). */
GENERATE_MIPMAP_HINT = 0x8192,

@@ -231,11 +321,21 @@

/** Passed to createShader to define a fragment shader. */
FRAGMENT_SHADER = 0x8b30,
/** Passed to createShader to define a vertex shader */
VERTEX_SHADER = 0x8b31,
/** Passed to getShaderParameter to get the status of the compilation. Returns false if the shader was not compiled. You can then query getShaderInfoLog to find the exact error */
COMPILE_STATUS = 0x8b81,
/** Passed to getShaderParameter to determine if a shader was deleted via deleteShader. Returns true if it was, false otherwise. */
DELETE_STATUS = 0x8b80,
/** Passed to getProgramParameter after calling linkProgram to determine if a program was linked correctly. Returns false if there were errors. Use getProgramInfoLog to find the exact error. */
LINK_STATUS = 0x8b82,
/** Passed to getProgramParameter after calling validateProgram to determine if it is valid. Returns false if errors were found. */
VALIDATE_STATUS = 0x8b83,
/** Passed to getProgramParameter after calling attachShader to determine if the shader was attached correctly. Returns false if errors occurred. */
ATTACHED_SHADERS = 0x8b85,
/** Passed to getProgramParameter to get the number of attributes active in a program. */
ACTIVE_ATTRIBUTES = 0x8b89,
/** Passed to getProgramParameter to get the number of uniforms active in a program. */
ACTIVE_UNIFORMS = 0x8b86,
/** The maximum number of entries possible in the vertex attribute list. */
MAX_VERTEX_ATTRIBS = 0x8869,

@@ -246,2 +346,3 @@ MAX_VERTEX_UNIFORM_VECTORS = 0x8dfb,

MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8b4c,
/** Implementation dependent number of maximum texture units. At least 8. */
MAX_TEXTURE_IMAGE_UNITS = 0x8872,

@@ -256,10 +357,18 @@ MAX_FRAGMENT_UNIFORM_VECTORS = 0x8dfd,

/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will never pass, i.e., nothing will be drawn. */
NEVER = 0x0200,
ALWAYS = 0x0207,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than the stored value. */
LESS = 0x0201,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is equals to the stored value. */
EQUAL = 0x0202,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than or equal to the stored value. */
LEQUAL = 0x0203,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than the stored value. */
GREATER = 0x0204,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is not equal to the stored value. */
NOTEQUAL = 0x0205,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than or equal to the stored value. */
GEQUAL = 0x0206,
NOTEQUAL = 0x0205,
/** Passed to depthFunction or stencilFunction to specify depth or stencil tests will always pass, i.e., pixels will be drawn in the order they are drawn. */
ALWAYS = 0x0207,

@@ -287,5 +396,9 @@ // Stencil actions

LINEAR_MIPMAP_LINEAR = 0x2703,
/** The texture magnification function is used when the pixel being textured maps to an area less than or equal to one texture element. It sets the texture magnification function to either GL_NEAREST or GL_LINEAR (see below). GL_NEAREST is generally faster than GL_LINEAR, but it can produce textured images with sharper edges because the transition between texture elements is not as smooth. Default: GL_LINEAR. */
TEXTURE_MAG_FILTER = 0x2800,
/** The texture minifying function is used whenever the pixel being textured maps to an area greater than one texture element. There are six defined minifying functions. Two of them use the nearest one or nearest four texture elements to compute the texture value. The other four use mipmaps. Default: GL_NEAREST_MIPMAP_LINEAR */
TEXTURE_MIN_FILTER = 0x2801,
/** Sets the wrap parameter for texture coordinate to either GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or GL_REPEAT. G */
TEXTURE_WRAP_S = 0x2802,
/** Sets the wrap parameter for texture coordinate to either GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or GL_REPEAT. G */
TEXTURE_WRAP_T = 0x2803,

@@ -434,2 +547,3 @@ TEXTURE_2D = 0x0de1,

TEXTURE_3D = 0x806f,
/** Sets the wrap parameter for texture coordinate to either GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or GL_REPEAT. G */
TEXTURE_WRAP_R = 0x8072,

@@ -720,2 +834,3 @@ TEXTURE_MIN_LOD = 0x813a,

/** Describes the frequency divisor used for instanced rendering. */
VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88fe,

@@ -725,3 +840,5 @@

/** Passed to getParameter to get the vendor string of the graphics driver. */
UNMASKED_VENDOR_WEBGL = 0x9245,
/** Passed to getParameter to get the renderer string of the graphics driver. */
UNMASKED_RENDERER_WEBGL = 0x9246,

@@ -731,3 +848,5 @@

/** Returns the maximum available anisotropy. */
MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84ff,
/** Passed to texParameter to set the desired maximum anisotropy for a texture. */
TEXTURE_MAX_ANISOTROPY_EXT = 0x84fe,

@@ -737,5 +856,9 @@

/** Unsized sRGB format that leaves the precision up to the driver. */
SRGB_EXT = 0x8c40,
/** Unsized sRGB format with unsized alpha component. */
SRGB_ALPHA_EXT = 0x8c42,
/** Sized (8-bit) sRGB and alpha formats. */
SRGB8_ALPHA8_EXT = 0x8c43,
/** Returns the framebuffer color encoding. */
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210,

@@ -756,5 +879,9 @@

/** A DXT1-compressed image in an RGB image format. */
COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83f0,
/** A DXT1-compressed image in an RGB image format with a simple on/off alpha value. */
COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83f1,
/** A DXT3-compressed image in an RGBA image format. Compared to a 32-bit RGBA texture, it offers 4:1 compression. */
COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83f2,
/** A DXT5-compressed image in an RGBA image format. It also provides a 4:1 compression, but differs to the DXT3 compression in how the alpha compression is done. */
COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83f3,

@@ -785,11 +912,21 @@

/** One-channel (red) unsigned format compression. */
COMPRESSED_R11_EAC = 0x9270,
/** One-channel (red) signed format compression. */
COMPRESSED_SIGNED_R11_EAC = 0x9271,
/** Two-channel (red and green) unsigned format compression. */
COMPRESSED_RG11_EAC = 0x9272,
/** Two-channel (red and green) signed format compression. */
COMPRESSED_SIGNED_RG11_EAC = 0x9273,
/** Compresses RGB8 data with no alpha channel. */
COMPRESSED_RGB8_ETC2 = 0x9274,
/** Compresses RGBA8 data. The RGB part is encoded the same as RGB_ETC2, but the alpha part is encoded separately. */
COMPRESSED_RGBA8_ETC2_EAC = 0x9275,
/** Compresses sRGB8 data with no alpha channel. */
COMPRESSED_SRGB8_ETC2 = 0x9276,
/** Compresses sRGBA8 data. The sRGB part is encoded the same as SRGB_ETC2, but the alpha part is encoded separately. */
COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9277,
/** Similar to RGB8_ETC, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent. */
COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9278,
/** Similar to SRGB8_ETC, but with ability to punch through the alpha channel, which means to make it completely opaque or transparent. */
COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9279,

@@ -799,5 +936,9 @@

/** RGB compression in 4-bit mode. One block for each 4×4 pixels. */
COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8c00,
/** RGBA compression in 4-bit mode. One block for each 4×4 pixels. */
COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8c02,
/** RGB compression in 2-bit mode. One block for each 8×4 pixels. */
COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8c01,
/** RGBA compression in 2-bit mode. One block for each 8×4 pixels. */
COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8c03,

@@ -807,2 +948,3 @@

/** Compresses 24-bit RGB data with no alpha channel. */
COMPRESSED_RGB_ETC1_WEBGL = 0x8d64,

@@ -849,2 +991,3 @@

/** Unsigned integer type for 24-bit depth texture data. */
UNSIGNED_INT_24_8_WEBGL = 0x84fa,

@@ -854,2 +997,3 @@

/** Half floating-point type (16-bit). */
HALF_FLOAT_OES = 0x8d61,

@@ -859,3 +1003,5 @@

/** RGBA 32-bit floating-point color-renderable format. */
RGBA32F_EXT = 0x8814,
/** RGB 32-bit floating-point color-renderable format. */
RGB32F_EXT = 0x8815,

@@ -867,3 +1013,5 @@ FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211,

/** Produces the minimum color components of the source and destination colors. */
MIN_EXT = 0x8007,
/** Produces the maximum color components of the source and destination colors. */
MAX_EXT = 0x8008,

@@ -873,2 +1021,3 @@

/** Indicates the accuracy of the derivative calculation for the GLSL built-in functions: dFdx, dFdy, and fwidth */
FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8b8b,

@@ -910,3 +1059,5 @@

DRAW_BUFFER15_WEBGL = 0x8834,
/** Maximum number of framebuffer color attachment points */
MAX_COLOR_ATTACHMENTS_WEBGL = 0x8cdf,
/** Maximum number of draw buffers */
MAX_DRAW_BUFFERS_WEBGL = 0x8824,

@@ -916,2 +1067,3 @@

/** The bound vertex array object (VAO). */
VERTEX_ARRAY_BINDING_OES = 0x85b5,

@@ -921,9 +1073,16 @@

/** The number of bits used to hold the query result for the given target. */
QUERY_COUNTER_BITS_EXT = 0x8864,
/** The currently active query. */
CURRENT_QUERY_EXT = 0x8865,
/** The query result. */
QUERY_RESULT_EXT = 0x8866,
/** A Boolean indicating whether or not a query result is available. */
QUERY_RESULT_AVAILABLE_EXT = 0x8867,
/** Elapsed time (in nanoseconds). */
TIME_ELAPSED_EXT = 0x88bf,
/** The current time. */
TIMESTAMP_EXT = 0x8e28,
/** A Boolean indicating whether or not the GPU performed any disjoint operation. */
GPU_DISJOINT_EXT = 0x8fbb // A Boolean indicating whether or not the GPU performed any disjoint operation.
}
// WebGL constants
export {GL as default} from './constants-enum';
export {GL, GL as default} from './constants-enum';
// WebGL types
export type {
GLDrawMode,
GLPrimitive,
GLDataType,
GLPixelType,
GLUniformType,
GLSamplerType,
GLCompositeType,
GLFunction,
GLBlendEquation,
GLBlendFunction,
GLStencilOp,
GLSamplerParameters,
GLValueParameters,
GLFunctionParameters,
GLParameters
} from './webgl-types';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc