1 module glad.gl.enums; 2 3 private import glad.gl.types; 4 5 enum ubyte GL_FALSE = 0; 6 enum ubyte GL_TRUE = 1; 7 enum uint GL_NO_ERROR = 0; 8 enum uint GL_NONE = 0; 9 enum uint GL_ZERO = 0; 10 enum uint GL_ONE = 1; 11 enum uint GL_NONE_OES = 0; 12 enum uint GL_INVALID_INDEX = 0xFFFFFFFF; 13 enum ulong GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF; 14 enum ulong GL_TIMEOUT_IGNORED_APPLE = 0xFFFFFFFFFFFFFFFF; 15 enum uint GL_VERSION_ES_CL_1_0 = 1; 16 enum uint GL_VERSION_ES_CM_1_1 = 1; 17 enum uint GL_VERSION_ES_CL_1_1 = 1; 18 enum uint GL_DEPTH_BUFFER_BIT = 0x00000100; 19 enum uint GL_STENCIL_BUFFER_BIT = 0x00000400; 20 enum uint GL_COLOR_BUFFER_BIT = 0x00004000; 21 // enum uint GL_FALSE = 0; 22 // enum uint GL_TRUE = 1; 23 enum uint GL_POINTS = 0x0000; 24 enum uint GL_LINES = 0x0001; 25 enum uint GL_LINE_LOOP = 0x0002; 26 enum uint GL_LINE_STRIP = 0x0003; 27 enum uint GL_TRIANGLES = 0x0004; 28 enum uint GL_TRIANGLE_STRIP = 0x0005; 29 enum uint GL_TRIANGLE_FAN = 0x0006; 30 // enum uint GL_ZERO = 0; 31 // enum uint GL_ONE = 1; 32 enum uint GL_SRC_COLOR = 0x0300; 33 enum uint GL_ONE_MINUS_SRC_COLOR = 0x0301; 34 enum uint GL_SRC_ALPHA = 0x0302; 35 enum uint GL_ONE_MINUS_SRC_ALPHA = 0x0303; 36 enum uint GL_DST_ALPHA = 0x0304; 37 enum uint GL_ONE_MINUS_DST_ALPHA = 0x0305; 38 enum uint GL_DST_COLOR = 0x0306; 39 enum uint GL_ONE_MINUS_DST_COLOR = 0x0307; 40 enum uint GL_SRC_ALPHA_SATURATE = 0x0308; 41 enum uint GL_FUNC_ADD = 0x8006; 42 enum uint GL_BLEND_EQUATION = 0x8009; 43 enum uint GL_BLEND_EQUATION_RGB = 0x8009; 44 enum uint GL_BLEND_EQUATION_ALPHA = 0x883D; 45 enum uint GL_FUNC_SUBTRACT = 0x800A; 46 enum uint GL_FUNC_REVERSE_SUBTRACT = 0x800B; 47 enum uint GL_BLEND_DST_RGB = 0x80C8; 48 enum uint GL_BLEND_SRC_RGB = 0x80C9; 49 enum uint GL_BLEND_DST_ALPHA = 0x80CA; 50 enum uint GL_BLEND_SRC_ALPHA = 0x80CB; 51 enum uint GL_CONSTANT_COLOR = 0x8001; 52 enum uint GL_ONE_MINUS_CONSTANT_COLOR = 0x8002; 53 enum uint GL_CONSTANT_ALPHA = 0x8003; 54 enum uint GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004; 55 enum uint GL_BLEND_COLOR = 0x8005; 56 enum uint GL_ARRAY_BUFFER = 0x8892; 57 enum uint GL_ELEMENT_ARRAY_BUFFER = 0x8893; 58 enum uint GL_ARRAY_BUFFER_BINDING = 0x8894; 59 enum uint GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; 60 enum uint GL_STREAM_DRAW = 0x88E0; 61 enum uint GL_STATIC_DRAW = 0x88E4; 62 enum uint GL_DYNAMIC_DRAW = 0x88E8; 63 enum uint GL_BUFFER_SIZE = 0x8764; 64 enum uint GL_BUFFER_USAGE = 0x8765; 65 enum uint GL_CURRENT_VERTEX_ATTRIB = 0x8626; 66 enum uint GL_FRONT = 0x0404; 67 enum uint GL_BACK = 0x0405; 68 enum uint GL_FRONT_AND_BACK = 0x0408; 69 enum uint GL_TEXTURE_2D = 0x0DE1; 70 enum uint GL_CULL_FACE = 0x0B44; 71 enum uint GL_BLEND = 0x0BE2; 72 enum uint GL_DITHER = 0x0BD0; 73 enum uint GL_STENCIL_TEST = 0x0B90; 74 enum uint GL_DEPTH_TEST = 0x0B71; 75 enum uint GL_SCISSOR_TEST = 0x0C11; 76 enum uint GL_POLYGON_OFFSET_FILL = 0x8037; 77 enum uint GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E; 78 enum uint GL_SAMPLE_COVERAGE = 0x80A0; 79 // enum uint GL_NO_ERROR = 0; 80 enum uint GL_INVALID_ENUM = 0x0500; 81 enum uint GL_INVALID_VALUE = 0x0501; 82 enum uint GL_INVALID_OPERATION = 0x0502; 83 enum uint GL_OUT_OF_MEMORY = 0x0505; 84 enum uint GL_CW = 0x0900; 85 enum uint GL_CCW = 0x0901; 86 enum uint GL_LINE_WIDTH = 0x0B21; 87 enum uint GL_ALIASED_POINT_SIZE_RANGE = 0x846D; 88 enum uint GL_ALIASED_LINE_WIDTH_RANGE = 0x846E; 89 enum uint GL_CULL_FACE_MODE = 0x0B45; 90 enum uint GL_FRONT_FACE = 0x0B46; 91 enum uint GL_DEPTH_RANGE = 0x0B70; 92 enum uint GL_DEPTH_WRITEMASK = 0x0B72; 93 enum uint GL_DEPTH_CLEAR_VALUE = 0x0B73; 94 enum uint GL_DEPTH_FUNC = 0x0B74; 95 enum uint GL_STENCIL_CLEAR_VALUE = 0x0B91; 96 enum uint GL_STENCIL_FUNC = 0x0B92; 97 enum uint GL_STENCIL_FAIL = 0x0B94; 98 enum uint GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95; 99 enum uint GL_STENCIL_PASS_DEPTH_PASS = 0x0B96; 100 enum uint GL_STENCIL_REF = 0x0B97; 101 enum uint GL_STENCIL_VALUE_MASK = 0x0B93; 102 enum uint GL_STENCIL_WRITEMASK = 0x0B98; 103 enum uint GL_STENCIL_BACK_FUNC = 0x8800; 104 enum uint GL_STENCIL_BACK_FAIL = 0x8801; 105 enum uint GL_STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; 106 enum uint GL_STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; 107 enum uint GL_STENCIL_BACK_REF = 0x8CA3; 108 enum uint GL_STENCIL_BACK_VALUE_MASK = 0x8CA4; 109 enum uint GL_STENCIL_BACK_WRITEMASK = 0x8CA5; 110 enum uint GL_VIEWPORT = 0x0BA2; 111 enum uint GL_SCISSOR_BOX = 0x0C10; 112 enum uint GL_COLOR_CLEAR_VALUE = 0x0C22; 113 enum uint GL_COLOR_WRITEMASK = 0x0C23; 114 enum uint GL_UNPACK_ALIGNMENT = 0x0CF5; 115 enum uint GL_PACK_ALIGNMENT = 0x0D05; 116 enum uint GL_MAX_TEXTURE_SIZE = 0x0D33; 117 enum uint GL_MAX_VIEWPORT_DIMS = 0x0D3A; 118 enum uint GL_SUBPIXEL_BITS = 0x0D50; 119 enum uint GL_RED_BITS = 0x0D52; 120 enum uint GL_GREEN_BITS = 0x0D53; 121 enum uint GL_BLUE_BITS = 0x0D54; 122 enum uint GL_ALPHA_BITS = 0x0D55; 123 enum uint GL_DEPTH_BITS = 0x0D56; 124 enum uint GL_STENCIL_BITS = 0x0D57; 125 enum uint GL_POLYGON_OFFSET_UNITS = 0x2A00; 126 enum uint GL_POLYGON_OFFSET_FACTOR = 0x8038; 127 enum uint GL_TEXTURE_BINDING_2D = 0x8069; 128 enum uint GL_SAMPLE_BUFFERS = 0x80A8; 129 enum uint GL_SAMPLES = 0x80A9; 130 enum uint GL_SAMPLE_COVERAGE_VALUE = 0x80AA; 131 enum uint GL_SAMPLE_COVERAGE_INVERT = 0x80AB; 132 enum uint GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2; 133 enum uint GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3; 134 enum uint GL_DONT_CARE = 0x1100; 135 enum uint GL_FASTEST = 0x1101; 136 enum uint GL_NICEST = 0x1102; 137 enum uint GL_GENERATE_MIPMAP_HINT = 0x8192; 138 enum uint GL_BYTE = 0x1400; 139 enum uint GL_UNSIGNED_BYTE = 0x1401; 140 enum uint GL_SHORT = 0x1402; 141 enum uint GL_UNSIGNED_SHORT = 0x1403; 142 enum uint GL_INT = 0x1404; 143 enum uint GL_UNSIGNED_INT = 0x1405; 144 enum uint GL_FLOAT = 0x1406; 145 enum uint GL_FIXED = 0x140C; 146 enum uint GL_DEPTH_COMPONENT = 0x1902; 147 enum uint GL_ALPHA = 0x1906; 148 enum uint GL_RGB = 0x1907; 149 enum uint GL_RGBA = 0x1908; 150 enum uint GL_LUMINANCE = 0x1909; 151 enum uint GL_LUMINANCE_ALPHA = 0x190A; 152 enum uint GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033; 153 enum uint GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034; 154 enum uint GL_UNSIGNED_SHORT_5_6_5 = 0x8363; 155 enum uint GL_FRAGMENT_SHADER = 0x8B30; 156 enum uint GL_VERTEX_SHADER = 0x8B31; 157 enum uint GL_MAX_VERTEX_ATTRIBS = 0x8869; 158 enum uint GL_MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; 159 enum uint GL_MAX_VARYING_VECTORS = 0x8DFC; 160 enum uint GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; 161 enum uint GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; 162 enum uint GL_MAX_TEXTURE_IMAGE_UNITS = 0x8872; 163 enum uint GL_MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; 164 enum uint GL_SHADER_TYPE = 0x8B4F; 165 enum uint GL_DELETE_STATUS = 0x8B80; 166 enum uint GL_LINK_STATUS = 0x8B82; 167 enum uint GL_VALIDATE_STATUS = 0x8B83; 168 enum uint GL_ATTACHED_SHADERS = 0x8B85; 169 enum uint GL_ACTIVE_UNIFORMS = 0x8B86; 170 enum uint GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87; 171 enum uint GL_ACTIVE_ATTRIBUTES = 0x8B89; 172 enum uint GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A; 173 enum uint GL_SHADING_LANGUAGE_VERSION = 0x8B8C; 174 enum uint GL_CURRENT_PROGRAM = 0x8B8D; 175 enum uint GL_NEVER = 0x0200; 176 enum uint GL_LESS = 0x0201; 177 enum uint GL_EQUAL = 0x0202; 178 enum uint GL_LEQUAL = 0x0203; 179 enum uint GL_GREATER = 0x0204; 180 enum uint GL_NOTEQUAL = 0x0205; 181 enum uint GL_GEQUAL = 0x0206; 182 enum uint GL_ALWAYS = 0x0207; 183 enum uint GL_KEEP = 0x1E00; 184 enum uint GL_REPLACE = 0x1E01; 185 enum uint GL_INCR = 0x1E02; 186 enum uint GL_DECR = 0x1E03; 187 enum uint GL_INVERT = 0x150A; 188 enum uint GL_INCR_WRAP = 0x8507; 189 enum uint GL_DECR_WRAP = 0x8508; 190 enum uint GL_VENDOR = 0x1F00; 191 enum uint GL_RENDERER = 0x1F01; 192 enum uint GL_VERSION = 0x1F02; 193 enum uint GL_EXTENSIONS = 0x1F03; 194 enum uint GL_NEAREST = 0x2600; 195 enum uint GL_LINEAR = 0x2601; 196 enum uint GL_NEAREST_MIPMAP_NEAREST = 0x2700; 197 enum uint GL_LINEAR_MIPMAP_NEAREST = 0x2701; 198 enum uint GL_NEAREST_MIPMAP_LINEAR = 0x2702; 199 enum uint GL_LINEAR_MIPMAP_LINEAR = 0x2703; 200 enum uint GL_TEXTURE_MAG_FILTER = 0x2800; 201 enum uint GL_TEXTURE_MIN_FILTER = 0x2801; 202 enum uint GL_TEXTURE_WRAP_S = 0x2802; 203 enum uint GL_TEXTURE_WRAP_T = 0x2803; 204 enum uint GL_TEXTURE = 0x1702; 205 enum uint GL_TEXTURE_CUBE_MAP = 0x8513; 206 enum uint GL_TEXTURE_BINDING_CUBE_MAP = 0x8514; 207 enum uint GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; 208 enum uint GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; 209 enum uint GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; 210 enum uint GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; 211 enum uint GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; 212 enum uint GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; 213 enum uint GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; 214 enum uint GL_TEXTURE0 = 0x84C0; 215 enum uint GL_TEXTURE1 = 0x84C1; 216 enum uint GL_TEXTURE2 = 0x84C2; 217 enum uint GL_TEXTURE3 = 0x84C3; 218 enum uint GL_TEXTURE4 = 0x84C4; 219 enum uint GL_TEXTURE5 = 0x84C5; 220 enum uint GL_TEXTURE6 = 0x84C6; 221 enum uint GL_TEXTURE7 = 0x84C7; 222 enum uint GL_TEXTURE8 = 0x84C8; 223 enum uint GL_TEXTURE9 = 0x84C9; 224 enum uint GL_TEXTURE10 = 0x84CA; 225 enum uint GL_TEXTURE11 = 0x84CB; 226 enum uint GL_TEXTURE12 = 0x84CC; 227 enum uint GL_TEXTURE13 = 0x84CD; 228 enum uint GL_TEXTURE14 = 0x84CE; 229 enum uint GL_TEXTURE15 = 0x84CF; 230 enum uint GL_TEXTURE16 = 0x84D0; 231 enum uint GL_TEXTURE17 = 0x84D1; 232 enum uint GL_TEXTURE18 = 0x84D2; 233 enum uint GL_TEXTURE19 = 0x84D3; 234 enum uint GL_TEXTURE20 = 0x84D4; 235 enum uint GL_TEXTURE21 = 0x84D5; 236 enum uint GL_TEXTURE22 = 0x84D6; 237 enum uint GL_TEXTURE23 = 0x84D7; 238 enum uint GL_TEXTURE24 = 0x84D8; 239 enum uint GL_TEXTURE25 = 0x84D9; 240 enum uint GL_TEXTURE26 = 0x84DA; 241 enum uint GL_TEXTURE27 = 0x84DB; 242 enum uint GL_TEXTURE28 = 0x84DC; 243 enum uint GL_TEXTURE29 = 0x84DD; 244 enum uint GL_TEXTURE30 = 0x84DE; 245 enum uint GL_TEXTURE31 = 0x84DF; 246 enum uint GL_ACTIVE_TEXTURE = 0x84E0; 247 enum uint GL_REPEAT = 0x2901; 248 enum uint GL_CLAMP_TO_EDGE = 0x812F; 249 enum uint GL_MIRRORED_REPEAT = 0x8370; 250 enum uint GL_FLOAT_VEC2 = 0x8B50; 251 enum uint GL_FLOAT_VEC3 = 0x8B51; 252 enum uint GL_FLOAT_VEC4 = 0x8B52; 253 enum uint GL_INT_VEC2 = 0x8B53; 254 enum uint GL_INT_VEC3 = 0x8B54; 255 enum uint GL_INT_VEC4 = 0x8B55; 256 enum uint GL_BOOL = 0x8B56; 257 enum uint GL_BOOL_VEC2 = 0x8B57; 258 enum uint GL_BOOL_VEC3 = 0x8B58; 259 enum uint GL_BOOL_VEC4 = 0x8B59; 260 enum uint GL_FLOAT_MAT2 = 0x8B5A; 261 enum uint GL_FLOAT_MAT3 = 0x8B5B; 262 enum uint GL_FLOAT_MAT4 = 0x8B5C; 263 enum uint GL_SAMPLER_2D = 0x8B5E; 264 enum uint GL_SAMPLER_CUBE = 0x8B60; 265 enum uint GL_VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; 266 enum uint GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; 267 enum uint GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; 268 enum uint GL_VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; 269 enum uint GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; 270 enum uint GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; 271 enum uint GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; 272 enum uint GL_IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; 273 enum uint GL_IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; 274 enum uint GL_COMPILE_STATUS = 0x8B81; 275 enum uint GL_INFO_LOG_LENGTH = 0x8B84; 276 enum uint GL_SHADER_SOURCE_LENGTH = 0x8B88; 277 enum uint GL_SHADER_COMPILER = 0x8DFA; 278 enum uint GL_SHADER_BINARY_FORMATS = 0x8DF8; 279 enum uint GL_NUM_SHADER_BINARY_FORMATS = 0x8DF9; 280 enum uint GL_LOW_FLOAT = 0x8DF0; 281 enum uint GL_MEDIUM_FLOAT = 0x8DF1; 282 enum uint GL_HIGH_FLOAT = 0x8DF2; 283 enum uint GL_LOW_INT = 0x8DF3; 284 enum uint GL_MEDIUM_INT = 0x8DF4; 285 enum uint GL_HIGH_INT = 0x8DF5; 286 enum uint GL_FRAMEBUFFER = 0x8D40; 287 enum uint GL_RENDERBUFFER = 0x8D41; 288 enum uint GL_RGBA4 = 0x8056; 289 enum uint GL_RGB5_A1 = 0x8057; 290 enum uint GL_RGB565 = 0x8D62; 291 enum uint GL_DEPTH_COMPONENT16 = 0x81A5; 292 enum uint GL_STENCIL_INDEX8 = 0x8D48; 293 enum uint GL_RENDERBUFFER_WIDTH = 0x8D42; 294 enum uint GL_RENDERBUFFER_HEIGHT = 0x8D43; 295 enum uint GL_RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; 296 enum uint GL_RENDERBUFFER_RED_SIZE = 0x8D50; 297 enum uint GL_RENDERBUFFER_GREEN_SIZE = 0x8D51; 298 enum uint GL_RENDERBUFFER_BLUE_SIZE = 0x8D52; 299 enum uint GL_RENDERBUFFER_ALPHA_SIZE = 0x8D53; 300 enum uint GL_RENDERBUFFER_DEPTH_SIZE = 0x8D54; 301 enum uint GL_RENDERBUFFER_STENCIL_SIZE = 0x8D55; 302 enum uint GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; 303 enum uint GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; 304 enum uint GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; 305 enum uint GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; 306 enum uint GL_COLOR_ATTACHMENT0 = 0x8CE0; 307 enum uint GL_DEPTH_ATTACHMENT = 0x8D00; 308 enum uint GL_STENCIL_ATTACHMENT = 0x8D20; 309 // enum uint GL_NONE = 0; 310 enum uint GL_FRAMEBUFFER_COMPLETE = 0x8CD5; 311 enum uint GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; 312 enum uint GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; 313 enum uint GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; 314 enum uint GL_FRAMEBUFFER_UNSUPPORTED = 0x8CDD; 315 enum uint GL_FRAMEBUFFER_BINDING = 0x8CA6; 316 enum uint GL_RENDERBUFFER_BINDING = 0x8CA7; 317 enum uint GL_MAX_RENDERBUFFER_SIZE = 0x84E8; 318 enum uint GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506; 319 enum uint GL_READ_BUFFER = 0x0C02; 320 enum uint GL_UNPACK_ROW_LENGTH = 0x0CF2; 321 enum uint GL_UNPACK_SKIP_ROWS = 0x0CF3; 322 enum uint GL_UNPACK_SKIP_PIXELS = 0x0CF4; 323 enum uint GL_PACK_ROW_LENGTH = 0x0D02; 324 enum uint GL_PACK_SKIP_ROWS = 0x0D03; 325 enum uint GL_PACK_SKIP_PIXELS = 0x0D04; 326 enum uint GL_COLOR = 0x1800; 327 enum uint GL_DEPTH = 0x1801; 328 enum uint GL_STENCIL = 0x1802; 329 enum uint GL_RED = 0x1903; 330 enum uint GL_RGB8 = 0x8051; 331 enum uint GL_RGBA8 = 0x8058; 332 enum uint GL_RGB10_A2 = 0x8059; 333 enum uint GL_TEXTURE_BINDING_3D = 0x806A; 334 enum uint GL_UNPACK_SKIP_IMAGES = 0x806D; 335 enum uint GL_UNPACK_IMAGE_HEIGHT = 0x806E; 336 enum uint GL_TEXTURE_3D = 0x806F; 337 enum uint GL_TEXTURE_WRAP_R = 0x8072; 338 enum uint GL_MAX_3D_TEXTURE_SIZE = 0x8073; 339 enum uint GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368; 340 enum uint GL_MAX_ELEMENTS_VERTICES = 0x80E8; 341 enum uint GL_MAX_ELEMENTS_INDICES = 0x80E9; 342 enum uint GL_TEXTURE_MIN_LOD = 0x813A; 343 enum uint GL_TEXTURE_MAX_LOD = 0x813B; 344 enum uint GL_TEXTURE_BASE_LEVEL = 0x813C; 345 enum uint GL_TEXTURE_MAX_LEVEL = 0x813D; 346 enum uint GL_MIN = 0x8007; 347 enum uint GL_MAX = 0x8008; 348 enum uint GL_DEPTH_COMPONENT24 = 0x81A6; 349 enum uint GL_MAX_TEXTURE_LOD_BIAS = 0x84FD; 350 enum uint GL_TEXTURE_COMPARE_MODE = 0x884C; 351 enum uint GL_TEXTURE_COMPARE_FUNC = 0x884D; 352 enum uint GL_CURRENT_QUERY = 0x8865; 353 enum uint GL_QUERY_RESULT = 0x8866; 354 enum uint GL_QUERY_RESULT_AVAILABLE = 0x8867; 355 enum uint GL_BUFFER_MAPPED = 0x88BC; 356 enum uint GL_BUFFER_MAP_POINTER = 0x88BD; 357 enum uint GL_STREAM_READ = 0x88E1; 358 enum uint GL_STREAM_COPY = 0x88E2; 359 enum uint GL_STATIC_READ = 0x88E5; 360 enum uint GL_STATIC_COPY = 0x88E6; 361 enum uint GL_DYNAMIC_READ = 0x88E9; 362 enum uint GL_DYNAMIC_COPY = 0x88EA; 363 enum uint GL_MAX_DRAW_BUFFERS = 0x8824; 364 enum uint GL_DRAW_BUFFER0 = 0x8825; 365 enum uint GL_DRAW_BUFFER1 = 0x8826; 366 enum uint GL_DRAW_BUFFER2 = 0x8827; 367 enum uint GL_DRAW_BUFFER3 = 0x8828; 368 enum uint GL_DRAW_BUFFER4 = 0x8829; 369 enum uint GL_DRAW_BUFFER5 = 0x882A; 370 enum uint GL_DRAW_BUFFER6 = 0x882B; 371 enum uint GL_DRAW_BUFFER7 = 0x882C; 372 enum uint GL_DRAW_BUFFER8 = 0x882D; 373 enum uint GL_DRAW_BUFFER9 = 0x882E; 374 enum uint GL_DRAW_BUFFER10 = 0x882F; 375 enum uint GL_DRAW_BUFFER11 = 0x8830; 376 enum uint GL_DRAW_BUFFER12 = 0x8831; 377 enum uint GL_DRAW_BUFFER13 = 0x8832; 378 enum uint GL_DRAW_BUFFER14 = 0x8833; 379 enum uint GL_DRAW_BUFFER15 = 0x8834; 380 enum uint GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49; 381 enum uint GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A; 382 enum uint GL_SAMPLER_3D = 0x8B5F; 383 enum uint GL_SAMPLER_2D_SHADOW = 0x8B62; 384 enum uint GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B; 385 enum uint GL_PIXEL_PACK_BUFFER = 0x88EB; 386 enum uint GL_PIXEL_UNPACK_BUFFER = 0x88EC; 387 enum uint GL_PIXEL_PACK_BUFFER_BINDING = 0x88ED; 388 enum uint GL_PIXEL_UNPACK_BUFFER_BINDING = 0x88EF; 389 enum uint GL_FLOAT_MAT2x3 = 0x8B65; 390 enum uint GL_FLOAT_MAT2x4 = 0x8B66; 391 enum uint GL_FLOAT_MAT3x2 = 0x8B67; 392 enum uint GL_FLOAT_MAT3x4 = 0x8B68; 393 enum uint GL_FLOAT_MAT4x2 = 0x8B69; 394 enum uint GL_FLOAT_MAT4x3 = 0x8B6A; 395 enum uint GL_SRGB = 0x8C40; 396 enum uint GL_SRGB8 = 0x8C41; 397 enum uint GL_SRGB8_ALPHA8 = 0x8C43; 398 enum uint GL_COMPARE_REF_TO_TEXTURE = 0x884E; 399 enum uint GL_MAJOR_VERSION = 0x821B; 400 enum uint GL_MINOR_VERSION = 0x821C; 401 enum uint GL_NUM_EXTENSIONS = 0x821D; 402 enum uint GL_RGBA32F = 0x8814; 403 enum uint GL_RGB32F = 0x8815; 404 enum uint GL_RGBA16F = 0x881A; 405 enum uint GL_RGB16F = 0x881B; 406 enum uint GL_VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD; 407 enum uint GL_MAX_ARRAY_TEXTURE_LAYERS = 0x88FF; 408 enum uint GL_MIN_PROGRAM_TEXEL_OFFSET = 0x8904; 409 enum uint GL_MAX_PROGRAM_TEXEL_OFFSET = 0x8905; 410 enum uint GL_MAX_VARYING_COMPONENTS = 0x8B4B; 411 enum uint GL_TEXTURE_2D_ARRAY = 0x8C1A; 412 enum uint GL_TEXTURE_BINDING_2D_ARRAY = 0x8C1D; 413 enum uint GL_R11F_G11F_B10F = 0x8C3A; 414 enum uint GL_UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B; 415 enum uint GL_RGB9_E5 = 0x8C3D; 416 enum uint GL_UNSIGNED_INT_5_9_9_9_REV = 0x8C3E; 417 enum uint GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76; 418 enum uint GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F; 419 enum uint GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80; 420 enum uint GL_TRANSFORM_FEEDBACK_VARYINGS = 0x8C83; 421 enum uint GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84; 422 enum uint GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85; 423 enum uint GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88; 424 enum uint GL_RASTERIZER_DISCARD = 0x8C89; 425 enum uint GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A; 426 enum uint GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B; 427 enum uint GL_INTERLEAVED_ATTRIBS = 0x8C8C; 428 enum uint GL_SEPARATE_ATTRIBS = 0x8C8D; 429 enum uint GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E; 430 enum uint GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F; 431 enum uint GL_RGBA32UI = 0x8D70; 432 enum uint GL_RGB32UI = 0x8D71; 433 enum uint GL_RGBA16UI = 0x8D76; 434 enum uint GL_RGB16UI = 0x8D77; 435 enum uint GL_RGBA8UI = 0x8D7C; 436 enum uint GL_RGB8UI = 0x8D7D; 437 enum uint GL_RGBA32I = 0x8D82; 438 enum uint GL_RGB32I = 0x8D83; 439 enum uint GL_RGBA16I = 0x8D88; 440 enum uint GL_RGB16I = 0x8D89; 441 enum uint GL_RGBA8I = 0x8D8E; 442 enum uint GL_RGB8I = 0x8D8F; 443 enum uint GL_RED_INTEGER = 0x8D94; 444 enum uint GL_RGB_INTEGER = 0x8D98; 445 enum uint GL_RGBA_INTEGER = 0x8D99; 446 enum uint GL_SAMPLER_2D_ARRAY = 0x8DC1; 447 enum uint GL_SAMPLER_2D_ARRAY_SHADOW = 0x8DC4; 448 enum uint GL_SAMPLER_CUBE_SHADOW = 0x8DC5; 449 enum uint GL_UNSIGNED_INT_VEC2 = 0x8DC6; 450 enum uint GL_UNSIGNED_INT_VEC3 = 0x8DC7; 451 enum uint GL_UNSIGNED_INT_VEC4 = 0x8DC8; 452 enum uint GL_INT_SAMPLER_2D = 0x8DCA; 453 enum uint GL_INT_SAMPLER_3D = 0x8DCB; 454 enum uint GL_INT_SAMPLER_CUBE = 0x8DCC; 455 enum uint GL_INT_SAMPLER_2D_ARRAY = 0x8DCF; 456 enum uint GL_UNSIGNED_INT_SAMPLER_2D = 0x8DD2; 457 enum uint GL_UNSIGNED_INT_SAMPLER_3D = 0x8DD3; 458 enum uint GL_UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4; 459 enum uint GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7; 460 enum uint GL_BUFFER_ACCESS_FLAGS = 0x911F; 461 enum uint GL_BUFFER_MAP_LENGTH = 0x9120; 462 enum uint GL_BUFFER_MAP_OFFSET = 0x9121; 463 enum uint GL_DEPTH_COMPONENT32F = 0x8CAC; 464 enum uint GL_DEPTH32F_STENCIL8 = 0x8CAD; 465 enum uint GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD; 466 enum uint GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210; 467 enum uint GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211; 468 enum uint GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212; 469 enum uint GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213; 470 enum uint GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214; 471 enum uint GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215; 472 enum uint GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216; 473 enum uint GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217; 474 enum uint GL_FRAMEBUFFER_DEFAULT = 0x8218; 475 enum uint GL_FRAMEBUFFER_UNDEFINED = 0x8219; 476 enum uint GL_DEPTH_STENCIL_ATTACHMENT = 0x821A; 477 enum uint GL_DEPTH_STENCIL = 0x84F9; 478 enum uint GL_UNSIGNED_INT_24_8 = 0x84FA; 479 enum uint GL_DEPTH24_STENCIL8 = 0x88F0; 480 enum uint GL_UNSIGNED_NORMALIZED = 0x8C17; 481 enum uint GL_DRAW_FRAMEBUFFER_BINDING = 0x8CA6; 482 enum uint GL_READ_FRAMEBUFFER = 0x8CA8; 483 enum uint GL_DRAW_FRAMEBUFFER = 0x8CA9; 484 enum uint GL_READ_FRAMEBUFFER_BINDING = 0x8CAA; 485 enum uint GL_RENDERBUFFER_SAMPLES = 0x8CAB; 486 enum uint GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4; 487 enum uint GL_MAX_COLOR_ATTACHMENTS = 0x8CDF; 488 enum uint GL_COLOR_ATTACHMENT1 = 0x8CE1; 489 enum uint GL_COLOR_ATTACHMENT2 = 0x8CE2; 490 enum uint GL_COLOR_ATTACHMENT3 = 0x8CE3; 491 enum uint GL_COLOR_ATTACHMENT4 = 0x8CE4; 492 enum uint GL_COLOR_ATTACHMENT5 = 0x8CE5; 493 enum uint GL_COLOR_ATTACHMENT6 = 0x8CE6; 494 enum uint GL_COLOR_ATTACHMENT7 = 0x8CE7; 495 enum uint GL_COLOR_ATTACHMENT8 = 0x8CE8; 496 enum uint GL_COLOR_ATTACHMENT9 = 0x8CE9; 497 enum uint GL_COLOR_ATTACHMENT10 = 0x8CEA; 498 enum uint GL_COLOR_ATTACHMENT11 = 0x8CEB; 499 enum uint GL_COLOR_ATTACHMENT12 = 0x8CEC; 500 enum uint GL_COLOR_ATTACHMENT13 = 0x8CED; 501 enum uint GL_COLOR_ATTACHMENT14 = 0x8CEE; 502 enum uint GL_COLOR_ATTACHMENT15 = 0x8CEF; 503 enum uint GL_COLOR_ATTACHMENT16 = 0x8CF0; 504 enum uint GL_COLOR_ATTACHMENT17 = 0x8CF1; 505 enum uint GL_COLOR_ATTACHMENT18 = 0x8CF2; 506 enum uint GL_COLOR_ATTACHMENT19 = 0x8CF3; 507 enum uint GL_COLOR_ATTACHMENT20 = 0x8CF4; 508 enum uint GL_COLOR_ATTACHMENT21 = 0x8CF5; 509 enum uint GL_COLOR_ATTACHMENT22 = 0x8CF6; 510 enum uint GL_COLOR_ATTACHMENT23 = 0x8CF7; 511 enum uint GL_COLOR_ATTACHMENT24 = 0x8CF8; 512 enum uint GL_COLOR_ATTACHMENT25 = 0x8CF9; 513 enum uint GL_COLOR_ATTACHMENT26 = 0x8CFA; 514 enum uint GL_COLOR_ATTACHMENT27 = 0x8CFB; 515 enum uint GL_COLOR_ATTACHMENT28 = 0x8CFC; 516 enum uint GL_COLOR_ATTACHMENT29 = 0x8CFD; 517 enum uint GL_COLOR_ATTACHMENT30 = 0x8CFE; 518 enum uint GL_COLOR_ATTACHMENT31 = 0x8CFF; 519 enum uint GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56; 520 enum uint GL_MAX_SAMPLES = 0x8D57; 521 enum uint GL_HALF_FLOAT = 0x140B; 522 enum uint GL_MAP_READ_BIT = 0x0001; 523 enum uint GL_MAP_WRITE_BIT = 0x0002; 524 enum uint GL_MAP_INVALIDATE_RANGE_BIT = 0x0004; 525 enum uint GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008; 526 enum uint GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010; 527 enum uint GL_MAP_UNSYNCHRONIZED_BIT = 0x0020; 528 enum uint GL_RG = 0x8227; 529 enum uint GL_RG_INTEGER = 0x8228; 530 enum uint GL_R8 = 0x8229; 531 enum uint GL_RG8 = 0x822B; 532 enum uint GL_R16F = 0x822D; 533 enum uint GL_R32F = 0x822E; 534 enum uint GL_RG16F = 0x822F; 535 enum uint GL_RG32F = 0x8230; 536 enum uint GL_R8I = 0x8231; 537 enum uint GL_R8UI = 0x8232; 538 enum uint GL_R16I = 0x8233; 539 enum uint GL_R16UI = 0x8234; 540 enum uint GL_R32I = 0x8235; 541 enum uint GL_R32UI = 0x8236; 542 enum uint GL_RG8I = 0x8237; 543 enum uint GL_RG8UI = 0x8238; 544 enum uint GL_RG16I = 0x8239; 545 enum uint GL_RG16UI = 0x823A; 546 enum uint GL_RG32I = 0x823B; 547 enum uint GL_RG32UI = 0x823C; 548 enum uint GL_VERTEX_ARRAY_BINDING = 0x85B5; 549 enum uint GL_R8_SNORM = 0x8F94; 550 enum uint GL_RG8_SNORM = 0x8F95; 551 enum uint GL_RGB8_SNORM = 0x8F96; 552 enum uint GL_RGBA8_SNORM = 0x8F97; 553 enum uint GL_SIGNED_NORMALIZED = 0x8F9C; 554 enum uint GL_PRIMITIVE_RESTART_FIXED_INDEX = 0x8D69; 555 enum uint GL_COPY_READ_BUFFER = 0x8F36; 556 enum uint GL_COPY_WRITE_BUFFER = 0x8F37; 557 enum uint GL_COPY_READ_BUFFER_BINDING = 0x8F36; 558 enum uint GL_COPY_WRITE_BUFFER_BINDING = 0x8F37; 559 enum uint GL_UNIFORM_BUFFER = 0x8A11; 560 enum uint GL_UNIFORM_BUFFER_BINDING = 0x8A28; 561 enum uint GL_UNIFORM_BUFFER_START = 0x8A29; 562 enum uint GL_UNIFORM_BUFFER_SIZE = 0x8A2A; 563 enum uint GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B; 564 enum uint GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D; 565 enum uint GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E; 566 enum uint GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F; 567 enum uint GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30; 568 enum uint GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31; 569 enum uint GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33; 570 enum uint GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34; 571 enum uint GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35; 572 enum uint GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36; 573 enum uint GL_UNIFORM_TYPE = 0x8A37; 574 enum uint GL_UNIFORM_SIZE = 0x8A38; 575 enum uint GL_UNIFORM_NAME_LENGTH = 0x8A39; 576 enum uint GL_UNIFORM_BLOCK_INDEX = 0x8A3A; 577 enum uint GL_UNIFORM_OFFSET = 0x8A3B; 578 enum uint GL_UNIFORM_ARRAY_STRIDE = 0x8A3C; 579 enum uint GL_UNIFORM_MATRIX_STRIDE = 0x8A3D; 580 enum uint GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E; 581 enum uint GL_UNIFORM_BLOCK_BINDING = 0x8A3F; 582 enum uint GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40; 583 enum uint GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41; 584 enum uint GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42; 585 enum uint GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43; 586 enum uint GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44; 587 enum uint GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46; 588 enum uint GL_MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122; 589 enum uint GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125; 590 enum uint GL_MAX_SERVER_WAIT_TIMEOUT = 0x9111; 591 enum uint GL_OBJECT_TYPE = 0x9112; 592 enum uint GL_SYNC_CONDITION = 0x9113; 593 enum uint GL_SYNC_STATUS = 0x9114; 594 enum uint GL_SYNC_FLAGS = 0x9115; 595 enum uint GL_SYNC_FENCE = 0x9116; 596 enum uint GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117; 597 enum uint GL_UNSIGNALED = 0x9118; 598 enum uint GL_SIGNALED = 0x9119; 599 enum uint GL_ALREADY_SIGNALED = 0x911A; 600 enum uint GL_TIMEOUT_EXPIRED = 0x911B; 601 enum uint GL_CONDITION_SATISFIED = 0x911C; 602 enum uint GL_WAIT_FAILED = 0x911D; 603 enum uint GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001; 604 enum uint GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE; 605 enum uint GL_ANY_SAMPLES_PASSED = 0x8C2F; 606 enum uint GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A; 607 enum uint GL_SAMPLER_BINDING = 0x8919; 608 enum uint GL_RGB10_A2UI = 0x906F; 609 enum uint GL_TEXTURE_SWIZZLE_R = 0x8E42; 610 enum uint GL_TEXTURE_SWIZZLE_G = 0x8E43; 611 enum uint GL_TEXTURE_SWIZZLE_B = 0x8E44; 612 enum uint GL_TEXTURE_SWIZZLE_A = 0x8E45; 613 enum uint GL_GREEN = 0x1904; 614 enum uint GL_BLUE = 0x1905; 615 enum uint GL_INT_2_10_10_10_REV = 0x8D9F; 616 enum uint GL_TRANSFORM_FEEDBACK = 0x8E22; 617 enum uint GL_TRANSFORM_FEEDBACK_PAUSED = 0x8E23; 618 enum uint GL_TRANSFORM_FEEDBACK_ACTIVE = 0x8E24; 619 enum uint GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25; 620 enum uint GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257; 621 enum uint GL_PROGRAM_BINARY_LENGTH = 0x8741; 622 enum uint GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE; 623 enum uint GL_PROGRAM_BINARY_FORMATS = 0x87FF; 624 enum uint GL_COMPRESSED_R11_EAC = 0x9270; 625 enum uint GL_COMPRESSED_SIGNED_R11_EAC = 0x9271; 626 enum uint GL_COMPRESSED_RG11_EAC = 0x9272; 627 enum uint GL_COMPRESSED_SIGNED_RG11_EAC = 0x9273; 628 enum uint GL_COMPRESSED_RGB8_ETC2 = 0x9274; 629 enum uint GL_COMPRESSED_SRGB8_ETC2 = 0x9275; 630 enum uint GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276; 631 enum uint GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277; 632 enum uint GL_COMPRESSED_RGBA8_ETC2_EAC = 0x9278; 633 enum uint GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279; 634 enum uint GL_TEXTURE_IMMUTABLE_FORMAT = 0x912F; 635 enum uint GL_MAX_ELEMENT_INDEX = 0x8D6B; 636 enum uint GL_NUM_SAMPLE_COUNTS = 0x9380; 637 enum uint GL_TEXTURE_IMMUTABLE_LEVELS = 0x82DF; 638 enum uint GL_Z400_BINARY_AMD = 0x8740;