package webgl

READ_BUFFER                                   :: Enum(0x0C02)
UNPACK_ROW_LENGTH                             :: Enum(0x0CF2)
UNPACK_SKIP_ROWS                              :: Enum(0x0CF3)
UNPACK_SKIP_PIXELS                            :: Enum(0x0CF4)
PACK_ROW_LENGTH                               :: Enum(0x0D02)
PACK_SKIP_ROWS                                :: Enum(0x0D03)
PACK_SKIP_PIXELS                              :: Enum(0x0D04)
COLOR                                         :: Enum(0x1800)
DEPTH                                         :: Enum(0x1801)
STENCIL                                       :: Enum(0x1802)
RED                                           :: Enum(0x1903)
RGB8                                          :: Enum(0x8051)
RGBA8                                         :: Enum(0x8058)
RGB10_A2                                      :: Enum(0x8059)
TEXTURE_BINDING_3D                            :: Enum(0x806A)
UNPACK_SKIP_IMAGES                            :: Enum(0x806D)
UNPACK_IMAGE_HEIGHT                           :: Enum(0x806E)
TEXTURE_3D                                    :: Enum(0x806F)
TEXTURE_WRAP_R                                :: Enum(0x8072)
MAX_3D_TEXTURE_SIZE                           :: Enum(0x8073)
UNSIGNED_INT_2_10_10_10_REV                   :: Enum(0x8368)
MAX_ELEMENTS_VERTICES                         :: Enum(0x80E8)
MAX_ELEMENTS_INDICES                          :: Enum(0x80E9)
TEXTURE_MIN_LOD                               :: Enum(0x813A)
TEXTURE_MAX_LOD                               :: Enum(0x813B)
TEXTURE_BASE_LEVEL                            :: Enum(0x813C)
TEXTURE_MAX_LEVEL                             :: Enum(0x813D)
MIN                                           :: Enum(0x8007)
MAX                                           :: Enum(0x8008)
DEPTH_COMPONENT24                             :: Enum(0x81A6)
MAX_TEXTURE_LOD_BIAS                          :: Enum(0x84FD)
TEXTURE_COMPARE_MODE                          :: Enum(0x884C)
TEXTURE_COMPARE_FUNC                          :: Enum(0x884D)
CURRENT_QUERY                                 :: Enum(0x8865)
QUERY_RESULT                                  :: Enum(0x8866)
QUERY_RESULT_AVAILABLE                        :: Enum(0x8867)
STREAM_READ                                   :: Enum(0x88E1)
STREAM_COPY                                   :: Enum(0x88E2)
STATIC_READ                                   :: Enum(0x88E5)
STATIC_COPY                                   :: Enum(0x88E6)
DYNAMIC_READ                                  :: Enum(0x88E9)
DYNAMIC_COPY                                  :: Enum(0x88EA)
MAX_DRAW_BUFFERS                              :: Enum(0x8824)
DRAW_BUFFER0                                  :: Enum(0x8825)
DRAW_BUFFER1                                  :: Enum(0x8826)
DRAW_BUFFER2                                  :: Enum(0x8827)
DRAW_BUFFER3                                  :: Enum(0x8828)
DRAW_BUFFER4                                  :: Enum(0x8829)
DRAW_BUFFER5                                  :: Enum(0x882A)
DRAW_BUFFER6                                  :: Enum(0x882B)
DRAW_BUFFER7                                  :: Enum(0x882C)
DRAW_BUFFER8                                  :: Enum(0x882D)
DRAW_BUFFER9                                  :: Enum(0x882E)
DRAW_BUFFER10                                 :: Enum(0x882F)
DRAW_BUFFER11                                 :: Enum(0x8830)
DRAW_BUFFER12                                 :: Enum(0x8831)
DRAW_BUFFER13                                 :: Enum(0x8832)
DRAW_BUFFER14                                 :: Enum(0x8833)
DRAW_BUFFER15                                 :: Enum(0x8834)
MAX_FRAGMENT_UNIFORM_COMPONENTS               :: Enum(0x8B49)
MAX_VERTEX_UNIFORM_COMPONENTS                 :: Enum(0x8B4A)
SAMPLER_3D                                    :: Enum(0x8B5F)
SAMPLER_2D_SHADOW                             :: Enum(0x8B62)
FRAGMENT_SHADER_DERIVATIVE_HINT               :: Enum(0x8B8B)
PIXEL_PACK_BUFFER                             :: Enum(0x88EB)
PIXEL_UNPACK_BUFFER                           :: Enum(0x88EC)
PIXEL_PACK_BUFFER_BINDING                     :: Enum(0x88ED)
PIXEL_UNPACK_BUFFER_BINDING                   :: Enum(0x88EF)
FLOAT_MAT2x3                                  :: Enum(0x8B65)
FLOAT_MAT2x4                                  :: Enum(0x8B66)
FLOAT_MAT3x2                                  :: Enum(0x8B67)
FLOAT_MAT3x4                                  :: Enum(0x8B68)
FLOAT_MAT4x2                                  :: Enum(0x8B69)
FLOAT_MAT4x3                                  :: Enum(0x8B6A)
SRGB                                          :: Enum(0x8C40)
SRGB8                                         :: Enum(0x8C41)
SRGB8_ALPHA8                                  :: Enum(0x8C43)
COMPARE_REF_TO_TEXTURE                        :: Enum(0x884E)
RGBA32F                                       :: Enum(0x8814)
RGB32F                                        :: Enum(0x8815)
RGBA16F                                       :: Enum(0x881A)
RGB16F                                        :: Enum(0x881B)
VERTEX_ATTRIB_ARRAY_INTEGER                   :: Enum(0x88FD)
MAX_ARRAY_TEXTURE_LAYERS                      :: Enum(0x88FF)
MIN_PROGRAM_TEXEL_OFFSET                      :: Enum(0x8904)
MAX_PROGRAM_TEXEL_OFFSET                      :: Enum(0x8905)
MAX_VARYING_COMPONENTS                        :: Enum(0x8B4B)
TEXTURE_2D_ARRAY                              :: Enum(0x8C1A)
TEXTURE_BINDING_2D_ARRAY                      :: Enum(0x8C1D)
R11F_G11F_B10F                                :: Enum(0x8C3A)
UNSIGNED_INT_10F_11F_11F_REV                  :: Enum(0x8C3B)
RGB9_E5                                       :: Enum(0x8C3D)
UNSIGNED_INT_5_9_9_9_REV                      :: Enum(0x8C3E)
TRANSFORM_FEEDBACK_BUFFER_MODE                :: Enum(0x8C7F)
MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS    :: Enum(0x8C80)
TRANSFORM_FEEDBACK_VARYINGS                   :: Enum(0x8C83)
TRANSFORM_FEEDBACK_BUFFER_START               :: Enum(0x8C84)
TRANSFORM_FEEDBACK_BUFFER_SIZE                :: Enum(0x8C85)
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN         :: Enum(0x8C88)
RASTERIZER_DISCARD                            :: Enum(0x8C89)
MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS :: Enum(0x8C8A)
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS       :: Enum(0x8C8B)
INTERLEAVED_ATTRIBS                           :: Enum(0x8C8C)
SEPARATE_ATTRIBS                              :: Enum(0x8C8D)
TRANSFORM_FEEDBACK_BUFFER                     :: Enum(0x8C8E)
TRANSFORM_FEEDBACK_BUFFER_BINDING             :: Enum(0x8C8F)
RGBA32UI                                      :: Enum(0x8D70)
RGB32UI                                       :: Enum(0x8D71)
RGBA16UI                                      :: Enum(0x8D76)
RGB16UI                                       :: Enum(0x8D77)
RGBA8UI                                       :: Enum(0x8D7C)
RGB8UI                                        :: Enum(0x8D7D)
RGBA32I                                       :: Enum(0x8D82)
RGB32I                                        :: Enum(0x8D83)
RGBA16I                                       :: Enum(0x8D88)
RGB16I                                        :: Enum(0x8D89)
RGBA8I                                        :: Enum(0x8D8E)
RGB8I                                         :: Enum(0x8D8F)
RED_INTEGER                                   :: Enum(0x8D94)
RGB_INTEGER                                   :: Enum(0x8D98)
RGBA_INTEGER                                  :: Enum(0x8D99)
SAMPLER_2D_ARRAY                              :: Enum(0x8DC1)
SAMPLER_2D_ARRAY_SHADOW                       :: Enum(0x8DC4)
SAMPLER_CUBE_SHADOW                           :: Enum(0x8DC5)
UNSIGNED_INT_VEC2                             :: Enum(0x8DC6)
UNSIGNED_INT_VEC3                             :: Enum(0x8DC7)
UNSIGNED_INT_VEC4                             :: Enum(0x8DC8)
INT_SAMPLER_2D                                :: Enum(0x8DCA)
INT_SAMPLER_3D                                :: Enum(0x8DCB)
INT_SAMPLER_CUBE                              :: Enum(0x8DCC)
INT_SAMPLER_2D_ARRAY                          :: Enum(0x8DCF)
UNSIGNED_INT_SAMPLER_2D                       :: Enum(0x8DD2)
UNSIGNED_INT_SAMPLER_3D                       :: Enum(0x8DD3)
UNSIGNED_INT_SAMPLER_CUBE                     :: Enum(0x8DD4)
UNSIGNED_INT_SAMPLER_2D_ARRAY                 :: Enum(0x8DD7)
DEPTH_COMPONENT32F                            :: Enum(0x8CAC)
DEPTH32F_STENCIL8                             :: Enum(0x8CAD)
FLOAT_32_UNSIGNED_INT_24_8_REV                :: Enum(0x8DAD)
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING         :: Enum(0x8210)
FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE         :: Enum(0x8211)
FRAMEBUFFER_ATTACHMENT_RED_SIZE               :: Enum(0x8212)
FRAMEBUFFER_ATTACHMENT_GREEN_SIZE             :: Enum(0x8213)
FRAMEBUFFER_ATTACHMENT_BLUE_SIZE              :: Enum(0x8214)
FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE             :: Enum(0x8215)
FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE             :: Enum(0x8216)
FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE           :: Enum(0x8217)
FRAMEBUFFER_DEFAULT                           :: Enum(0x8218)
UNSIGNED_INT_24_8                             :: Enum(0x84FA)
DEPTH24_STENCIL8                              :: Enum(0x88F0)
UNSIGNED_NORMALIZED                           :: Enum(0x8C17)
DRAW_FRAMEBUFFER_BINDING                      :: FRAMEBUFFER_BINDING /* Same as FRAMEBUFFER_BINDING */
READ_FRAMEBUFFER                              :: Enum(0x8CA8)
DRAW_FRAMEBUFFER                              :: Enum(0x8CA9)
READ_FRAMEBUFFER_BINDING                      :: Enum(0x8CAA)
RENDERBUFFER_SAMPLES                          :: Enum(0x8CAB)
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER          :: Enum(0x8CD4)
MAX_COLOR_ATTACHMENTS                         :: Enum(0x8CDF)
COLOR_ATTACHMENT1                             :: Enum(0x8CE1)
COLOR_ATTACHMENT2                             :: Enum(0x8CE2)
COLOR_ATTACHMENT3                             :: Enum(0x8CE3)
COLOR_ATTACHMENT4                             :: Enum(0x8CE4)
COLOR_ATTACHMENT5                             :: Enum(0x8CE5)
COLOR_ATTACHMENT6                             :: Enum(0x8CE6)
COLOR_ATTACHMENT7                             :: Enum(0x8CE7)
COLOR_ATTACHMENT8                             :: Enum(0x8CE8)
COLOR_ATTACHMENT9                             :: Enum(0x8CE9)
COLOR_ATTACHMENT10                            :: Enum(0x8CEA)
COLOR_ATTACHMENT11                            :: Enum(0x8CEB)
COLOR_ATTACHMENT12                            :: Enum(0x8CEC)
COLOR_ATTACHMENT13                            :: Enum(0x8CED)
COLOR_ATTACHMENT14                            :: Enum(0x8CEE)
COLOR_ATTACHMENT15                            :: Enum(0x8CEF)
FRAMEBUFFER_INCOMPLETE_MULTISAMPLE            :: Enum(0x8D56)
MAX_SAMPLES                                   :: Enum(0x8D57)
HALF_FLOAT                                    :: Enum(0x140B)
RG                                            :: Enum(0x8227)
RG_INTEGER                                    :: Enum(0x8228)
R8                                            :: Enum(0x8229)
RG8                                           :: Enum(0x822B)
R16F                                          :: Enum(0x822D)
R32F                                          :: Enum(0x822E)
RG16F                                         :: Enum(0x822F)
RG32F                                         :: Enum(0x8230)
R8I                                           :: Enum(0x8231)
R8UI                                          :: Enum(0x8232)
R16I                                          :: Enum(0x8233)
R16UI                                         :: Enum(0x8234)
R32I                                          :: Enum(0x8235)
R32UI                                         :: Enum(0x8236)
RG8I                                          :: Enum(0x8237)
RG8UI                                         :: Enum(0x8238)
RG16I                                         :: Enum(0x8239)
RG16UI                                        :: Enum(0x823A)
RG32I                                         :: Enum(0x823B)
RG32UI                                        :: Enum(0x823C)
VERTEX_ARRAY_BINDING                          :: Enum(0x85B5)
R8_SNORM                                      :: Enum(0x8F94)
RG8_SNORM                                     :: Enum(0x8F95)
RGB8_SNORM                                    :: Enum(0x8F96)
RGBA8_SNORM                                   :: Enum(0x8F97)
SIGNED_NORMALIZED                             :: Enum(0x8F9C)
COPY_READ_BUFFER                              :: Enum(0x8F36)
COPY_WRITE_BUFFER                             :: Enum(0x8F37)
COPY_READ_BUFFER_BINDING                      :: COPY_READ_BUFFER /* Same as COPY_READ_BUFFER */
COPY_WRITE_BUFFER_BINDING                     :: COPY_WRITE_BUFFER /* Same as COPY_WRITE_BUFFER */
UNIFORM_BUFFER                                :: Enum(0x8A11)
UNIFORM_BUFFER_BINDING                        :: Enum(0x8A28)
UNIFORM_BUFFER_START                          :: Enum(0x8A29)
UNIFORM_BUFFER_SIZE                           :: Enum(0x8A2A)
MAX_VERTEX_UNIFORM_BLOCKS                     :: Enum(0x8A2B)
MAX_FRAGMENT_UNIFORM_BLOCKS                   :: Enum(0x8A2D)
MAX_COMBINED_UNIFORM_BLOCKS                   :: Enum(0x8A2E)
MAX_UNIFORM_BUFFER_BINDINGS                   :: Enum(0x8A2F)
MAX_UNIFORM_BLOCK_SIZE                        :: Enum(0x8A30)
MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS        :: Enum(0x8A31)
MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS      :: Enum(0x8A33)
UNIFORM_BUFFER_OFFSET_ALIGNMENT               :: Enum(0x8A34)
ACTIVE_UNIFORM_BLOCKS                         :: Enum(0x8A36)
UNIFORM_TYPE                                  :: Enum(0x8A37)
UNIFORM_SIZE                                  :: Enum(0x8A38)
UNIFORM_BLOCK_INDEX                           :: Enum(0x8A3A)
UNIFORM_OFFSET                                :: Enum(0x8A3B)
UNIFORM_ARRAY_STRIDE                          :: Enum(0x8A3C)
UNIFORM_MATRIX_STRIDE                         :: Enum(0x8A3D)
UNIFORM_IS_ROW_MAJOR                          :: Enum(0x8A3E)
UNIFORM_BLOCK_BINDING                         :: Enum(0x8A3F)
UNIFORM_BLOCK_DATA_SIZE                       :: Enum(0x8A40)
UNIFORM_BLOCK_ACTIVE_UNIFORMS                 :: Enum(0x8A42)
UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES          :: Enum(0x8A43)
UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER     :: Enum(0x8A44)
UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER   :: Enum(0x8A46)
INVALID_INDEX                                 :: Enum(0xFFFFFFFF)
MAX_VERTEX_OUTPUT_COMPONENTS                  :: Enum(0x9122)
MAX_FRAGMENT_INPUT_COMPONENTS                 :: Enum(0x9125)
MAX_SERVER_WAIT_TIMEOUT                       :: Enum(0x9111)
OBJECT_TYPE                                   :: Enum(0x9112)
SYNC_CONDITION                                :: Enum(0x9113)
SYNC_STATUS                                   :: Enum(0x9114)
SYNC_FLAGS                                    :: Enum(0x9115)
SYNC_FENCE                                    :: Enum(0x9116)
SYNC_GPU_COMMANDS_COMPLETE                    :: Enum(0x9117)
UNSIGNALED                                    :: Enum(0x9118)
SIGNALED                                      :: Enum(0x9119)
ALREADY_SIGNALED                              :: Enum(0x911A)
TIMEOUT_EXPIRED                               :: Enum(0x911B)
CONDITION_SATISFIED                           :: Enum(0x911C)
WAIT_FAILED                                   :: Enum(0x911D)
SYNC_FLUSH_COMMANDS_BIT                       :: Enum(0x00000001)
VERTEX_ATTRIB_ARRAY_DIVISOR                   :: Enum(0x88FE)
ANY_SAMPLES_PASSED                            :: Enum(0x8C2F)
ANY_SAMPLES_PASSED_CONSERVATIVE               :: Enum(0x8D6A)
SAMPLER_BINDING                               :: Enum(0x8919)
RGB10_A2UI                                    :: Enum(0x906F)
INT_2_10_10_10_REV                            :: Enum(0x8D9F)
TRANSFORM_FEEDBACK                            :: Enum(0x8E22)
TRANSFORM_FEEDBACK_PAUSED                     :: Enum(0x8E23)
TRANSFORM_FEEDBACK_ACTIVE                     :: Enum(0x8E24)
TRANSFORM_FEEDBACK_BINDING                    :: Enum(0x8E25)
TEXTURE_IMMUTABLE_FORMAT                      :: Enum(0x912F)
MAX_ELEMENT_INDEX                             :: Enum(0x8D6B)
TEXTURE_IMMUTABLE_LEVELS                      :: Enum(0x82DF)

TIMEOUT_IGNORED                               :: i64(-1)

/* WebGL-specific enums */
MAX_CLIENT_WAIT_TIMEOUT_WEBGL                 :: Enum(0x9247)
