consts.go (34287B)
1 // Copyright 2014 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package gl 6 7 /* 8 Partially generated from the Khronos OpenGL API specification in XML 9 format, which is covered by the license: 10 11 Copyright (c) 2013-2014 The Khronos Group Inc. 12 13 Permission is hereby granted, free of charge, to any person obtaining a 14 copy of this software and/or associated documentation files (the 15 "Materials"), to deal in the Materials without restriction, including 16 without limitation the rights to use, copy, modify, merge, publish, 17 distribute, sublicense, and/or sell copies of the Materials, and to 18 permit persons to whom the Materials are furnished to do so, subject to 19 the following conditions: 20 21 The above copyright notice and this permission notice shall be included 22 in all copies or substantial portions of the Materials. 23 24 THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 25 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 26 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 27 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 28 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 29 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 30 MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 31 32 */ 33 34 const ( 35 POINTS = 0x0000 36 LINES = 0x0001 37 LINE_LOOP = 0x0002 38 LINE_STRIP = 0x0003 39 TRIANGLES = 0x0004 40 TRIANGLE_STRIP = 0x0005 41 TRIANGLE_FAN = 0x0006 42 SRC_COLOR = 0x0300 43 ONE_MINUS_SRC_COLOR = 0x0301 44 SRC_ALPHA = 0x0302 45 ONE_MINUS_SRC_ALPHA = 0x0303 46 DST_ALPHA = 0x0304 47 ONE_MINUS_DST_ALPHA = 0x0305 48 DST_COLOR = 0x0306 49 ONE_MINUS_DST_COLOR = 0x0307 50 SRC_ALPHA_SATURATE = 0x0308 51 FUNC_ADD = 0x8006 52 BLEND_EQUATION = 0x8009 53 BLEND_EQUATION_RGB = 0x8009 54 BLEND_EQUATION_ALPHA = 0x883D 55 FUNC_SUBTRACT = 0x800A 56 FUNC_REVERSE_SUBTRACT = 0x800B 57 BLEND_DST_RGB = 0x80C8 58 BLEND_SRC_RGB = 0x80C9 59 BLEND_DST_ALPHA = 0x80CA 60 BLEND_SRC_ALPHA = 0x80CB 61 CONSTANT_COLOR = 0x8001 62 ONE_MINUS_CONSTANT_COLOR = 0x8002 63 CONSTANT_ALPHA = 0x8003 64 ONE_MINUS_CONSTANT_ALPHA = 0x8004 65 BLEND_COLOR = 0x8005 66 ARRAY_BUFFER = 0x8892 67 ELEMENT_ARRAY_BUFFER = 0x8893 68 ARRAY_BUFFER_BINDING = 0x8894 69 ELEMENT_ARRAY_BUFFER_BINDING = 0x8895 70 STREAM_DRAW = 0x88E0 71 STATIC_DRAW = 0x88E4 72 DYNAMIC_DRAW = 0x88E8 73 BUFFER_SIZE = 0x8764 74 BUFFER_USAGE = 0x8765 75 CURRENT_VERTEX_ATTRIB = 0x8626 76 FRONT = 0x0404 77 BACK = 0x0405 78 FRONT_AND_BACK = 0x0408 79 TEXTURE_2D = 0x0DE1 80 CULL_FACE = 0x0B44 81 BLEND = 0x0BE2 82 DITHER = 0x0BD0 83 STENCIL_TEST = 0x0B90 84 DEPTH_TEST = 0x0B71 85 SCISSOR_TEST = 0x0C11 86 POLYGON_OFFSET_FILL = 0x8037 87 SAMPLE_ALPHA_TO_COVERAGE = 0x809E 88 SAMPLE_COVERAGE = 0x80A0 89 INVALID_ENUM = 0x0500 90 INVALID_VALUE = 0x0501 91 INVALID_OPERATION = 0x0502 92 OUT_OF_MEMORY = 0x0505 93 CW = 0x0900 94 CCW = 0x0901 95 LINE_WIDTH = 0x0B21 96 ALIASED_POINT_SIZE_RANGE = 0x846D 97 ALIASED_LINE_WIDTH_RANGE = 0x846E 98 CULL_FACE_MODE = 0x0B45 99 FRONT_FACE = 0x0B46 100 DEPTH_RANGE = 0x0B70 101 DEPTH_WRITEMASK = 0x0B72 102 DEPTH_CLEAR_VALUE = 0x0B73 103 DEPTH_FUNC = 0x0B74 104 STENCIL_CLEAR_VALUE = 0x0B91 105 STENCIL_FUNC = 0x0B92 106 STENCIL_FAIL = 0x0B94 107 STENCIL_PASS_DEPTH_FAIL = 0x0B95 108 STENCIL_PASS_DEPTH_PASS = 0x0B96 109 STENCIL_REF = 0x0B97 110 STENCIL_VALUE_MASK = 0x0B93 111 STENCIL_WRITEMASK = 0x0B98 112 STENCIL_BACK_FUNC = 0x8800 113 STENCIL_BACK_FAIL = 0x8801 114 STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802 115 STENCIL_BACK_PASS_DEPTH_PASS = 0x8803 116 STENCIL_BACK_REF = 0x8CA3 117 STENCIL_BACK_VALUE_MASK = 0x8CA4 118 STENCIL_BACK_WRITEMASK = 0x8CA5 119 VIEWPORT = 0x0BA2 120 SCISSOR_BOX = 0x0C10 121 COLOR_CLEAR_VALUE = 0x0C22 122 COLOR_WRITEMASK = 0x0C23 123 UNPACK_ALIGNMENT = 0x0CF5 124 PACK_ALIGNMENT = 0x0D05 125 MAX_TEXTURE_SIZE = 0x0D33 126 MAX_VIEWPORT_DIMS = 0x0D3A 127 SUBPIXEL_BITS = 0x0D50 128 RED_BITS = 0x0D52 129 GREEN_BITS = 0x0D53 130 BLUE_BITS = 0x0D54 131 ALPHA_BITS = 0x0D55 132 DEPTH_BITS = 0x0D56 133 STENCIL_BITS = 0x0D57 134 POLYGON_OFFSET_UNITS = 0x2A00 135 POLYGON_OFFSET_FACTOR = 0x8038 136 TEXTURE_BINDING_2D = 0x8069 137 SAMPLE_BUFFERS = 0x80A8 138 SAMPLES = 0x80A9 139 SAMPLE_COVERAGE_VALUE = 0x80AA 140 SAMPLE_COVERAGE_INVERT = 0x80AB 141 NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2 142 COMPRESSED_TEXTURE_FORMATS = 0x86A3 143 DONT_CARE = 0x1100 144 FASTEST = 0x1101 145 NICEST = 0x1102 146 GENERATE_MIPMAP_HINT = 0x8192 147 BYTE = 0x1400 148 UNSIGNED_BYTE = 0x1401 149 SHORT = 0x1402 150 UNSIGNED_SHORT = 0x1403 151 INT = 0x1404 152 UNSIGNED_INT = 0x1405 153 FLOAT = 0x1406 154 FIXED = 0x140C 155 DEPTH_COMPONENT = 0x1902 156 ALPHA = 0x1906 157 RGB = 0x1907 158 RGBA = 0x1908 159 LUMINANCE = 0x1909 160 LUMINANCE_ALPHA = 0x190A 161 UNSIGNED_SHORT_4_4_4_4 = 0x8033 162 UNSIGNED_SHORT_5_5_5_1 = 0x8034 163 UNSIGNED_SHORT_5_6_5 = 0x8363 164 MAX_VERTEX_ATTRIBS = 0x8869 165 MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB 166 MAX_VARYING_VECTORS = 0x8DFC 167 MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D 168 MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C 169 MAX_TEXTURE_IMAGE_UNITS = 0x8872 170 MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD 171 SHADER_TYPE = 0x8B4F 172 DELETE_STATUS = 0x8B80 173 LINK_STATUS = 0x8B82 174 VALIDATE_STATUS = 0x8B83 175 ATTACHED_SHADERS = 0x8B85 176 ACTIVE_UNIFORMS = 0x8B86 177 ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87 178 ACTIVE_ATTRIBUTES = 0x8B89 179 ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A 180 SHADING_LANGUAGE_VERSION = 0x8B8C 181 CURRENT_PROGRAM = 0x8B8D 182 NEVER = 0x0200 183 LESS = 0x0201 184 EQUAL = 0x0202 185 LEQUAL = 0x0203 186 GREATER = 0x0204 187 NOTEQUAL = 0x0205 188 GEQUAL = 0x0206 189 ALWAYS = 0x0207 190 KEEP = 0x1E00 191 REPLACE = 0x1E01 192 INCR = 0x1E02 193 DECR = 0x1E03 194 INVERT = 0x150A 195 INCR_WRAP = 0x8507 196 DECR_WRAP = 0x8508 197 VENDOR = 0x1F00 198 RENDERER = 0x1F01 199 VERSION = 0x1F02 200 EXTENSIONS = 0x1F03 201 NEAREST = 0x2600 202 LINEAR = 0x2601 203 NEAREST_MIPMAP_NEAREST = 0x2700 204 LINEAR_MIPMAP_NEAREST = 0x2701 205 NEAREST_MIPMAP_LINEAR = 0x2702 206 LINEAR_MIPMAP_LINEAR = 0x2703 207 TEXTURE_MAG_FILTER = 0x2800 208 TEXTURE_MIN_FILTER = 0x2801 209 TEXTURE_WRAP_S = 0x2802 210 TEXTURE_WRAP_T = 0x2803 211 TEXTURE = 0x1702 212 TEXTURE_CUBE_MAP = 0x8513 213 TEXTURE_BINDING_CUBE_MAP = 0x8514 214 TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515 215 TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516 216 TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517 217 TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518 218 TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519 219 TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A 220 MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C 221 TEXTURE0 = 0x84C0 222 TEXTURE1 = 0x84C1 223 TEXTURE2 = 0x84C2 224 TEXTURE3 = 0x84C3 225 TEXTURE4 = 0x84C4 226 TEXTURE5 = 0x84C5 227 TEXTURE6 = 0x84C6 228 TEXTURE7 = 0x84C7 229 TEXTURE8 = 0x84C8 230 TEXTURE9 = 0x84C9 231 TEXTURE10 = 0x84CA 232 TEXTURE11 = 0x84CB 233 TEXTURE12 = 0x84CC 234 TEXTURE13 = 0x84CD 235 TEXTURE14 = 0x84CE 236 TEXTURE15 = 0x84CF 237 TEXTURE16 = 0x84D0 238 TEXTURE17 = 0x84D1 239 TEXTURE18 = 0x84D2 240 TEXTURE19 = 0x84D3 241 TEXTURE20 = 0x84D4 242 TEXTURE21 = 0x84D5 243 TEXTURE22 = 0x84D6 244 TEXTURE23 = 0x84D7 245 TEXTURE24 = 0x84D8 246 TEXTURE25 = 0x84D9 247 TEXTURE26 = 0x84DA 248 TEXTURE27 = 0x84DB 249 TEXTURE28 = 0x84DC 250 TEXTURE29 = 0x84DD 251 TEXTURE30 = 0x84DE 252 TEXTURE31 = 0x84DF 253 ACTIVE_TEXTURE = 0x84E0 254 REPEAT = 0x2901 255 CLAMP_TO_EDGE = 0x812F 256 MIRRORED_REPEAT = 0x8370 257 VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622 258 VERTEX_ATTRIB_ARRAY_SIZE = 0x8623 259 VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624 260 VERTEX_ATTRIB_ARRAY_TYPE = 0x8625 261 VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A 262 VERTEX_ATTRIB_ARRAY_POINTER = 0x8645 263 VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F 264 IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A 265 IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B 266 COMPILE_STATUS = 0x8B81 267 INFO_LOG_LENGTH = 0x8B84 268 SHADER_SOURCE_LENGTH = 0x8B88 269 SHADER_COMPILER = 0x8DFA 270 SHADER_BINARY_FORMATS = 0x8DF8 271 NUM_SHADER_BINARY_FORMATS = 0x8DF9 272 LOW_FLOAT = 0x8DF0 273 MEDIUM_FLOAT = 0x8DF1 274 HIGH_FLOAT = 0x8DF2 275 LOW_INT = 0x8DF3 276 MEDIUM_INT = 0x8DF4 277 HIGH_INT = 0x8DF5 278 FRAMEBUFFER = 0x8D40 279 RENDERBUFFER = 0x8D41 280 RGBA4 = 0x8056 281 RGB5_A1 = 0x8057 282 RGB565 = 0x8D62 283 DEPTH_COMPONENT16 = 0x81A5 284 STENCIL_INDEX8 = 0x8D48 285 RENDERBUFFER_WIDTH = 0x8D42 286 RENDERBUFFER_HEIGHT = 0x8D43 287 RENDERBUFFER_INTERNAL_FORMAT = 0x8D44 288 RENDERBUFFER_RED_SIZE = 0x8D50 289 RENDERBUFFER_GREEN_SIZE = 0x8D51 290 RENDERBUFFER_BLUE_SIZE = 0x8D52 291 RENDERBUFFER_ALPHA_SIZE = 0x8D53 292 RENDERBUFFER_DEPTH_SIZE = 0x8D54 293 RENDERBUFFER_STENCIL_SIZE = 0x8D55 294 FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0 295 FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1 296 FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2 297 FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3 298 COLOR_ATTACHMENT0 = 0x8CE0 299 DEPTH_ATTACHMENT = 0x8D00 300 STENCIL_ATTACHMENT = 0x8D20 301 FRAMEBUFFER_COMPLETE = 0x8CD5 302 FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6 303 FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7 304 FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9 305 FRAMEBUFFER_UNSUPPORTED = 0x8CDD 306 FRAMEBUFFER_BINDING = 0x8CA6 307 RENDERBUFFER_BINDING = 0x8CA7 308 MAX_RENDERBUFFER_SIZE = 0x84E8 309 INVALID_FRAMEBUFFER_OPERATION = 0x0506 310 ) 311 312 const ( 313 DEPTH_BUFFER_BIT = 0x00000100 314 STENCIL_BUFFER_BIT = 0x00000400 315 COLOR_BUFFER_BIT = 0x00004000 316 ) 317 318 const ( 319 FLOAT_VEC2 = 0x8B50 320 FLOAT_VEC3 = 0x8B51 321 FLOAT_VEC4 = 0x8B52 322 INT_VEC2 = 0x8B53 323 INT_VEC3 = 0x8B54 324 INT_VEC4 = 0x8B55 325 BOOL = 0x8B56 326 BOOL_VEC2 = 0x8B57 327 BOOL_VEC3 = 0x8B58 328 BOOL_VEC4 = 0x8B59 329 FLOAT_MAT2 = 0x8B5A 330 FLOAT_MAT3 = 0x8B5B 331 FLOAT_MAT4 = 0x8B5C 332 SAMPLER_2D = 0x8B5E 333 SAMPLER_CUBE = 0x8B60 334 ) 335 336 const ( 337 FRAGMENT_SHADER = 0x8B30 338 VERTEX_SHADER = 0x8B31 339 ) 340 341 const ( 342 FALSE = 0 343 TRUE = 1 344 ZERO = 0 345 ONE = 1 346 NO_ERROR = 0 347 NONE = 0 348 ) 349 350 // GL ES 3.0 constants. 351 const ( 352 ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35 353 ACTIVE_UNIFORM_BLOCKS = 0x8A36 354 ALREADY_SIGNALED = 0x911A 355 ANY_SAMPLES_PASSED = 0x8C2F 356 ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A 357 BLUE = 0x1905 358 BUFFER_ACCESS_FLAGS = 0x911F 359 BUFFER_MAP_LENGTH = 0x9120 360 BUFFER_MAP_OFFSET = 0x9121 361 BUFFER_MAPPED = 0x88BC 362 BUFFER_MAP_POINTER = 0x88BD 363 COLOR = 0x1800 364 COLOR_ATTACHMENT10 = 0x8CEA 365 COLOR_ATTACHMENT1 = 0x8CE1 366 COLOR_ATTACHMENT11 = 0x8CEB 367 COLOR_ATTACHMENT12 = 0x8CEC 368 COLOR_ATTACHMENT13 = 0x8CED 369 COLOR_ATTACHMENT14 = 0x8CEE 370 COLOR_ATTACHMENT15 = 0x8CEF 371 COLOR_ATTACHMENT2 = 0x8CE2 372 COLOR_ATTACHMENT3 = 0x8CE3 373 COLOR_ATTACHMENT4 = 0x8CE4 374 COLOR_ATTACHMENT5 = 0x8CE5 375 COLOR_ATTACHMENT6 = 0x8CE6 376 COLOR_ATTACHMENT7 = 0x8CE7 377 COLOR_ATTACHMENT8 = 0x8CE8 378 COLOR_ATTACHMENT9 = 0x8CE9 379 COMPARE_REF_TO_TEXTURE = 0x884E 380 COMPRESSED_R11_EAC = 0x9270 381 COMPRESSED_RG11_EAC = 0x9272 382 COMPRESSED_RGB8_ETC2 = 0x9274 383 COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276 384 COMPRESSED_RGBA8_ETC2_EAC = 0x9278 385 COMPRESSED_SIGNED_R11_EAC = 0x9271 386 COMPRESSED_SIGNED_RG11_EAC = 0x9273 387 COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279 388 COMPRESSED_SRGB8_ETC2 = 0x9275 389 COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277 390 CONDITION_SATISFIED = 0x911C 391 COPY_READ_BUFFER = 0x8F36 392 COPY_READ_BUFFER_BINDING = 0x8F36 393 COPY_WRITE_BUFFER = 0x8F37 394 COPY_WRITE_BUFFER_BINDING = 0x8F37 395 CURRENT_QUERY = 0x8865 396 DEPTH = 0x1801 397 DEPTH24_STENCIL8 = 0x88F0 398 DEPTH32F_STENCIL8 = 0x8CAD 399 DEPTH_COMPONENT24 = 0x81A6 400 DEPTH_COMPONENT32F = 0x8CAC 401 DEPTH_STENCIL = 0x84F9 402 DEPTH_STENCIL_ATTACHMENT = 0x821A 403 DRAW_BUFFER0 = 0x8825 404 DRAW_BUFFER10 = 0x882F 405 DRAW_BUFFER1 = 0x8826 406 DRAW_BUFFER11 = 0x8830 407 DRAW_BUFFER12 = 0x8831 408 DRAW_BUFFER13 = 0x8832 409 DRAW_BUFFER14 = 0x8833 410 DRAW_BUFFER15 = 0x8834 411 DRAW_BUFFER2 = 0x8827 412 DRAW_BUFFER3 = 0x8828 413 DRAW_BUFFER4 = 0x8829 414 DRAW_BUFFER5 = 0x882A 415 DRAW_BUFFER6 = 0x882B 416 DRAW_BUFFER7 = 0x882C 417 DRAW_BUFFER8 = 0x882D 418 DRAW_BUFFER9 = 0x882E 419 DRAW_FRAMEBUFFER = 0x8CA9 420 DRAW_FRAMEBUFFER_BINDING = 0x8CA6 421 DYNAMIC_COPY = 0x88EA 422 DYNAMIC_READ = 0x88E9 423 FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD 424 FLOAT_MAT2x3 = 0x8B65 425 FLOAT_MAT2x4 = 0x8B66 426 FLOAT_MAT3x2 = 0x8B67 427 FLOAT_MAT3x4 = 0x8B68 428 FLOAT_MAT4x2 = 0x8B69 429 FLOAT_MAT4x3 = 0x8B6A 430 FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B 431 FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215 432 FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214 433 FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210 434 FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211 435 FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216 436 FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213 437 FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212 438 FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217 439 FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4 440 FRAMEBUFFER_DEFAULT = 0x8218 441 FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56 442 FRAMEBUFFER_UNDEFINED = 0x8219 443 GREEN = 0x1904 444 HALF_FLOAT = 0x140B 445 INT_2_10_10_10_REV = 0x8D9F 446 INTERLEAVED_ATTRIBS = 0x8C8C 447 INT_SAMPLER_2D = 0x8DCA 448 INT_SAMPLER_2D_ARRAY = 0x8DCF 449 INT_SAMPLER_3D = 0x8DCB 450 INT_SAMPLER_CUBE = 0x8DCC 451 INVALID_INDEX = 0xFFFFFFFF 452 MAJOR_VERSION = 0x821B 453 MAP_FLUSH_EXPLICIT_BIT = 0x0010 454 MAP_INVALIDATE_BUFFER_BIT = 0x0008 455 MAP_INVALIDATE_RANGE_BIT = 0x0004 456 MAP_READ_BIT = 0x0001 457 MAP_UNSYNCHRONIZED_BIT = 0x0020 458 MAP_WRITE_BIT = 0x0002 459 MAX = 0x8008 460 MAX_3D_TEXTURE_SIZE = 0x8073 461 MAX_ARRAY_TEXTURE_LAYERS = 0x88FF 462 MAX_COLOR_ATTACHMENTS = 0x8CDF 463 MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33 464 MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E 465 MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31 466 MAX_DRAW_BUFFERS = 0x8824 467 MAX_ELEMENT_INDEX = 0x8D6B 468 MAX_ELEMENTS_INDICES = 0x80E9 469 MAX_ELEMENTS_VERTICES = 0x80E8 470 MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125 471 MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D 472 MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49 473 MAX_PROGRAM_TEXEL_OFFSET = 0x8905 474 MAX_SAMPLES = 0x8D57 475 MAX_SERVER_WAIT_TIMEOUT = 0x9111 476 MAX_TEXTURE_LOD_BIAS = 0x84FD 477 MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A 478 MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B 479 MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80 480 MAX_UNIFORM_BLOCK_SIZE = 0x8A30 481 MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F 482 MAX_VARYING_COMPONENTS = 0x8B4B 483 MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122 484 MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B 485 MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A 486 MIN = 0x8007 487 MINOR_VERSION = 0x821C 488 MIN_PROGRAM_TEXEL_OFFSET = 0x8904 489 NUM_EXTENSIONS = 0x821D 490 NUM_PROGRAM_BINARY_FORMATS = 0x87FE 491 NUM_SAMPLE_COUNTS = 0x9380 492 OBJECT_TYPE = 0x9112 493 PACK_ROW_LENGTH = 0x0D02 494 PACK_SKIP_PIXELS = 0x0D04 495 PACK_SKIP_ROWS = 0x0D03 496 PIXEL_PACK_BUFFER = 0x88EB 497 PIXEL_PACK_BUFFER_BINDING = 0x88ED 498 PIXEL_UNPACK_BUFFER = 0x88EC 499 PIXEL_UNPACK_BUFFER_BINDING = 0x88EF 500 PRIMITIVE_RESTART_FIXED_INDEX = 0x8D69 501 PROGRAM_BINARY_FORMATS = 0x87FF 502 PROGRAM_BINARY_LENGTH = 0x8741 503 PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257 504 QUERY_RESULT = 0x8866 505 QUERY_RESULT_AVAILABLE = 0x8867 506 R11F_G11F_B10F = 0x8C3A 507 R16F = 0x822D 508 R16I = 0x8233 509 R16UI = 0x8234 510 R32F = 0x822E 511 R32I = 0x8235 512 R32UI = 0x8236 513 R8 = 0x8229 514 R8I = 0x8231 515 R8_SNORM = 0x8F94 516 R8UI = 0x8232 517 RASTERIZER_DISCARD = 0x8C89 518 READ_BUFFER = 0x0C02 519 READ_FRAMEBUFFER = 0x8CA8 520 READ_FRAMEBUFFER_BINDING = 0x8CAA 521 RED = 0x1903 522 RED_INTEGER = 0x8D94 523 RENDERBUFFER_SAMPLES = 0x8CAB 524 RG = 0x8227 525 RG16F = 0x822F 526 RG16I = 0x8239 527 RG16UI = 0x823A 528 RG32F = 0x8230 529 RG32I = 0x823B 530 RG32UI = 0x823C 531 RG8 = 0x822B 532 RG8I = 0x8237 533 RG8_SNORM = 0x8F95 534 RG8UI = 0x8238 535 RGB10_A2 = 0x8059 536 RGB10_A2UI = 0x906F 537 RGB16F = 0x881B 538 RGB16I = 0x8D89 539 RGB16UI = 0x8D77 540 RGB32F = 0x8815 541 RGB32I = 0x8D83 542 RGB32UI = 0x8D71 543 RGB8 = 0x8051 544 RGB8I = 0x8D8F 545 RGB8_SNORM = 0x8F96 546 RGB8UI = 0x8D7D 547 RGB9_E5 = 0x8C3D 548 RGBA16F = 0x881A 549 RGBA16I = 0x8D88 550 RGBA16UI = 0x8D76 551 RGBA32F = 0x8814 552 RGBA32I = 0x8D82 553 RGBA32UI = 0x8D70 554 RGBA8 = 0x8058 555 RGBA8I = 0x8D8E 556 RGBA8_SNORM = 0x8F97 557 RGBA8UI = 0x8D7C 558 RGBA_INTEGER = 0x8D99 559 RGB_INTEGER = 0x8D98 560 RG_INTEGER = 0x8228 561 SAMPLER_2D_ARRAY = 0x8DC1 562 SAMPLER_2D_ARRAY_SHADOW = 0x8DC4 563 SAMPLER_2D_SHADOW = 0x8B62 564 SAMPLER_3D = 0x8B5F 565 SAMPLER_BINDING = 0x8919 566 SAMPLER_CUBE_SHADOW = 0x8DC5 567 SEPARATE_ATTRIBS = 0x8C8D 568 SIGNALED = 0x9119 569 SIGNED_NORMALIZED = 0x8F9C 570 SRGB = 0x8C40 571 SRGB8 = 0x8C41 572 SRGB8_ALPHA8 = 0x8C43 573 STATIC_COPY = 0x88E6 574 STATIC_READ = 0x88E5 575 STENCIL = 0x1802 576 STREAM_COPY = 0x88E2 577 STREAM_READ = 0x88E1 578 SYNC_CONDITION = 0x9113 579 SYNC_FENCE = 0x9116 580 SYNC_FLAGS = 0x9115 581 SYNC_FLUSH_COMMANDS_BIT = 0x00000001 582 SYNC_GPU_COMMANDS_COMPLETE = 0x9117 583 SYNC_STATUS = 0x9114 584 TEXTURE_2D_ARRAY = 0x8C1A 585 TEXTURE_3D = 0x806F 586 TEXTURE_BASE_LEVEL = 0x813C 587 TEXTURE_BINDING_2D_ARRAY = 0x8C1D 588 TEXTURE_BINDING_3D = 0x806A 589 TEXTURE_COMPARE_FUNC = 0x884D 590 TEXTURE_COMPARE_MODE = 0x884C 591 TEXTURE_IMMUTABLE_FORMAT = 0x912F 592 TEXTURE_IMMUTABLE_LEVELS = 0x82DF 593 TEXTURE_MAX_LEVEL = 0x813D 594 TEXTURE_MAX_LOD = 0x813B 595 TEXTURE_MIN_LOD = 0x813A 596 TEXTURE_SWIZZLE_A = 0x8E45 597 TEXTURE_SWIZZLE_B = 0x8E44 598 TEXTURE_SWIZZLE_G = 0x8E43 599 TEXTURE_SWIZZLE_R = 0x8E42 600 TEXTURE_WRAP_R = 0x8072 601 TIMEOUT_EXPIRED = 0x911B 602 TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF 603 TRANSFORM_FEEDBACK = 0x8E22 604 TRANSFORM_FEEDBACK_ACTIVE = 0x8E24 605 TRANSFORM_FEEDBACK_BINDING = 0x8E25 606 TRANSFORM_FEEDBACK_BUFFER = 0x8C8E 607 TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F 608 TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F 609 TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85 610 TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84 611 TRANSFORM_FEEDBACK_PAUSED = 0x8E23 612 TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88 613 TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76 614 TRANSFORM_FEEDBACK_VARYINGS = 0x8C83 615 UNIFORM_ARRAY_STRIDE = 0x8A3C 616 UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43 617 UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42 618 UNIFORM_BLOCK_BINDING = 0x8A3F 619 UNIFORM_BLOCK_DATA_SIZE = 0x8A40 620 UNIFORM_BLOCK_INDEX = 0x8A3A 621 UNIFORM_BLOCK_NAME_LENGTH = 0x8A41 622 UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46 623 UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44 624 UNIFORM_BUFFER = 0x8A11 625 UNIFORM_BUFFER_BINDING = 0x8A28 626 UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34 627 UNIFORM_BUFFER_SIZE = 0x8A2A 628 UNIFORM_BUFFER_START = 0x8A29 629 UNIFORM_IS_ROW_MAJOR = 0x8A3E 630 UNIFORM_MATRIX_STRIDE = 0x8A3D 631 UNIFORM_NAME_LENGTH = 0x8A39 632 UNIFORM_OFFSET = 0x8A3B 633 UNIFORM_SIZE = 0x8A38 634 UNIFORM_TYPE = 0x8A37 635 UNPACK_IMAGE_HEIGHT = 0x806E 636 UNPACK_ROW_LENGTH = 0x0CF2 637 UNPACK_SKIP_IMAGES = 0x806D 638 UNPACK_SKIP_PIXELS = 0x0CF4 639 UNPACK_SKIP_ROWS = 0x0CF3 640 UNSIGNALED = 0x9118 641 UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B 642 UNSIGNED_INT_2_10_10_10_REV = 0x8368 643 UNSIGNED_INT_24_8 = 0x84FA 644 UNSIGNED_INT_5_9_9_9_REV = 0x8C3E 645 UNSIGNED_INT_SAMPLER_2D = 0x8DD2 646 UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7 647 UNSIGNED_INT_SAMPLER_3D = 0x8DD3 648 UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4 649 UNSIGNED_INT_VEC2 = 0x8DC6 650 UNSIGNED_INT_VEC3 = 0x8DC7 651 UNSIGNED_INT_VEC4 = 0x8DC8 652 UNSIGNED_NORMALIZED = 0x8C17 653 VERTEX_ARRAY_BINDING = 0x85B5 654 VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE 655 VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD 656 WAIT_FAILED = 0x911D 657 )