glad.h (117215B)
1 /* 2 3 OpenGL loader generated by glad 0.1.34 on Sat Mar 20 05:49:53 2021. 4 5 Language/Generator: C/C++ 6 Specification: gl 7 APIs: gl=3.3 8 Profile: core 9 Extensions: 10 GL_KHR_debug 11 Loader: False 12 Local files: False 13 Omit khrplatform: False 14 Reproducible: False 15 16 Commandline: 17 --profile="core" --api="gl=3.3" --generator="c" --spec="gl" --no-loader --extensions="GL_KHR_debug" 18 Online: 19 https://glad.dav1d.de/#profile=core&language=c&specification=gl&api=gl%3D3.3&extensions=GL_KHR_debug 20 */ 21 22 23 #ifndef __glad_h_ 24 #define __glad_h_ 25 26 #ifdef __gl_h_ 27 #error OpenGL header already included, remove this include, glad already provides it 28 #endif 29 #define __gl_h_ 30 31 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 32 #define APIENTRY __stdcall 33 #endif 34 35 #ifndef APIENTRY 36 #define APIENTRY 37 #endif 38 #ifndef APIENTRYP 39 #define APIENTRYP APIENTRY * 40 #endif 41 42 #ifndef GLAPIENTRY 43 #define GLAPIENTRY APIENTRY 44 #endif 45 46 #ifdef __cplusplus 47 extern "C" { 48 #endif 49 50 struct gladGLversionStruct { 51 int major; 52 int minor; 53 }; 54 55 typedef void* (* GLADloadproc)(const char *name); 56 57 #ifndef GLAPI 58 # if defined(GLAD_GLAPI_EXPORT) 59 # if defined(_WIN32) || defined(__CYGWIN__) 60 # if defined(GLAD_GLAPI_EXPORT_BUILD) 61 # if defined(__GNUC__) 62 # define GLAPI __attribute__ ((dllexport)) extern 63 # else 64 # define GLAPI __declspec(dllexport) extern 65 # endif 66 # else 67 # if defined(__GNUC__) 68 # define GLAPI __attribute__ ((dllimport)) extern 69 # else 70 # define GLAPI __declspec(dllimport) extern 71 # endif 72 # endif 73 # elif defined(__GNUC__) && defined(GLAD_GLAPI_EXPORT_BUILD) 74 # define GLAPI __attribute__ ((visibility ("default"))) extern 75 # else 76 # define GLAPI extern 77 # endif 78 # else 79 # define GLAPI extern 80 # endif 81 #endif 82 83 GLAPI struct gladGLversionStruct GLVersion; 84 GLAPI int gladLoadGLLoader(GLADloadproc); 85 86 #include <KHR/khrplatform.h> 87 typedef unsigned int GLenum; 88 typedef unsigned char GLboolean; 89 typedef unsigned int GLbitfield; 90 typedef void GLvoid; 91 typedef khronos_int8_t GLbyte; 92 typedef khronos_uint8_t GLubyte; 93 typedef khronos_int16_t GLshort; 94 typedef khronos_uint16_t GLushort; 95 typedef int GLint; 96 typedef unsigned int GLuint; 97 typedef khronos_int32_t GLclampx; 98 typedef int GLsizei; 99 typedef khronos_float_t GLfloat; 100 typedef khronos_float_t GLclampf; 101 typedef double GLdouble; 102 typedef double GLclampd; 103 typedef void *GLeglClientBufferEXT; 104 typedef void *GLeglImageOES; 105 typedef char GLchar; 106 typedef char GLcharARB; 107 #ifdef __APPLE__ 108 typedef void *GLhandleARB; 109 #else 110 typedef unsigned int GLhandleARB; 111 #endif 112 typedef khronos_uint16_t GLhalf; 113 typedef khronos_uint16_t GLhalfARB; 114 typedef khronos_int32_t GLfixed; 115 typedef khronos_intptr_t GLintptr; 116 typedef khronos_intptr_t GLintptrARB; 117 typedef khronos_ssize_t GLsizeiptr; 118 typedef khronos_ssize_t GLsizeiptrARB; 119 typedef khronos_int64_t GLint64; 120 typedef khronos_int64_t GLint64EXT; 121 typedef khronos_uint64_t GLuint64; 122 typedef khronos_uint64_t GLuint64EXT; 123 typedef struct __GLsync *GLsync; 124 struct _cl_context; 125 struct _cl_event; 126 typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 127 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 128 typedef void (APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 129 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam); 130 typedef unsigned short GLhalfNV; 131 typedef GLintptr GLvdpauSurfaceNV; 132 typedef void (APIENTRY *GLVULKANPROCNV)(void); 133 #define GL_DEPTH_BUFFER_BIT 0x00000100 134 #define GL_STENCIL_BUFFER_BIT 0x00000400 135 #define GL_COLOR_BUFFER_BIT 0x00004000 136 #define GL_FALSE 0 137 #define GL_TRUE 1 138 #define GL_POINTS 0x0000 139 #define GL_LINES 0x0001 140 #define GL_LINE_LOOP 0x0002 141 #define GL_LINE_STRIP 0x0003 142 #define GL_TRIANGLES 0x0004 143 #define GL_TRIANGLE_STRIP 0x0005 144 #define GL_TRIANGLE_FAN 0x0006 145 #define GL_NEVER 0x0200 146 #define GL_LESS 0x0201 147 #define GL_EQUAL 0x0202 148 #define GL_LEQUAL 0x0203 149 #define GL_GREATER 0x0204 150 #define GL_NOTEQUAL 0x0205 151 #define GL_GEQUAL 0x0206 152 #define GL_ALWAYS 0x0207 153 #define GL_ZERO 0 154 #define GL_ONE 1 155 #define GL_SRC_COLOR 0x0300 156 #define GL_ONE_MINUS_SRC_COLOR 0x0301 157 #define GL_SRC_ALPHA 0x0302 158 #define GL_ONE_MINUS_SRC_ALPHA 0x0303 159 #define GL_DST_ALPHA 0x0304 160 #define GL_ONE_MINUS_DST_ALPHA 0x0305 161 #define GL_DST_COLOR 0x0306 162 #define GL_ONE_MINUS_DST_COLOR 0x0307 163 #define GL_SRC_ALPHA_SATURATE 0x0308 164 #define GL_NONE 0 165 #define GL_FRONT_LEFT 0x0400 166 #define GL_FRONT_RIGHT 0x0401 167 #define GL_BACK_LEFT 0x0402 168 #define GL_BACK_RIGHT 0x0403 169 #define GL_FRONT 0x0404 170 #define GL_BACK 0x0405 171 #define GL_LEFT 0x0406 172 #define GL_RIGHT 0x0407 173 #define GL_FRONT_AND_BACK 0x0408 174 #define GL_NO_ERROR 0 175 #define GL_INVALID_ENUM 0x0500 176 #define GL_INVALID_VALUE 0x0501 177 #define GL_INVALID_OPERATION 0x0502 178 #define GL_OUT_OF_MEMORY 0x0505 179 #define GL_CW 0x0900 180 #define GL_CCW 0x0901 181 #define GL_POINT_SIZE 0x0B11 182 #define GL_POINT_SIZE_RANGE 0x0B12 183 #define GL_POINT_SIZE_GRANULARITY 0x0B13 184 #define GL_LINE_SMOOTH 0x0B20 185 #define GL_LINE_WIDTH 0x0B21 186 #define GL_LINE_WIDTH_RANGE 0x0B22 187 #define GL_LINE_WIDTH_GRANULARITY 0x0B23 188 #define GL_POLYGON_MODE 0x0B40 189 #define GL_POLYGON_SMOOTH 0x0B41 190 #define GL_CULL_FACE 0x0B44 191 #define GL_CULL_FACE_MODE 0x0B45 192 #define GL_FRONT_FACE 0x0B46 193 #define GL_DEPTH_RANGE 0x0B70 194 #define GL_DEPTH_TEST 0x0B71 195 #define GL_DEPTH_WRITEMASK 0x0B72 196 #define GL_DEPTH_CLEAR_VALUE 0x0B73 197 #define GL_DEPTH_FUNC 0x0B74 198 #define GL_STENCIL_TEST 0x0B90 199 #define GL_STENCIL_CLEAR_VALUE 0x0B91 200 #define GL_STENCIL_FUNC 0x0B92 201 #define GL_STENCIL_VALUE_MASK 0x0B93 202 #define GL_STENCIL_FAIL 0x0B94 203 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 204 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 205 #define GL_STENCIL_REF 0x0B97 206 #define GL_STENCIL_WRITEMASK 0x0B98 207 #define GL_VIEWPORT 0x0BA2 208 #define GL_DITHER 0x0BD0 209 #define GL_BLEND_DST 0x0BE0 210 #define GL_BLEND_SRC 0x0BE1 211 #define GL_BLEND 0x0BE2 212 #define GL_LOGIC_OP_MODE 0x0BF0 213 #define GL_DRAW_BUFFER 0x0C01 214 #define GL_READ_BUFFER 0x0C02 215 #define GL_SCISSOR_BOX 0x0C10 216 #define GL_SCISSOR_TEST 0x0C11 217 #define GL_COLOR_CLEAR_VALUE 0x0C22 218 #define GL_COLOR_WRITEMASK 0x0C23 219 #define GL_DOUBLEBUFFER 0x0C32 220 #define GL_STEREO 0x0C33 221 #define GL_LINE_SMOOTH_HINT 0x0C52 222 #define GL_POLYGON_SMOOTH_HINT 0x0C53 223 #define GL_UNPACK_SWAP_BYTES 0x0CF0 224 #define GL_UNPACK_LSB_FIRST 0x0CF1 225 #define GL_UNPACK_ROW_LENGTH 0x0CF2 226 #define GL_UNPACK_SKIP_ROWS 0x0CF3 227 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 228 #define GL_UNPACK_ALIGNMENT 0x0CF5 229 #define GL_PACK_SWAP_BYTES 0x0D00 230 #define GL_PACK_LSB_FIRST 0x0D01 231 #define GL_PACK_ROW_LENGTH 0x0D02 232 #define GL_PACK_SKIP_ROWS 0x0D03 233 #define GL_PACK_SKIP_PIXELS 0x0D04 234 #define GL_PACK_ALIGNMENT 0x0D05 235 #define GL_MAX_TEXTURE_SIZE 0x0D33 236 #define GL_MAX_VIEWPORT_DIMS 0x0D3A 237 #define GL_SUBPIXEL_BITS 0x0D50 238 #define GL_TEXTURE_1D 0x0DE0 239 #define GL_TEXTURE_2D 0x0DE1 240 #define GL_TEXTURE_WIDTH 0x1000 241 #define GL_TEXTURE_HEIGHT 0x1001 242 #define GL_TEXTURE_BORDER_COLOR 0x1004 243 #define GL_DONT_CARE 0x1100 244 #define GL_FASTEST 0x1101 245 #define GL_NICEST 0x1102 246 #define GL_BYTE 0x1400 247 #define GL_UNSIGNED_BYTE 0x1401 248 #define GL_SHORT 0x1402 249 #define GL_UNSIGNED_SHORT 0x1403 250 #define GL_INT 0x1404 251 #define GL_UNSIGNED_INT 0x1405 252 #define GL_FLOAT 0x1406 253 #define GL_CLEAR 0x1500 254 #define GL_AND 0x1501 255 #define GL_AND_REVERSE 0x1502 256 #define GL_COPY 0x1503 257 #define GL_AND_INVERTED 0x1504 258 #define GL_NOOP 0x1505 259 #define GL_XOR 0x1506 260 #define GL_OR 0x1507 261 #define GL_NOR 0x1508 262 #define GL_EQUIV 0x1509 263 #define GL_INVERT 0x150A 264 #define GL_OR_REVERSE 0x150B 265 #define GL_COPY_INVERTED 0x150C 266 #define GL_OR_INVERTED 0x150D 267 #define GL_NAND 0x150E 268 #define GL_SET 0x150F 269 #define GL_TEXTURE 0x1702 270 #define GL_COLOR 0x1800 271 #define GL_DEPTH 0x1801 272 #define GL_STENCIL 0x1802 273 #define GL_STENCIL_INDEX 0x1901 274 #define GL_DEPTH_COMPONENT 0x1902 275 #define GL_RED 0x1903 276 #define GL_GREEN 0x1904 277 #define GL_BLUE 0x1905 278 #define GL_ALPHA 0x1906 279 #define GL_RGB 0x1907 280 #define GL_RGBA 0x1908 281 #define GL_POINT 0x1B00 282 #define GL_LINE 0x1B01 283 #define GL_FILL 0x1B02 284 #define GL_KEEP 0x1E00 285 #define GL_REPLACE 0x1E01 286 #define GL_INCR 0x1E02 287 #define GL_DECR 0x1E03 288 #define GL_VENDOR 0x1F00 289 #define GL_RENDERER 0x1F01 290 #define GL_VERSION 0x1F02 291 #define GL_EXTENSIONS 0x1F03 292 #define GL_NEAREST 0x2600 293 #define GL_LINEAR 0x2601 294 #define GL_NEAREST_MIPMAP_NEAREST 0x2700 295 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 296 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 297 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 298 #define GL_TEXTURE_MAG_FILTER 0x2800 299 #define GL_TEXTURE_MIN_FILTER 0x2801 300 #define GL_TEXTURE_WRAP_S 0x2802 301 #define GL_TEXTURE_WRAP_T 0x2803 302 #define GL_REPEAT 0x2901 303 #define GL_COLOR_LOGIC_OP 0x0BF2 304 #define GL_POLYGON_OFFSET_UNITS 0x2A00 305 #define GL_POLYGON_OFFSET_POINT 0x2A01 306 #define GL_POLYGON_OFFSET_LINE 0x2A02 307 #define GL_POLYGON_OFFSET_FILL 0x8037 308 #define GL_POLYGON_OFFSET_FACTOR 0x8038 309 #define GL_TEXTURE_BINDING_1D 0x8068 310 #define GL_TEXTURE_BINDING_2D 0x8069 311 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 312 #define GL_TEXTURE_RED_SIZE 0x805C 313 #define GL_TEXTURE_GREEN_SIZE 0x805D 314 #define GL_TEXTURE_BLUE_SIZE 0x805E 315 #define GL_TEXTURE_ALPHA_SIZE 0x805F 316 #define GL_DOUBLE 0x140A 317 #define GL_PROXY_TEXTURE_1D 0x8063 318 #define GL_PROXY_TEXTURE_2D 0x8064 319 #define GL_R3_G3_B2 0x2A10 320 #define GL_RGB4 0x804F 321 #define GL_RGB5 0x8050 322 #define GL_RGB8 0x8051 323 #define GL_RGB10 0x8052 324 #define GL_RGB12 0x8053 325 #define GL_RGB16 0x8054 326 #define GL_RGBA2 0x8055 327 #define GL_RGBA4 0x8056 328 #define GL_RGB5_A1 0x8057 329 #define GL_RGBA8 0x8058 330 #define GL_RGB10_A2 0x8059 331 #define GL_RGBA12 0x805A 332 #define GL_RGBA16 0x805B 333 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 334 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 335 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 336 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 337 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 338 #define GL_TEXTURE_BINDING_3D 0x806A 339 #define GL_PACK_SKIP_IMAGES 0x806B 340 #define GL_PACK_IMAGE_HEIGHT 0x806C 341 #define GL_UNPACK_SKIP_IMAGES 0x806D 342 #define GL_UNPACK_IMAGE_HEIGHT 0x806E 343 #define GL_TEXTURE_3D 0x806F 344 #define GL_PROXY_TEXTURE_3D 0x8070 345 #define GL_TEXTURE_DEPTH 0x8071 346 #define GL_TEXTURE_WRAP_R 0x8072 347 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 348 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 349 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 350 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 351 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 352 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 353 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 354 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 355 #define GL_BGR 0x80E0 356 #define GL_BGRA 0x80E1 357 #define GL_MAX_ELEMENTS_VERTICES 0x80E8 358 #define GL_MAX_ELEMENTS_INDICES 0x80E9 359 #define GL_CLAMP_TO_EDGE 0x812F 360 #define GL_TEXTURE_MIN_LOD 0x813A 361 #define GL_TEXTURE_MAX_LOD 0x813B 362 #define GL_TEXTURE_BASE_LEVEL 0x813C 363 #define GL_TEXTURE_MAX_LEVEL 0x813D 364 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 365 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 366 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 367 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 368 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 369 #define GL_TEXTURE0 0x84C0 370 #define GL_TEXTURE1 0x84C1 371 #define GL_TEXTURE2 0x84C2 372 #define GL_TEXTURE3 0x84C3 373 #define GL_TEXTURE4 0x84C4 374 #define GL_TEXTURE5 0x84C5 375 #define GL_TEXTURE6 0x84C6 376 #define GL_TEXTURE7 0x84C7 377 #define GL_TEXTURE8 0x84C8 378 #define GL_TEXTURE9 0x84C9 379 #define GL_TEXTURE10 0x84CA 380 #define GL_TEXTURE11 0x84CB 381 #define GL_TEXTURE12 0x84CC 382 #define GL_TEXTURE13 0x84CD 383 #define GL_TEXTURE14 0x84CE 384 #define GL_TEXTURE15 0x84CF 385 #define GL_TEXTURE16 0x84D0 386 #define GL_TEXTURE17 0x84D1 387 #define GL_TEXTURE18 0x84D2 388 #define GL_TEXTURE19 0x84D3 389 #define GL_TEXTURE20 0x84D4 390 #define GL_TEXTURE21 0x84D5 391 #define GL_TEXTURE22 0x84D6 392 #define GL_TEXTURE23 0x84D7 393 #define GL_TEXTURE24 0x84D8 394 #define GL_TEXTURE25 0x84D9 395 #define GL_TEXTURE26 0x84DA 396 #define GL_TEXTURE27 0x84DB 397 #define GL_TEXTURE28 0x84DC 398 #define GL_TEXTURE29 0x84DD 399 #define GL_TEXTURE30 0x84DE 400 #define GL_TEXTURE31 0x84DF 401 #define GL_ACTIVE_TEXTURE 0x84E0 402 #define GL_MULTISAMPLE 0x809D 403 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 404 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F 405 #define GL_SAMPLE_COVERAGE 0x80A0 406 #define GL_SAMPLE_BUFFERS 0x80A8 407 #define GL_SAMPLES 0x80A9 408 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA 409 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB 410 #define GL_TEXTURE_CUBE_MAP 0x8513 411 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 412 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 413 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 414 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 415 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 416 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 417 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A 418 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B 419 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C 420 #define GL_COMPRESSED_RGB 0x84ED 421 #define GL_COMPRESSED_RGBA 0x84EE 422 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF 423 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 424 #define GL_TEXTURE_COMPRESSED 0x86A1 425 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 426 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 427 #define GL_CLAMP_TO_BORDER 0x812D 428 #define GL_BLEND_DST_RGB 0x80C8 429 #define GL_BLEND_SRC_RGB 0x80C9 430 #define GL_BLEND_DST_ALPHA 0x80CA 431 #define GL_BLEND_SRC_ALPHA 0x80CB 432 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 433 #define GL_DEPTH_COMPONENT16 0x81A5 434 #define GL_DEPTH_COMPONENT24 0x81A6 435 #define GL_DEPTH_COMPONENT32 0x81A7 436 #define GL_MIRRORED_REPEAT 0x8370 437 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD 438 #define GL_TEXTURE_LOD_BIAS 0x8501 439 #define GL_INCR_WRAP 0x8507 440 #define GL_DECR_WRAP 0x8508 441 #define GL_TEXTURE_DEPTH_SIZE 0x884A 442 #define GL_TEXTURE_COMPARE_MODE 0x884C 443 #define GL_TEXTURE_COMPARE_FUNC 0x884D 444 #define GL_BLEND_COLOR 0x8005 445 #define GL_BLEND_EQUATION 0x8009 446 #define GL_CONSTANT_COLOR 0x8001 447 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 448 #define GL_CONSTANT_ALPHA 0x8003 449 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 450 #define GL_FUNC_ADD 0x8006 451 #define GL_FUNC_REVERSE_SUBTRACT 0x800B 452 #define GL_FUNC_SUBTRACT 0x800A 453 #define GL_MIN 0x8007 454 #define GL_MAX 0x8008 455 #define GL_BUFFER_SIZE 0x8764 456 #define GL_BUFFER_USAGE 0x8765 457 #define GL_QUERY_COUNTER_BITS 0x8864 458 #define GL_CURRENT_QUERY 0x8865 459 #define GL_QUERY_RESULT 0x8866 460 #define GL_QUERY_RESULT_AVAILABLE 0x8867 461 #define GL_ARRAY_BUFFER 0x8892 462 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 463 #define GL_ARRAY_BUFFER_BINDING 0x8894 464 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 465 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F 466 #define GL_READ_ONLY 0x88B8 467 #define GL_WRITE_ONLY 0x88B9 468 #define GL_READ_WRITE 0x88BA 469 #define GL_BUFFER_ACCESS 0x88BB 470 #define GL_BUFFER_MAPPED 0x88BC 471 #define GL_BUFFER_MAP_POINTER 0x88BD 472 #define GL_STREAM_DRAW 0x88E0 473 #define GL_STREAM_READ 0x88E1 474 #define GL_STREAM_COPY 0x88E2 475 #define GL_STATIC_DRAW 0x88E4 476 #define GL_STATIC_READ 0x88E5 477 #define GL_STATIC_COPY 0x88E6 478 #define GL_DYNAMIC_DRAW 0x88E8 479 #define GL_DYNAMIC_READ 0x88E9 480 #define GL_DYNAMIC_COPY 0x88EA 481 #define GL_SAMPLES_PASSED 0x8914 482 #define GL_SRC1_ALPHA 0x8589 483 #define GL_BLEND_EQUATION_RGB 0x8009 484 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 485 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 486 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 487 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 488 #define GL_CURRENT_VERTEX_ATTRIB 0x8626 489 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 490 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 491 #define GL_STENCIL_BACK_FUNC 0x8800 492 #define GL_STENCIL_BACK_FAIL 0x8801 493 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 494 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 495 #define GL_MAX_DRAW_BUFFERS 0x8824 496 #define GL_DRAW_BUFFER0 0x8825 497 #define GL_DRAW_BUFFER1 0x8826 498 #define GL_DRAW_BUFFER2 0x8827 499 #define GL_DRAW_BUFFER3 0x8828 500 #define GL_DRAW_BUFFER4 0x8829 501 #define GL_DRAW_BUFFER5 0x882A 502 #define GL_DRAW_BUFFER6 0x882B 503 #define GL_DRAW_BUFFER7 0x882C 504 #define GL_DRAW_BUFFER8 0x882D 505 #define GL_DRAW_BUFFER9 0x882E 506 #define GL_DRAW_BUFFER10 0x882F 507 #define GL_DRAW_BUFFER11 0x8830 508 #define GL_DRAW_BUFFER12 0x8831 509 #define GL_DRAW_BUFFER13 0x8832 510 #define GL_DRAW_BUFFER14 0x8833 511 #define GL_DRAW_BUFFER15 0x8834 512 #define GL_BLEND_EQUATION_ALPHA 0x883D 513 #define GL_MAX_VERTEX_ATTRIBS 0x8869 514 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A 515 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 516 #define GL_FRAGMENT_SHADER 0x8B30 517 #define GL_VERTEX_SHADER 0x8B31 518 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 519 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A 520 #define GL_MAX_VARYING_FLOATS 0x8B4B 521 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C 522 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D 523 #define GL_SHADER_TYPE 0x8B4F 524 #define GL_FLOAT_VEC2 0x8B50 525 #define GL_FLOAT_VEC3 0x8B51 526 #define GL_FLOAT_VEC4 0x8B52 527 #define GL_INT_VEC2 0x8B53 528 #define GL_INT_VEC3 0x8B54 529 #define GL_INT_VEC4 0x8B55 530 #define GL_BOOL 0x8B56 531 #define GL_BOOL_VEC2 0x8B57 532 #define GL_BOOL_VEC3 0x8B58 533 #define GL_BOOL_VEC4 0x8B59 534 #define GL_FLOAT_MAT2 0x8B5A 535 #define GL_FLOAT_MAT3 0x8B5B 536 #define GL_FLOAT_MAT4 0x8B5C 537 #define GL_SAMPLER_1D 0x8B5D 538 #define GL_SAMPLER_2D 0x8B5E 539 #define GL_SAMPLER_3D 0x8B5F 540 #define GL_SAMPLER_CUBE 0x8B60 541 #define GL_SAMPLER_1D_SHADOW 0x8B61 542 #define GL_SAMPLER_2D_SHADOW 0x8B62 543 #define GL_DELETE_STATUS 0x8B80 544 #define GL_COMPILE_STATUS 0x8B81 545 #define GL_LINK_STATUS 0x8B82 546 #define GL_VALIDATE_STATUS 0x8B83 547 #define GL_INFO_LOG_LENGTH 0x8B84 548 #define GL_ATTACHED_SHADERS 0x8B85 549 #define GL_ACTIVE_UNIFORMS 0x8B86 550 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 551 #define GL_SHADER_SOURCE_LENGTH 0x8B88 552 #define GL_ACTIVE_ATTRIBUTES 0x8B89 553 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A 554 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B 555 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C 556 #define GL_CURRENT_PROGRAM 0x8B8D 557 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 558 #define GL_LOWER_LEFT 0x8CA1 559 #define GL_UPPER_LEFT 0x8CA2 560 #define GL_STENCIL_BACK_REF 0x8CA3 561 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 562 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 563 #define GL_PIXEL_PACK_BUFFER 0x88EB 564 #define GL_PIXEL_UNPACK_BUFFER 0x88EC 565 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED 566 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF 567 #define GL_FLOAT_MAT2x3 0x8B65 568 #define GL_FLOAT_MAT2x4 0x8B66 569 #define GL_FLOAT_MAT3x2 0x8B67 570 #define GL_FLOAT_MAT3x4 0x8B68 571 #define GL_FLOAT_MAT4x2 0x8B69 572 #define GL_FLOAT_MAT4x3 0x8B6A 573 #define GL_SRGB 0x8C40 574 #define GL_SRGB8 0x8C41 575 #define GL_SRGB_ALPHA 0x8C42 576 #define GL_SRGB8_ALPHA8 0x8C43 577 #define GL_COMPRESSED_SRGB 0x8C48 578 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 579 #define GL_COMPARE_REF_TO_TEXTURE 0x884E 580 #define GL_CLIP_DISTANCE0 0x3000 581 #define GL_CLIP_DISTANCE1 0x3001 582 #define GL_CLIP_DISTANCE2 0x3002 583 #define GL_CLIP_DISTANCE3 0x3003 584 #define GL_CLIP_DISTANCE4 0x3004 585 #define GL_CLIP_DISTANCE5 0x3005 586 #define GL_CLIP_DISTANCE6 0x3006 587 #define GL_CLIP_DISTANCE7 0x3007 588 #define GL_MAX_CLIP_DISTANCES 0x0D32 589 #define GL_MAJOR_VERSION 0x821B 590 #define GL_MINOR_VERSION 0x821C 591 #define GL_NUM_EXTENSIONS 0x821D 592 #define GL_CONTEXT_FLAGS 0x821E 593 #define GL_COMPRESSED_RED 0x8225 594 #define GL_COMPRESSED_RG 0x8226 595 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 596 #define GL_RGBA32F 0x8814 597 #define GL_RGB32F 0x8815 598 #define GL_RGBA16F 0x881A 599 #define GL_RGB16F 0x881B 600 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD 601 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF 602 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 603 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 604 #define GL_CLAMP_READ_COLOR 0x891C 605 #define GL_FIXED_ONLY 0x891D 606 #define GL_MAX_VARYING_COMPONENTS 0x8B4B 607 #define GL_TEXTURE_1D_ARRAY 0x8C18 608 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 609 #define GL_TEXTURE_2D_ARRAY 0x8C1A 610 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B 611 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C 612 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D 613 #define GL_R11F_G11F_B10F 0x8C3A 614 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B 615 #define GL_RGB9_E5 0x8C3D 616 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E 617 #define GL_TEXTURE_SHARED_SIZE 0x8C3F 618 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 619 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F 620 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 621 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 622 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 623 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 624 #define GL_PRIMITIVES_GENERATED 0x8C87 625 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 626 #define GL_RASTERIZER_DISCARD 0x8C89 627 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A 628 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B 629 #define GL_INTERLEAVED_ATTRIBS 0x8C8C 630 #define GL_SEPARATE_ATTRIBS 0x8C8D 631 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E 632 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F 633 #define GL_RGBA32UI 0x8D70 634 #define GL_RGB32UI 0x8D71 635 #define GL_RGBA16UI 0x8D76 636 #define GL_RGB16UI 0x8D77 637 #define GL_RGBA8UI 0x8D7C 638 #define GL_RGB8UI 0x8D7D 639 #define GL_RGBA32I 0x8D82 640 #define GL_RGB32I 0x8D83 641 #define GL_RGBA16I 0x8D88 642 #define GL_RGB16I 0x8D89 643 #define GL_RGBA8I 0x8D8E 644 #define GL_RGB8I 0x8D8F 645 #define GL_RED_INTEGER 0x8D94 646 #define GL_GREEN_INTEGER 0x8D95 647 #define GL_BLUE_INTEGER 0x8D96 648 #define GL_RGB_INTEGER 0x8D98 649 #define GL_RGBA_INTEGER 0x8D99 650 #define GL_BGR_INTEGER 0x8D9A 651 #define GL_BGRA_INTEGER 0x8D9B 652 #define GL_SAMPLER_1D_ARRAY 0x8DC0 653 #define GL_SAMPLER_2D_ARRAY 0x8DC1 654 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 655 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 656 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 657 #define GL_UNSIGNED_INT_VEC2 0x8DC6 658 #define GL_UNSIGNED_INT_VEC3 0x8DC7 659 #define GL_UNSIGNED_INT_VEC4 0x8DC8 660 #define GL_INT_SAMPLER_1D 0x8DC9 661 #define GL_INT_SAMPLER_2D 0x8DCA 662 #define GL_INT_SAMPLER_3D 0x8DCB 663 #define GL_INT_SAMPLER_CUBE 0x8DCC 664 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE 665 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF 666 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 667 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 668 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 669 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 670 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 671 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 672 #define GL_QUERY_WAIT 0x8E13 673 #define GL_QUERY_NO_WAIT 0x8E14 674 #define GL_QUERY_BY_REGION_WAIT 0x8E15 675 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 676 #define GL_BUFFER_ACCESS_FLAGS 0x911F 677 #define GL_BUFFER_MAP_LENGTH 0x9120 678 #define GL_BUFFER_MAP_OFFSET 0x9121 679 #define GL_DEPTH_COMPONENT32F 0x8CAC 680 #define GL_DEPTH32F_STENCIL8 0x8CAD 681 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD 682 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 683 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 684 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 685 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 686 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 687 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 688 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 689 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 690 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 691 #define GL_FRAMEBUFFER_DEFAULT 0x8218 692 #define GL_FRAMEBUFFER_UNDEFINED 0x8219 693 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A 694 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 695 #define GL_DEPTH_STENCIL 0x84F9 696 #define GL_UNSIGNED_INT_24_8 0x84FA 697 #define GL_DEPTH24_STENCIL8 0x88F0 698 #define GL_TEXTURE_STENCIL_SIZE 0x88F1 699 #define GL_TEXTURE_RED_TYPE 0x8C10 700 #define GL_TEXTURE_GREEN_TYPE 0x8C11 701 #define GL_TEXTURE_BLUE_TYPE 0x8C12 702 #define GL_TEXTURE_ALPHA_TYPE 0x8C13 703 #define GL_TEXTURE_DEPTH_TYPE 0x8C16 704 #define GL_UNSIGNED_NORMALIZED 0x8C17 705 #define GL_FRAMEBUFFER_BINDING 0x8CA6 706 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 707 #define GL_RENDERBUFFER_BINDING 0x8CA7 708 #define GL_READ_FRAMEBUFFER 0x8CA8 709 #define GL_DRAW_FRAMEBUFFER 0x8CA9 710 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA 711 #define GL_RENDERBUFFER_SAMPLES 0x8CAB 712 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 713 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 714 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 715 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 716 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 717 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 718 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 719 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 720 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB 721 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC 722 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD 723 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF 724 #define GL_COLOR_ATTACHMENT0 0x8CE0 725 #define GL_COLOR_ATTACHMENT1 0x8CE1 726 #define GL_COLOR_ATTACHMENT2 0x8CE2 727 #define GL_COLOR_ATTACHMENT3 0x8CE3 728 #define GL_COLOR_ATTACHMENT4 0x8CE4 729 #define GL_COLOR_ATTACHMENT5 0x8CE5 730 #define GL_COLOR_ATTACHMENT6 0x8CE6 731 #define GL_COLOR_ATTACHMENT7 0x8CE7 732 #define GL_COLOR_ATTACHMENT8 0x8CE8 733 #define GL_COLOR_ATTACHMENT9 0x8CE9 734 #define GL_COLOR_ATTACHMENT10 0x8CEA 735 #define GL_COLOR_ATTACHMENT11 0x8CEB 736 #define GL_COLOR_ATTACHMENT12 0x8CEC 737 #define GL_COLOR_ATTACHMENT13 0x8CED 738 #define GL_COLOR_ATTACHMENT14 0x8CEE 739 #define GL_COLOR_ATTACHMENT15 0x8CEF 740 #define GL_COLOR_ATTACHMENT16 0x8CF0 741 #define GL_COLOR_ATTACHMENT17 0x8CF1 742 #define GL_COLOR_ATTACHMENT18 0x8CF2 743 #define GL_COLOR_ATTACHMENT19 0x8CF3 744 #define GL_COLOR_ATTACHMENT20 0x8CF4 745 #define GL_COLOR_ATTACHMENT21 0x8CF5 746 #define GL_COLOR_ATTACHMENT22 0x8CF6 747 #define GL_COLOR_ATTACHMENT23 0x8CF7 748 #define GL_COLOR_ATTACHMENT24 0x8CF8 749 #define GL_COLOR_ATTACHMENT25 0x8CF9 750 #define GL_COLOR_ATTACHMENT26 0x8CFA 751 #define GL_COLOR_ATTACHMENT27 0x8CFB 752 #define GL_COLOR_ATTACHMENT28 0x8CFC 753 #define GL_COLOR_ATTACHMENT29 0x8CFD 754 #define GL_COLOR_ATTACHMENT30 0x8CFE 755 #define GL_COLOR_ATTACHMENT31 0x8CFF 756 #define GL_DEPTH_ATTACHMENT 0x8D00 757 #define GL_STENCIL_ATTACHMENT 0x8D20 758 #define GL_FRAMEBUFFER 0x8D40 759 #define GL_RENDERBUFFER 0x8D41 760 #define GL_RENDERBUFFER_WIDTH 0x8D42 761 #define GL_RENDERBUFFER_HEIGHT 0x8D43 762 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 763 #define GL_STENCIL_INDEX1 0x8D46 764 #define GL_STENCIL_INDEX4 0x8D47 765 #define GL_STENCIL_INDEX8 0x8D48 766 #define GL_STENCIL_INDEX16 0x8D49 767 #define GL_RENDERBUFFER_RED_SIZE 0x8D50 768 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 769 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 770 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 771 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 772 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 773 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 774 #define GL_MAX_SAMPLES 0x8D57 775 #define GL_FRAMEBUFFER_SRGB 0x8DB9 776 #define GL_HALF_FLOAT 0x140B 777 #define GL_MAP_READ_BIT 0x0001 778 #define GL_MAP_WRITE_BIT 0x0002 779 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 780 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 781 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 782 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 783 #define GL_COMPRESSED_RED_RGTC1 0x8DBB 784 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC 785 #define GL_COMPRESSED_RG_RGTC2 0x8DBD 786 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE 787 #define GL_RG 0x8227 788 #define GL_RG_INTEGER 0x8228 789 #define GL_R8 0x8229 790 #define GL_R16 0x822A 791 #define GL_RG8 0x822B 792 #define GL_RG16 0x822C 793 #define GL_R16F 0x822D 794 #define GL_R32F 0x822E 795 #define GL_RG16F 0x822F 796 #define GL_RG32F 0x8230 797 #define GL_R8I 0x8231 798 #define GL_R8UI 0x8232 799 #define GL_R16I 0x8233 800 #define GL_R16UI 0x8234 801 #define GL_R32I 0x8235 802 #define GL_R32UI 0x8236 803 #define GL_RG8I 0x8237 804 #define GL_RG8UI 0x8238 805 #define GL_RG16I 0x8239 806 #define GL_RG16UI 0x823A 807 #define GL_RG32I 0x823B 808 #define GL_RG32UI 0x823C 809 #define GL_VERTEX_ARRAY_BINDING 0x85B5 810 #define GL_SAMPLER_2D_RECT 0x8B63 811 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 812 #define GL_SAMPLER_BUFFER 0x8DC2 813 #define GL_INT_SAMPLER_2D_RECT 0x8DCD 814 #define GL_INT_SAMPLER_BUFFER 0x8DD0 815 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 816 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 817 #define GL_TEXTURE_BUFFER 0x8C2A 818 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B 819 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C 820 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D 821 #define GL_TEXTURE_RECTANGLE 0x84F5 822 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 823 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 824 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 825 #define GL_R8_SNORM 0x8F94 826 #define GL_RG8_SNORM 0x8F95 827 #define GL_RGB8_SNORM 0x8F96 828 #define GL_RGBA8_SNORM 0x8F97 829 #define GL_R16_SNORM 0x8F98 830 #define GL_RG16_SNORM 0x8F99 831 #define GL_RGB16_SNORM 0x8F9A 832 #define GL_RGBA16_SNORM 0x8F9B 833 #define GL_SIGNED_NORMALIZED 0x8F9C 834 #define GL_PRIMITIVE_RESTART 0x8F9D 835 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E 836 #define GL_COPY_READ_BUFFER 0x8F36 837 #define GL_COPY_WRITE_BUFFER 0x8F37 838 #define GL_UNIFORM_BUFFER 0x8A11 839 #define GL_UNIFORM_BUFFER_BINDING 0x8A28 840 #define GL_UNIFORM_BUFFER_START 0x8A29 841 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A 842 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B 843 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C 844 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D 845 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E 846 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F 847 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 848 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 849 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 850 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 851 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 852 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 853 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 854 #define GL_UNIFORM_TYPE 0x8A37 855 #define GL_UNIFORM_SIZE 0x8A38 856 #define GL_UNIFORM_NAME_LENGTH 0x8A39 857 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A 858 #define GL_UNIFORM_OFFSET 0x8A3B 859 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C 860 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D 861 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E 862 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F 863 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 864 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 865 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 866 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 867 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 868 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 869 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 870 #define GL_INVALID_INDEX 0xFFFFFFFF 871 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 872 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 873 #define GL_LINES_ADJACENCY 0x000A 874 #define GL_LINE_STRIP_ADJACENCY 0x000B 875 #define GL_TRIANGLES_ADJACENCY 0x000C 876 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D 877 #define GL_PROGRAM_POINT_SIZE 0x8642 878 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 879 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 880 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 881 #define GL_GEOMETRY_SHADER 0x8DD9 882 #define GL_GEOMETRY_VERTICES_OUT 0x8916 883 #define GL_GEOMETRY_INPUT_TYPE 0x8917 884 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918 885 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF 886 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 887 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 888 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 889 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 890 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 891 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 892 #define GL_CONTEXT_PROFILE_MASK 0x9126 893 #define GL_DEPTH_CLAMP 0x864F 894 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C 895 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D 896 #define GL_LAST_VERTEX_CONVENTION 0x8E4E 897 #define GL_PROVOKING_VERTEX 0x8E4F 898 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F 899 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 900 #define GL_OBJECT_TYPE 0x9112 901 #define GL_SYNC_CONDITION 0x9113 902 #define GL_SYNC_STATUS 0x9114 903 #define GL_SYNC_FLAGS 0x9115 904 #define GL_SYNC_FENCE 0x9116 905 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 906 #define GL_UNSIGNALED 0x9118 907 #define GL_SIGNALED 0x9119 908 #define GL_ALREADY_SIGNALED 0x911A 909 #define GL_TIMEOUT_EXPIRED 0x911B 910 #define GL_CONDITION_SATISFIED 0x911C 911 #define GL_WAIT_FAILED 0x911D 912 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFF 913 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 914 #define GL_SAMPLE_POSITION 0x8E50 915 #define GL_SAMPLE_MASK 0x8E51 916 #define GL_SAMPLE_MASK_VALUE 0x8E52 917 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 918 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 919 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 920 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 921 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 922 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 923 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 924 #define GL_TEXTURE_SAMPLES 0x9106 925 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 926 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108 927 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 928 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A 929 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B 930 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C 931 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D 932 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E 933 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F 934 #define GL_MAX_INTEGER_SAMPLES 0x9110 935 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE 936 #define GL_SRC1_COLOR 0x88F9 937 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA 938 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB 939 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC 940 #define GL_ANY_SAMPLES_PASSED 0x8C2F 941 #define GL_SAMPLER_BINDING 0x8919 942 #define GL_RGB10_A2UI 0x906F 943 #define GL_TEXTURE_SWIZZLE_R 0x8E42 944 #define GL_TEXTURE_SWIZZLE_G 0x8E43 945 #define GL_TEXTURE_SWIZZLE_B 0x8E44 946 #define GL_TEXTURE_SWIZZLE_A 0x8E45 947 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 948 #define GL_TIME_ELAPSED 0x88BF 949 #define GL_TIMESTAMP 0x8E28 950 #define GL_INT_2_10_10_10_REV 0x8D9F 951 #ifndef GL_VERSION_1_0 952 #define GL_VERSION_1_0 1 953 GLAPI int GLAD_GL_VERSION_1_0; 954 typedef void (APIENTRYP PFNGLCULLFACEPROC)(GLenum mode); 955 GLAPI PFNGLCULLFACEPROC glad_glCullFace; 956 #define glCullFace glad_glCullFace 957 typedef void (APIENTRYP PFNGLFRONTFACEPROC)(GLenum mode); 958 GLAPI PFNGLFRONTFACEPROC glad_glFrontFace; 959 #define glFrontFace glad_glFrontFace 960 typedef void (APIENTRYP PFNGLHINTPROC)(GLenum target, GLenum mode); 961 GLAPI PFNGLHINTPROC glad_glHint; 962 #define glHint glad_glHint 963 typedef void (APIENTRYP PFNGLLINEWIDTHPROC)(GLfloat width); 964 GLAPI PFNGLLINEWIDTHPROC glad_glLineWidth; 965 #define glLineWidth glad_glLineWidth 966 typedef void (APIENTRYP PFNGLPOINTSIZEPROC)(GLfloat size); 967 GLAPI PFNGLPOINTSIZEPROC glad_glPointSize; 968 #define glPointSize glad_glPointSize 969 typedef void (APIENTRYP PFNGLPOLYGONMODEPROC)(GLenum face, GLenum mode); 970 GLAPI PFNGLPOLYGONMODEPROC glad_glPolygonMode; 971 #define glPolygonMode glad_glPolygonMode 972 typedef void (APIENTRYP PFNGLSCISSORPROC)(GLint x, GLint y, GLsizei width, GLsizei height); 973 GLAPI PFNGLSCISSORPROC glad_glScissor; 974 #define glScissor glad_glScissor 975 typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC)(GLenum target, GLenum pname, GLfloat param); 976 GLAPI PFNGLTEXPARAMETERFPROC glad_glTexParameterf; 977 #define glTexParameterf glad_glTexParameterf 978 typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat *params); 979 GLAPI PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv; 980 #define glTexParameterfv glad_glTexParameterfv 981 typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); 982 GLAPI PFNGLTEXPARAMETERIPROC glad_glTexParameteri; 983 #define glTexParameteri glad_glTexParameteri 984 typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint *params); 985 GLAPI PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv; 986 #define glTexParameteriv glad_glTexParameteriv 987 typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); 988 GLAPI PFNGLTEXIMAGE1DPROC glad_glTexImage1D; 989 #define glTexImage1D glad_glTexImage1D 990 typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); 991 GLAPI PFNGLTEXIMAGE2DPROC glad_glTexImage2D; 992 #define glTexImage2D glad_glTexImage2D 993 typedef void (APIENTRYP PFNGLDRAWBUFFERPROC)(GLenum buf); 994 GLAPI PFNGLDRAWBUFFERPROC glad_glDrawBuffer; 995 #define glDrawBuffer glad_glDrawBuffer 996 typedef void (APIENTRYP PFNGLCLEARPROC)(GLbitfield mask); 997 GLAPI PFNGLCLEARPROC glad_glClear; 998 #define glClear glad_glClear 999 typedef void (APIENTRYP PFNGLCLEARCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 1000 GLAPI PFNGLCLEARCOLORPROC glad_glClearColor; 1001 #define glClearColor glad_glClearColor 1002 typedef void (APIENTRYP PFNGLCLEARSTENCILPROC)(GLint s); 1003 GLAPI PFNGLCLEARSTENCILPROC glad_glClearStencil; 1004 #define glClearStencil glad_glClearStencil 1005 typedef void (APIENTRYP PFNGLCLEARDEPTHPROC)(GLdouble depth); 1006 GLAPI PFNGLCLEARDEPTHPROC glad_glClearDepth; 1007 #define glClearDepth glad_glClearDepth 1008 typedef void (APIENTRYP PFNGLSTENCILMASKPROC)(GLuint mask); 1009 GLAPI PFNGLSTENCILMASKPROC glad_glStencilMask; 1010 #define glStencilMask glad_glStencilMask 1011 typedef void (APIENTRYP PFNGLCOLORMASKPROC)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 1012 GLAPI PFNGLCOLORMASKPROC glad_glColorMask; 1013 #define glColorMask glad_glColorMask 1014 typedef void (APIENTRYP PFNGLDEPTHMASKPROC)(GLboolean flag); 1015 GLAPI PFNGLDEPTHMASKPROC glad_glDepthMask; 1016 #define glDepthMask glad_glDepthMask 1017 typedef void (APIENTRYP PFNGLDISABLEPROC)(GLenum cap); 1018 GLAPI PFNGLDISABLEPROC glad_glDisable; 1019 #define glDisable glad_glDisable 1020 typedef void (APIENTRYP PFNGLENABLEPROC)(GLenum cap); 1021 GLAPI PFNGLENABLEPROC glad_glEnable; 1022 #define glEnable glad_glEnable 1023 typedef void (APIENTRYP PFNGLFINISHPROC)(void); 1024 GLAPI PFNGLFINISHPROC glad_glFinish; 1025 #define glFinish glad_glFinish 1026 typedef void (APIENTRYP PFNGLFLUSHPROC)(void); 1027 GLAPI PFNGLFLUSHPROC glad_glFlush; 1028 #define glFlush glad_glFlush 1029 typedef void (APIENTRYP PFNGLBLENDFUNCPROC)(GLenum sfactor, GLenum dfactor); 1030 GLAPI PFNGLBLENDFUNCPROC glad_glBlendFunc; 1031 #define glBlendFunc glad_glBlendFunc 1032 typedef void (APIENTRYP PFNGLLOGICOPPROC)(GLenum opcode); 1033 GLAPI PFNGLLOGICOPPROC glad_glLogicOp; 1034 #define glLogicOp glad_glLogicOp 1035 typedef void (APIENTRYP PFNGLSTENCILFUNCPROC)(GLenum func, GLint ref, GLuint mask); 1036 GLAPI PFNGLSTENCILFUNCPROC glad_glStencilFunc; 1037 #define glStencilFunc glad_glStencilFunc 1038 typedef void (APIENTRYP PFNGLSTENCILOPPROC)(GLenum fail, GLenum zfail, GLenum zpass); 1039 GLAPI PFNGLSTENCILOPPROC glad_glStencilOp; 1040 #define glStencilOp glad_glStencilOp 1041 typedef void (APIENTRYP PFNGLDEPTHFUNCPROC)(GLenum func); 1042 GLAPI PFNGLDEPTHFUNCPROC glad_glDepthFunc; 1043 #define glDepthFunc glad_glDepthFunc 1044 typedef void (APIENTRYP PFNGLPIXELSTOREFPROC)(GLenum pname, GLfloat param); 1045 GLAPI PFNGLPIXELSTOREFPROC glad_glPixelStoref; 1046 #define glPixelStoref glad_glPixelStoref 1047 typedef void (APIENTRYP PFNGLPIXELSTOREIPROC)(GLenum pname, GLint param); 1048 GLAPI PFNGLPIXELSTOREIPROC glad_glPixelStorei; 1049 #define glPixelStorei glad_glPixelStorei 1050 typedef void (APIENTRYP PFNGLREADBUFFERPROC)(GLenum src); 1051 GLAPI PFNGLREADBUFFERPROC glad_glReadBuffer; 1052 #define glReadBuffer glad_glReadBuffer 1053 typedef void (APIENTRYP PFNGLREADPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); 1054 GLAPI PFNGLREADPIXELSPROC glad_glReadPixels; 1055 #define glReadPixels glad_glReadPixels 1056 typedef void (APIENTRYP PFNGLGETBOOLEANVPROC)(GLenum pname, GLboolean *data); 1057 GLAPI PFNGLGETBOOLEANVPROC glad_glGetBooleanv; 1058 #define glGetBooleanv glad_glGetBooleanv 1059 typedef void (APIENTRYP PFNGLGETDOUBLEVPROC)(GLenum pname, GLdouble *data); 1060 GLAPI PFNGLGETDOUBLEVPROC glad_glGetDoublev; 1061 #define glGetDoublev glad_glGetDoublev 1062 typedef GLenum (APIENTRYP PFNGLGETERRORPROC)(void); 1063 GLAPI PFNGLGETERRORPROC glad_glGetError; 1064 #define glGetError glad_glGetError 1065 typedef void (APIENTRYP PFNGLGETFLOATVPROC)(GLenum pname, GLfloat *data); 1066 GLAPI PFNGLGETFLOATVPROC glad_glGetFloatv; 1067 #define glGetFloatv glad_glGetFloatv 1068 typedef void (APIENTRYP PFNGLGETINTEGERVPROC)(GLenum pname, GLint *data); 1069 GLAPI PFNGLGETINTEGERVPROC glad_glGetIntegerv; 1070 #define glGetIntegerv glad_glGetIntegerv 1071 typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGPROC)(GLenum name); 1072 GLAPI PFNGLGETSTRINGPROC glad_glGetString; 1073 #define glGetString glad_glGetString 1074 typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC)(GLenum target, GLint level, GLenum format, GLenum type, void *pixels); 1075 GLAPI PFNGLGETTEXIMAGEPROC glad_glGetTexImage; 1076 #define glGetTexImage glad_glGetTexImage 1077 typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat *params); 1078 GLAPI PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv; 1079 #define glGetTexParameterfv glad_glGetTexParameterfv 1080 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); 1081 GLAPI PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv; 1082 #define glGetTexParameteriv glad_glGetTexParameteriv 1083 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC)(GLenum target, GLint level, GLenum pname, GLfloat *params); 1084 GLAPI PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv; 1085 #define glGetTexLevelParameterfv glad_glGetTexLevelParameterfv 1086 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC)(GLenum target, GLint level, GLenum pname, GLint *params); 1087 GLAPI PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv; 1088 #define glGetTexLevelParameteriv glad_glGetTexLevelParameteriv 1089 typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC)(GLenum cap); 1090 GLAPI PFNGLISENABLEDPROC glad_glIsEnabled; 1091 #define glIsEnabled glad_glIsEnabled 1092 typedef void (APIENTRYP PFNGLDEPTHRANGEPROC)(GLdouble n, GLdouble f); 1093 GLAPI PFNGLDEPTHRANGEPROC glad_glDepthRange; 1094 #define glDepthRange glad_glDepthRange 1095 typedef void (APIENTRYP PFNGLVIEWPORTPROC)(GLint x, GLint y, GLsizei width, GLsizei height); 1096 GLAPI PFNGLVIEWPORTPROC glad_glViewport; 1097 #define glViewport glad_glViewport 1098 #endif 1099 #ifndef GL_VERSION_1_1 1100 #define GL_VERSION_1_1 1 1101 GLAPI int GLAD_GL_VERSION_1_1; 1102 typedef void (APIENTRYP PFNGLDRAWARRAYSPROC)(GLenum mode, GLint first, GLsizei count); 1103 GLAPI PFNGLDRAWARRAYSPROC glad_glDrawArrays; 1104 #define glDrawArrays glad_glDrawArrays 1105 typedef void (APIENTRYP PFNGLDRAWELEMENTSPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices); 1106 GLAPI PFNGLDRAWELEMENTSPROC glad_glDrawElements; 1107 #define glDrawElements glad_glDrawElements 1108 typedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC)(GLfloat factor, GLfloat units); 1109 GLAPI PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset; 1110 #define glPolygonOffset glad_glPolygonOffset 1111 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 1112 GLAPI PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D; 1113 #define glCopyTexImage1D glad_glCopyTexImage1D 1114 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 1115 GLAPI PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D; 1116 #define glCopyTexImage2D glad_glCopyTexImage2D 1117 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 1118 GLAPI PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D; 1119 #define glCopyTexSubImage1D glad_glCopyTexSubImage1D 1120 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 1121 GLAPI PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D; 1122 #define glCopyTexSubImage2D glad_glCopyTexSubImage2D 1123 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); 1124 GLAPI PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D; 1125 #define glTexSubImage1D glad_glTexSubImage1D 1126 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); 1127 GLAPI PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D; 1128 #define glTexSubImage2D glad_glTexSubImage2D 1129 typedef void (APIENTRYP PFNGLBINDTEXTUREPROC)(GLenum target, GLuint texture); 1130 GLAPI PFNGLBINDTEXTUREPROC glad_glBindTexture; 1131 #define glBindTexture glad_glBindTexture 1132 typedef void (APIENTRYP PFNGLDELETETEXTURESPROC)(GLsizei n, const GLuint *textures); 1133 GLAPI PFNGLDELETETEXTURESPROC glad_glDeleteTextures; 1134 #define glDeleteTextures glad_glDeleteTextures 1135 typedef void (APIENTRYP PFNGLGENTEXTURESPROC)(GLsizei n, GLuint *textures); 1136 GLAPI PFNGLGENTEXTURESPROC glad_glGenTextures; 1137 #define glGenTextures glad_glGenTextures 1138 typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC)(GLuint texture); 1139 GLAPI PFNGLISTEXTUREPROC glad_glIsTexture; 1140 #define glIsTexture glad_glIsTexture 1141 #endif 1142 #ifndef GL_VERSION_1_2 1143 #define GL_VERSION_1_2 1 1144 GLAPI int GLAD_GL_VERSION_1_2; 1145 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 1146 GLAPI PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements; 1147 #define glDrawRangeElements glad_glDrawRangeElements 1148 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 1149 GLAPI PFNGLTEXIMAGE3DPROC glad_glTexImage3D; 1150 #define glTexImage3D glad_glTexImage3D 1151 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 1152 GLAPI PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D; 1153 #define glTexSubImage3D glad_glTexSubImage3D 1154 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 1155 GLAPI PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D; 1156 #define glCopyTexSubImage3D glad_glCopyTexSubImage3D 1157 #endif 1158 #ifndef GL_VERSION_1_3 1159 #define GL_VERSION_1_3 1 1160 GLAPI int GLAD_GL_VERSION_1_3; 1161 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture); 1162 GLAPI PFNGLACTIVETEXTUREPROC glad_glActiveTexture; 1163 #define glActiveTexture glad_glActiveTexture 1164 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC)(GLfloat value, GLboolean invert); 1165 GLAPI PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage; 1166 #define glSampleCoverage glad_glSampleCoverage 1167 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 1168 GLAPI PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D; 1169 #define glCompressedTexImage3D glad_glCompressedTexImage3D 1170 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); 1171 GLAPI PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D; 1172 #define glCompressedTexImage2D glad_glCompressedTexImage2D 1173 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); 1174 GLAPI PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D; 1175 #define glCompressedTexImage1D glad_glCompressedTexImage1D 1176 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 1177 GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D; 1178 #define glCompressedTexSubImage3D glad_glCompressedTexSubImage3D 1179 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); 1180 GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D; 1181 #define glCompressedTexSubImage2D glad_glCompressedTexSubImage2D 1182 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); 1183 GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D; 1184 #define glCompressedTexSubImage1D glad_glCompressedTexSubImage1D 1185 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC)(GLenum target, GLint level, void *img); 1186 GLAPI PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage; 1187 #define glGetCompressedTexImage glad_glGetCompressedTexImage 1188 #endif 1189 #ifndef GL_VERSION_1_4 1190 #define GL_VERSION_1_4 1 1191 GLAPI int GLAD_GL_VERSION_1_4; 1192 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 1193 GLAPI PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate; 1194 #define glBlendFuncSeparate glad_glBlendFuncSeparate 1195 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC)(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); 1196 GLAPI PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays; 1197 #define glMultiDrawArrays glad_glMultiDrawArrays 1198 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC)(GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); 1199 GLAPI PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements; 1200 #define glMultiDrawElements glad_glMultiDrawElements 1201 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC)(GLenum pname, GLfloat param); 1202 GLAPI PFNGLPOINTPARAMETERFPROC glad_glPointParameterf; 1203 #define glPointParameterf glad_glPointParameterf 1204 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC)(GLenum pname, const GLfloat *params); 1205 GLAPI PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv; 1206 #define glPointParameterfv glad_glPointParameterfv 1207 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC)(GLenum pname, GLint param); 1208 GLAPI PFNGLPOINTPARAMETERIPROC glad_glPointParameteri; 1209 #define glPointParameteri glad_glPointParameteri 1210 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC)(GLenum pname, const GLint *params); 1211 GLAPI PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv; 1212 #define glPointParameteriv glad_glPointParameteriv 1213 typedef void (APIENTRYP PFNGLBLENDCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 1214 GLAPI PFNGLBLENDCOLORPROC glad_glBlendColor; 1215 #define glBlendColor glad_glBlendColor 1216 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC)(GLenum mode); 1217 GLAPI PFNGLBLENDEQUATIONPROC glad_glBlendEquation; 1218 #define glBlendEquation glad_glBlendEquation 1219 #endif 1220 #ifndef GL_VERSION_1_5 1221 #define GL_VERSION_1_5 1 1222 GLAPI int GLAD_GL_VERSION_1_5; 1223 typedef void (APIENTRYP PFNGLGENQUERIESPROC)(GLsizei n, GLuint *ids); 1224 GLAPI PFNGLGENQUERIESPROC glad_glGenQueries; 1225 #define glGenQueries glad_glGenQueries 1226 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC)(GLsizei n, const GLuint *ids); 1227 GLAPI PFNGLDELETEQUERIESPROC glad_glDeleteQueries; 1228 #define glDeleteQueries glad_glDeleteQueries 1229 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC)(GLuint id); 1230 GLAPI PFNGLISQUERYPROC glad_glIsQuery; 1231 #define glIsQuery glad_glIsQuery 1232 typedef void (APIENTRYP PFNGLBEGINQUERYPROC)(GLenum target, GLuint id); 1233 GLAPI PFNGLBEGINQUERYPROC glad_glBeginQuery; 1234 #define glBeginQuery glad_glBeginQuery 1235 typedef void (APIENTRYP PFNGLENDQUERYPROC)(GLenum target); 1236 GLAPI PFNGLENDQUERYPROC glad_glEndQuery; 1237 #define glEndQuery glad_glEndQuery 1238 typedef void (APIENTRYP PFNGLGETQUERYIVPROC)(GLenum target, GLenum pname, GLint *params); 1239 GLAPI PFNGLGETQUERYIVPROC glad_glGetQueryiv; 1240 #define glGetQueryiv glad_glGetQueryiv 1241 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC)(GLuint id, GLenum pname, GLint *params); 1242 GLAPI PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv; 1243 #define glGetQueryObjectiv glad_glGetQueryObjectiv 1244 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC)(GLuint id, GLenum pname, GLuint *params); 1245 GLAPI PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv; 1246 #define glGetQueryObjectuiv glad_glGetQueryObjectuiv 1247 typedef void (APIENTRYP PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); 1248 GLAPI PFNGLBINDBUFFERPROC glad_glBindBuffer; 1249 #define glBindBuffer glad_glBindBuffer 1250 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC)(GLsizei n, const GLuint *buffers); 1251 GLAPI PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers; 1252 #define glDeleteBuffers glad_glDeleteBuffers 1253 typedef void (APIENTRYP PFNGLGENBUFFERSPROC)(GLsizei n, GLuint *buffers); 1254 GLAPI PFNGLGENBUFFERSPROC glad_glGenBuffers; 1255 #define glGenBuffers glad_glGenBuffers 1256 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC)(GLuint buffer); 1257 GLAPI PFNGLISBUFFERPROC glad_glIsBuffer; 1258 #define glIsBuffer glad_glIsBuffer 1259 typedef void (APIENTRYP PFNGLBUFFERDATAPROC)(GLenum target, GLsizeiptr size, const void *data, GLenum usage); 1260 GLAPI PFNGLBUFFERDATAPROC glad_glBufferData; 1261 #define glBufferData glad_glBufferData 1262 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, const void *data); 1263 GLAPI PFNGLBUFFERSUBDATAPROC glad_glBufferSubData; 1264 #define glBufferSubData glad_glBufferSubData 1265 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, void *data); 1266 GLAPI PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData; 1267 #define glGetBufferSubData glad_glGetBufferSubData 1268 typedef void * (APIENTRYP PFNGLMAPBUFFERPROC)(GLenum target, GLenum access); 1269 GLAPI PFNGLMAPBUFFERPROC glad_glMapBuffer; 1270 #define glMapBuffer glad_glMapBuffer 1271 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC)(GLenum target); 1272 GLAPI PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer; 1273 #define glUnmapBuffer glad_glUnmapBuffer 1274 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); 1275 GLAPI PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv; 1276 #define glGetBufferParameteriv glad_glGetBufferParameteriv 1277 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC)(GLenum target, GLenum pname, void **params); 1278 GLAPI PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv; 1279 #define glGetBufferPointerv glad_glGetBufferPointerv 1280 #endif 1281 #ifndef GL_VERSION_2_0 1282 #define GL_VERSION_2_0 1 1283 GLAPI int GLAD_GL_VERSION_2_0; 1284 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC)(GLenum modeRGB, GLenum modeAlpha); 1285 GLAPI PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate; 1286 #define glBlendEquationSeparate glad_glBlendEquationSeparate 1287 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC)(GLsizei n, const GLenum *bufs); 1288 GLAPI PFNGLDRAWBUFFERSPROC glad_glDrawBuffers; 1289 #define glDrawBuffers glad_glDrawBuffers 1290 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 1291 GLAPI PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate; 1292 #define glStencilOpSeparate glad_glStencilOpSeparate 1293 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC)(GLenum face, GLenum func, GLint ref, GLuint mask); 1294 GLAPI PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate; 1295 #define glStencilFuncSeparate glad_glStencilFuncSeparate 1296 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC)(GLenum face, GLuint mask); 1297 GLAPI PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate; 1298 #define glStencilMaskSeparate glad_glStencilMaskSeparate 1299 typedef void (APIENTRYP PFNGLATTACHSHADERPROC)(GLuint program, GLuint shader); 1300 GLAPI PFNGLATTACHSHADERPROC glad_glAttachShader; 1301 #define glAttachShader glad_glAttachShader 1302 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC)(GLuint program, GLuint index, const GLchar *name); 1303 GLAPI PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation; 1304 #define glBindAttribLocation glad_glBindAttribLocation 1305 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC)(GLuint shader); 1306 GLAPI PFNGLCOMPILESHADERPROC glad_glCompileShader; 1307 #define glCompileShader glad_glCompileShader 1308 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC)(void); 1309 GLAPI PFNGLCREATEPROGRAMPROC glad_glCreateProgram; 1310 #define glCreateProgram glad_glCreateProgram 1311 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC)(GLenum type); 1312 GLAPI PFNGLCREATESHADERPROC glad_glCreateShader; 1313 #define glCreateShader glad_glCreateShader 1314 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC)(GLuint program); 1315 GLAPI PFNGLDELETEPROGRAMPROC glad_glDeleteProgram; 1316 #define glDeleteProgram glad_glDeleteProgram 1317 typedef void (APIENTRYP PFNGLDELETESHADERPROC)(GLuint shader); 1318 GLAPI PFNGLDELETESHADERPROC glad_glDeleteShader; 1319 #define glDeleteShader glad_glDeleteShader 1320 typedef void (APIENTRYP PFNGLDETACHSHADERPROC)(GLuint program, GLuint shader); 1321 GLAPI PFNGLDETACHSHADERPROC glad_glDetachShader; 1322 #define glDetachShader glad_glDetachShader 1323 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC)(GLuint index); 1324 GLAPI PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray; 1325 #define glDisableVertexAttribArray glad_glDisableVertexAttribArray 1326 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC)(GLuint index); 1327 GLAPI PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray; 1328 #define glEnableVertexAttribArray glad_glEnableVertexAttribArray 1329 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 1330 GLAPI PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib; 1331 #define glGetActiveAttrib glad_glGetActiveAttrib 1332 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 1333 GLAPI PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform; 1334 #define glGetActiveUniform glad_glGetActiveUniform 1335 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC)(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); 1336 GLAPI PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders; 1337 #define glGetAttachedShaders glad_glGetAttachedShaders 1338 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC)(GLuint program, const GLchar *name); 1339 GLAPI PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation; 1340 #define glGetAttribLocation glad_glGetAttribLocation 1341 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC)(GLuint program, GLenum pname, GLint *params); 1342 GLAPI PFNGLGETPROGRAMIVPROC glad_glGetProgramiv; 1343 #define glGetProgramiv glad_glGetProgramiv 1344 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC)(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1345 GLAPI PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog; 1346 #define glGetProgramInfoLog glad_glGetProgramInfoLog 1347 typedef void (APIENTRYP PFNGLGETSHADERIVPROC)(GLuint shader, GLenum pname, GLint *params); 1348 GLAPI PFNGLGETSHADERIVPROC glad_glGetShaderiv; 1349 #define glGetShaderiv glad_glGetShaderiv 1350 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC)(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1351 GLAPI PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog; 1352 #define glGetShaderInfoLog glad_glGetShaderInfoLog 1353 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC)(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 1354 GLAPI PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource; 1355 #define glGetShaderSource glad_glGetShaderSource 1356 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC)(GLuint program, const GLchar *name); 1357 GLAPI PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation; 1358 #define glGetUniformLocation glad_glGetUniformLocation 1359 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC)(GLuint program, GLint location, GLfloat *params); 1360 GLAPI PFNGLGETUNIFORMFVPROC glad_glGetUniformfv; 1361 #define glGetUniformfv glad_glGetUniformfv 1362 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC)(GLuint program, GLint location, GLint *params); 1363 GLAPI PFNGLGETUNIFORMIVPROC glad_glGetUniformiv; 1364 #define glGetUniformiv glad_glGetUniformiv 1365 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC)(GLuint index, GLenum pname, GLdouble *params); 1366 GLAPI PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv; 1367 #define glGetVertexAttribdv glad_glGetVertexAttribdv 1368 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC)(GLuint index, GLenum pname, GLfloat *params); 1369 GLAPI PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv; 1370 #define glGetVertexAttribfv glad_glGetVertexAttribfv 1371 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC)(GLuint index, GLenum pname, GLint *params); 1372 GLAPI PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv; 1373 #define glGetVertexAttribiv glad_glGetVertexAttribiv 1374 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint index, GLenum pname, void **pointer); 1375 GLAPI PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv; 1376 #define glGetVertexAttribPointerv glad_glGetVertexAttribPointerv 1377 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC)(GLuint program); 1378 GLAPI PFNGLISPROGRAMPROC glad_glIsProgram; 1379 #define glIsProgram glad_glIsProgram 1380 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC)(GLuint shader); 1381 GLAPI PFNGLISSHADERPROC glad_glIsShader; 1382 #define glIsShader glad_glIsShader 1383 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC)(GLuint program); 1384 GLAPI PFNGLLINKPROGRAMPROC glad_glLinkProgram; 1385 #define glLinkProgram glad_glLinkProgram 1386 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC)(GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); 1387 GLAPI PFNGLSHADERSOURCEPROC glad_glShaderSource; 1388 #define glShaderSource glad_glShaderSource 1389 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC)(GLuint program); 1390 GLAPI PFNGLUSEPROGRAMPROC glad_glUseProgram; 1391 #define glUseProgram glad_glUseProgram 1392 typedef void (APIENTRYP PFNGLUNIFORM1FPROC)(GLint location, GLfloat v0); 1393 GLAPI PFNGLUNIFORM1FPROC glad_glUniform1f; 1394 #define glUniform1f glad_glUniform1f 1395 typedef void (APIENTRYP PFNGLUNIFORM2FPROC)(GLint location, GLfloat v0, GLfloat v1); 1396 GLAPI PFNGLUNIFORM2FPROC glad_glUniform2f; 1397 #define glUniform2f glad_glUniform2f 1398 typedef void (APIENTRYP PFNGLUNIFORM3FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1399 GLAPI PFNGLUNIFORM3FPROC glad_glUniform3f; 1400 #define glUniform3f glad_glUniform3f 1401 typedef void (APIENTRYP PFNGLUNIFORM4FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1402 GLAPI PFNGLUNIFORM4FPROC glad_glUniform4f; 1403 #define glUniform4f glad_glUniform4f 1404 typedef void (APIENTRYP PFNGLUNIFORM1IPROC)(GLint location, GLint v0); 1405 GLAPI PFNGLUNIFORM1IPROC glad_glUniform1i; 1406 #define glUniform1i glad_glUniform1i 1407 typedef void (APIENTRYP PFNGLUNIFORM2IPROC)(GLint location, GLint v0, GLint v1); 1408 GLAPI PFNGLUNIFORM2IPROC glad_glUniform2i; 1409 #define glUniform2i glad_glUniform2i 1410 typedef void (APIENTRYP PFNGLUNIFORM3IPROC)(GLint location, GLint v0, GLint v1, GLint v2); 1411 GLAPI PFNGLUNIFORM3IPROC glad_glUniform3i; 1412 #define glUniform3i glad_glUniform3i 1413 typedef void (APIENTRYP PFNGLUNIFORM4IPROC)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1414 GLAPI PFNGLUNIFORM4IPROC glad_glUniform4i; 1415 #define glUniform4i glad_glUniform4i 1416 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC)(GLint location, GLsizei count, const GLfloat *value); 1417 GLAPI PFNGLUNIFORM1FVPROC glad_glUniform1fv; 1418 #define glUniform1fv glad_glUniform1fv 1419 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC)(GLint location, GLsizei count, const GLfloat *value); 1420 GLAPI PFNGLUNIFORM2FVPROC glad_glUniform2fv; 1421 #define glUniform2fv glad_glUniform2fv 1422 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC)(GLint location, GLsizei count, const GLfloat *value); 1423 GLAPI PFNGLUNIFORM3FVPROC glad_glUniform3fv; 1424 #define glUniform3fv glad_glUniform3fv 1425 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC)(GLint location, GLsizei count, const GLfloat *value); 1426 GLAPI PFNGLUNIFORM4FVPROC glad_glUniform4fv; 1427 #define glUniform4fv glad_glUniform4fv 1428 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC)(GLint location, GLsizei count, const GLint *value); 1429 GLAPI PFNGLUNIFORM1IVPROC glad_glUniform1iv; 1430 #define glUniform1iv glad_glUniform1iv 1431 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC)(GLint location, GLsizei count, const GLint *value); 1432 GLAPI PFNGLUNIFORM2IVPROC glad_glUniform2iv; 1433 #define glUniform2iv glad_glUniform2iv 1434 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC)(GLint location, GLsizei count, const GLint *value); 1435 GLAPI PFNGLUNIFORM3IVPROC glad_glUniform3iv; 1436 #define glUniform3iv glad_glUniform3iv 1437 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC)(GLint location, GLsizei count, const GLint *value); 1438 GLAPI PFNGLUNIFORM4IVPROC glad_glUniform4iv; 1439 #define glUniform4iv glad_glUniform4iv 1440 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1441 GLAPI PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv; 1442 #define glUniformMatrix2fv glad_glUniformMatrix2fv 1443 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1444 GLAPI PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv; 1445 #define glUniformMatrix3fv glad_glUniformMatrix3fv 1446 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1447 GLAPI PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv; 1448 #define glUniformMatrix4fv glad_glUniformMatrix4fv 1449 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC)(GLuint program); 1450 GLAPI PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram; 1451 #define glValidateProgram glad_glValidateProgram 1452 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC)(GLuint index, GLdouble x); 1453 GLAPI PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d; 1454 #define glVertexAttrib1d glad_glVertexAttrib1d 1455 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC)(GLuint index, const GLdouble *v); 1456 GLAPI PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv; 1457 #define glVertexAttrib1dv glad_glVertexAttrib1dv 1458 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC)(GLuint index, GLfloat x); 1459 GLAPI PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f; 1460 #define glVertexAttrib1f glad_glVertexAttrib1f 1461 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC)(GLuint index, const GLfloat *v); 1462 GLAPI PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv; 1463 #define glVertexAttrib1fv glad_glVertexAttrib1fv 1464 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC)(GLuint index, GLshort x); 1465 GLAPI PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s; 1466 #define glVertexAttrib1s glad_glVertexAttrib1s 1467 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC)(GLuint index, const GLshort *v); 1468 GLAPI PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv; 1469 #define glVertexAttrib1sv glad_glVertexAttrib1sv 1470 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC)(GLuint index, GLdouble x, GLdouble y); 1471 GLAPI PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d; 1472 #define glVertexAttrib2d glad_glVertexAttrib2d 1473 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC)(GLuint index, const GLdouble *v); 1474 GLAPI PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv; 1475 #define glVertexAttrib2dv glad_glVertexAttrib2dv 1476 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC)(GLuint index, GLfloat x, GLfloat y); 1477 GLAPI PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f; 1478 #define glVertexAttrib2f glad_glVertexAttrib2f 1479 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC)(GLuint index, const GLfloat *v); 1480 GLAPI PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv; 1481 #define glVertexAttrib2fv glad_glVertexAttrib2fv 1482 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC)(GLuint index, GLshort x, GLshort y); 1483 GLAPI PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s; 1484 #define glVertexAttrib2s glad_glVertexAttrib2s 1485 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC)(GLuint index, const GLshort *v); 1486 GLAPI PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv; 1487 #define glVertexAttrib2sv glad_glVertexAttrib2sv 1488 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); 1489 GLAPI PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d; 1490 #define glVertexAttrib3d glad_glVertexAttrib3d 1491 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC)(GLuint index, const GLdouble *v); 1492 GLAPI PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv; 1493 #define glVertexAttrib3dv glad_glVertexAttrib3dv 1494 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z); 1495 GLAPI PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f; 1496 #define glVertexAttrib3f glad_glVertexAttrib3f 1497 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC)(GLuint index, const GLfloat *v); 1498 GLAPI PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv; 1499 #define glVertexAttrib3fv glad_glVertexAttrib3fv 1500 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC)(GLuint index, GLshort x, GLshort y, GLshort z); 1501 GLAPI PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s; 1502 #define glVertexAttrib3s glad_glVertexAttrib3s 1503 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC)(GLuint index, const GLshort *v); 1504 GLAPI PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv; 1505 #define glVertexAttrib3sv glad_glVertexAttrib3sv 1506 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC)(GLuint index, const GLbyte *v); 1507 GLAPI PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv; 1508 #define glVertexAttrib4Nbv glad_glVertexAttrib4Nbv 1509 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC)(GLuint index, const GLint *v); 1510 GLAPI PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv; 1511 #define glVertexAttrib4Niv glad_glVertexAttrib4Niv 1512 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC)(GLuint index, const GLshort *v); 1513 GLAPI PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv; 1514 #define glVertexAttrib4Nsv glad_glVertexAttrib4Nsv 1515 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 1516 GLAPI PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub; 1517 #define glVertexAttrib4Nub glad_glVertexAttrib4Nub 1518 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC)(GLuint index, const GLubyte *v); 1519 GLAPI PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv; 1520 #define glVertexAttrib4Nubv glad_glVertexAttrib4Nubv 1521 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC)(GLuint index, const GLuint *v); 1522 GLAPI PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv; 1523 #define glVertexAttrib4Nuiv glad_glVertexAttrib4Nuiv 1524 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC)(GLuint index, const GLushort *v); 1525 GLAPI PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv; 1526 #define glVertexAttrib4Nusv glad_glVertexAttrib4Nusv 1527 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC)(GLuint index, const GLbyte *v); 1528 GLAPI PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv; 1529 #define glVertexAttrib4bv glad_glVertexAttrib4bv 1530 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 1531 GLAPI PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d; 1532 #define glVertexAttrib4d glad_glVertexAttrib4d 1533 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC)(GLuint index, const GLdouble *v); 1534 GLAPI PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv; 1535 #define glVertexAttrib4dv glad_glVertexAttrib4dv 1536 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 1537 GLAPI PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f; 1538 #define glVertexAttrib4f glad_glVertexAttrib4f 1539 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC)(GLuint index, const GLfloat *v); 1540 GLAPI PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv; 1541 #define glVertexAttrib4fv glad_glVertexAttrib4fv 1542 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC)(GLuint index, const GLint *v); 1543 GLAPI PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv; 1544 #define glVertexAttrib4iv glad_glVertexAttrib4iv 1545 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 1546 GLAPI PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s; 1547 #define glVertexAttrib4s glad_glVertexAttrib4s 1548 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC)(GLuint index, const GLshort *v); 1549 GLAPI PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv; 1550 #define glVertexAttrib4sv glad_glVertexAttrib4sv 1551 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC)(GLuint index, const GLubyte *v); 1552 GLAPI PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv; 1553 #define glVertexAttrib4ubv glad_glVertexAttrib4ubv 1554 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC)(GLuint index, const GLuint *v); 1555 GLAPI PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv; 1556 #define glVertexAttrib4uiv glad_glVertexAttrib4uiv 1557 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC)(GLuint index, const GLushort *v); 1558 GLAPI PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv; 1559 #define glVertexAttrib4usv glad_glVertexAttrib4usv 1560 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); 1561 GLAPI PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer; 1562 #define glVertexAttribPointer glad_glVertexAttribPointer 1563 #endif 1564 #ifndef GL_VERSION_2_1 1565 #define GL_VERSION_2_1 1 1566 GLAPI int GLAD_GL_VERSION_2_1; 1567 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1568 GLAPI PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv; 1569 #define glUniformMatrix2x3fv glad_glUniformMatrix2x3fv 1570 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1571 GLAPI PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv; 1572 #define glUniformMatrix3x2fv glad_glUniformMatrix3x2fv 1573 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1574 GLAPI PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv; 1575 #define glUniformMatrix2x4fv glad_glUniformMatrix2x4fv 1576 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1577 GLAPI PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv; 1578 #define glUniformMatrix4x2fv glad_glUniformMatrix4x2fv 1579 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1580 GLAPI PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv; 1581 #define glUniformMatrix3x4fv glad_glUniformMatrix3x4fv 1582 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1583 GLAPI PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv; 1584 #define glUniformMatrix4x3fv glad_glUniformMatrix4x3fv 1585 #endif 1586 #ifndef GL_VERSION_3_0 1587 #define GL_VERSION_3_0 1 1588 GLAPI int GLAD_GL_VERSION_3_0; 1589 typedef void (APIENTRYP PFNGLCOLORMASKIPROC)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1590 GLAPI PFNGLCOLORMASKIPROC glad_glColorMaski; 1591 #define glColorMaski glad_glColorMaski 1592 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC)(GLenum target, GLuint index, GLboolean *data); 1593 GLAPI PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v; 1594 #define glGetBooleani_v glad_glGetBooleani_v 1595 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC)(GLenum target, GLuint index, GLint *data); 1596 GLAPI PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v; 1597 #define glGetIntegeri_v glad_glGetIntegeri_v 1598 typedef void (APIENTRYP PFNGLENABLEIPROC)(GLenum target, GLuint index); 1599 GLAPI PFNGLENABLEIPROC glad_glEnablei; 1600 #define glEnablei glad_glEnablei 1601 typedef void (APIENTRYP PFNGLDISABLEIPROC)(GLenum target, GLuint index); 1602 GLAPI PFNGLDISABLEIPROC glad_glDisablei; 1603 #define glDisablei glad_glDisablei 1604 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC)(GLenum target, GLuint index); 1605 GLAPI PFNGLISENABLEDIPROC glad_glIsEnabledi; 1606 #define glIsEnabledi glad_glIsEnabledi 1607 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC)(GLenum primitiveMode); 1608 GLAPI PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback; 1609 #define glBeginTransformFeedback glad_glBeginTransformFeedback 1610 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC)(void); 1611 GLAPI PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback; 1612 #define glEndTransformFeedback glad_glEndTransformFeedback 1613 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1614 GLAPI PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange; 1615 #define glBindBufferRange glad_glBindBufferRange 1616 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC)(GLenum target, GLuint index, GLuint buffer); 1617 GLAPI PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase; 1618 #define glBindBufferBase glad_glBindBufferBase 1619 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC)(GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); 1620 GLAPI PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings; 1621 #define glTransformFeedbackVaryings glad_glTransformFeedbackVaryings 1622 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 1623 GLAPI PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying; 1624 #define glGetTransformFeedbackVarying glad_glGetTransformFeedbackVarying 1625 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC)(GLenum target, GLenum clamp); 1626 GLAPI PFNGLCLAMPCOLORPROC glad_glClampColor; 1627 #define glClampColor glad_glClampColor 1628 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC)(GLuint id, GLenum mode); 1629 GLAPI PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender; 1630 #define glBeginConditionalRender glad_glBeginConditionalRender 1631 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC)(void); 1632 GLAPI PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender; 1633 #define glEndConditionalRender glad_glEndConditionalRender 1634 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 1635 GLAPI PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer; 1636 #define glVertexAttribIPointer glad_glVertexAttribIPointer 1637 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC)(GLuint index, GLenum pname, GLint *params); 1638 GLAPI PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv; 1639 #define glGetVertexAttribIiv glad_glGetVertexAttribIiv 1640 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC)(GLuint index, GLenum pname, GLuint *params); 1641 GLAPI PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv; 1642 #define glGetVertexAttribIuiv glad_glGetVertexAttribIuiv 1643 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC)(GLuint index, GLint x); 1644 GLAPI PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i; 1645 #define glVertexAttribI1i glad_glVertexAttribI1i 1646 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC)(GLuint index, GLint x, GLint y); 1647 GLAPI PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i; 1648 #define glVertexAttribI2i glad_glVertexAttribI2i 1649 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC)(GLuint index, GLint x, GLint y, GLint z); 1650 GLAPI PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i; 1651 #define glVertexAttribI3i glad_glVertexAttribI3i 1652 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC)(GLuint index, GLint x, GLint y, GLint z, GLint w); 1653 GLAPI PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i; 1654 #define glVertexAttribI4i glad_glVertexAttribI4i 1655 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC)(GLuint index, GLuint x); 1656 GLAPI PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui; 1657 #define glVertexAttribI1ui glad_glVertexAttribI1ui 1658 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC)(GLuint index, GLuint x, GLuint y); 1659 GLAPI PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui; 1660 #define glVertexAttribI2ui glad_glVertexAttribI2ui 1661 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z); 1662 GLAPI PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui; 1663 #define glVertexAttribI3ui glad_glVertexAttribI3ui 1664 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 1665 GLAPI PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui; 1666 #define glVertexAttribI4ui glad_glVertexAttribI4ui 1667 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC)(GLuint index, const GLint *v); 1668 GLAPI PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv; 1669 #define glVertexAttribI1iv glad_glVertexAttribI1iv 1670 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC)(GLuint index, const GLint *v); 1671 GLAPI PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv; 1672 #define glVertexAttribI2iv glad_glVertexAttribI2iv 1673 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC)(GLuint index, const GLint *v); 1674 GLAPI PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv; 1675 #define glVertexAttribI3iv glad_glVertexAttribI3iv 1676 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC)(GLuint index, const GLint *v); 1677 GLAPI PFNGLVERTEXATTRIBI4IVPROC glad_glVertexAttribI4iv; 1678 #define glVertexAttribI4iv glad_glVertexAttribI4iv 1679 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC)(GLuint index, const GLuint *v); 1680 GLAPI PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv; 1681 #define glVertexAttribI1uiv glad_glVertexAttribI1uiv 1682 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC)(GLuint index, const GLuint *v); 1683 GLAPI PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv; 1684 #define glVertexAttribI2uiv glad_glVertexAttribI2uiv 1685 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC)(GLuint index, const GLuint *v); 1686 GLAPI PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv; 1687 #define glVertexAttribI3uiv glad_glVertexAttribI3uiv 1688 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC)(GLuint index, const GLuint *v); 1689 GLAPI PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv; 1690 #define glVertexAttribI4uiv glad_glVertexAttribI4uiv 1691 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC)(GLuint index, const GLbyte *v); 1692 GLAPI PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv; 1693 #define glVertexAttribI4bv glad_glVertexAttribI4bv 1694 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC)(GLuint index, const GLshort *v); 1695 GLAPI PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv; 1696 #define glVertexAttribI4sv glad_glVertexAttribI4sv 1697 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC)(GLuint index, const GLubyte *v); 1698 GLAPI PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv; 1699 #define glVertexAttribI4ubv glad_glVertexAttribI4ubv 1700 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC)(GLuint index, const GLushort *v); 1701 GLAPI PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv; 1702 #define glVertexAttribI4usv glad_glVertexAttribI4usv 1703 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC)(GLuint program, GLint location, GLuint *params); 1704 GLAPI PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv; 1705 #define glGetUniformuiv glad_glGetUniformuiv 1706 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC)(GLuint program, GLuint color, const GLchar *name); 1707 GLAPI PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation; 1708 #define glBindFragDataLocation glad_glBindFragDataLocation 1709 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC)(GLuint program, const GLchar *name); 1710 GLAPI PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation; 1711 #define glGetFragDataLocation glad_glGetFragDataLocation 1712 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC)(GLint location, GLuint v0); 1713 GLAPI PFNGLUNIFORM1UIPROC glad_glUniform1ui; 1714 #define glUniform1ui glad_glUniform1ui 1715 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC)(GLint location, GLuint v0, GLuint v1); 1716 GLAPI PFNGLUNIFORM2UIPROC glad_glUniform2ui; 1717 #define glUniform2ui glad_glUniform2ui 1718 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2); 1719 GLAPI PFNGLUNIFORM3UIPROC glad_glUniform3ui; 1720 #define glUniform3ui glad_glUniform3ui 1721 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1722 GLAPI PFNGLUNIFORM4UIPROC glad_glUniform4ui; 1723 #define glUniform4ui glad_glUniform4ui 1724 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC)(GLint location, GLsizei count, const GLuint *value); 1725 GLAPI PFNGLUNIFORM1UIVPROC glad_glUniform1uiv; 1726 #define glUniform1uiv glad_glUniform1uiv 1727 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC)(GLint location, GLsizei count, const GLuint *value); 1728 GLAPI PFNGLUNIFORM2UIVPROC glad_glUniform2uiv; 1729 #define glUniform2uiv glad_glUniform2uiv 1730 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC)(GLint location, GLsizei count, const GLuint *value); 1731 GLAPI PFNGLUNIFORM3UIVPROC glad_glUniform3uiv; 1732 #define glUniform3uiv glad_glUniform3uiv 1733 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC)(GLint location, GLsizei count, const GLuint *value); 1734 GLAPI PFNGLUNIFORM4UIVPROC glad_glUniform4uiv; 1735 #define glUniform4uiv glad_glUniform4uiv 1736 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC)(GLenum target, GLenum pname, const GLint *params); 1737 GLAPI PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv; 1738 #define glTexParameterIiv glad_glTexParameterIiv 1739 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC)(GLenum target, GLenum pname, const GLuint *params); 1740 GLAPI PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv; 1741 #define glTexParameterIuiv glad_glTexParameterIuiv 1742 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC)(GLenum target, GLenum pname, GLint *params); 1743 GLAPI PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv; 1744 #define glGetTexParameterIiv glad_glGetTexParameterIiv 1745 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC)(GLenum target, GLenum pname, GLuint *params); 1746 GLAPI PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv; 1747 #define glGetTexParameterIuiv glad_glGetTexParameterIuiv 1748 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC)(GLenum buffer, GLint drawbuffer, const GLint *value); 1749 GLAPI PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv; 1750 #define glClearBufferiv glad_glClearBufferiv 1751 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC)(GLenum buffer, GLint drawbuffer, const GLuint *value); 1752 GLAPI PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv; 1753 #define glClearBufferuiv glad_glClearBufferuiv 1754 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC)(GLenum buffer, GLint drawbuffer, const GLfloat *value); 1755 GLAPI PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv; 1756 #define glClearBufferfv glad_glClearBufferfv 1757 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1758 GLAPI PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi; 1759 #define glClearBufferfi glad_glClearBufferfi 1760 typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC)(GLenum name, GLuint index); 1761 GLAPI PFNGLGETSTRINGIPROC glad_glGetStringi; 1762 #define glGetStringi glad_glGetStringi 1763 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC)(GLuint renderbuffer); 1764 GLAPI PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer; 1765 #define glIsRenderbuffer glad_glIsRenderbuffer 1766 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC)(GLenum target, GLuint renderbuffer); 1767 GLAPI PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer; 1768 #define glBindRenderbuffer glad_glBindRenderbuffer 1769 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC)(GLsizei n, const GLuint *renderbuffers); 1770 GLAPI PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers; 1771 #define glDeleteRenderbuffers glad_glDeleteRenderbuffers 1772 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC)(GLsizei n, GLuint *renderbuffers); 1773 GLAPI PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers; 1774 #define glGenRenderbuffers glad_glGenRenderbuffers 1775 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 1776 GLAPI PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage; 1777 #define glRenderbufferStorage glad_glRenderbufferStorage 1778 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); 1779 GLAPI PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv; 1780 #define glGetRenderbufferParameteriv glad_glGetRenderbufferParameteriv 1781 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC)(GLuint framebuffer); 1782 GLAPI PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer; 1783 #define glIsFramebuffer glad_glIsFramebuffer 1784 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC)(GLenum target, GLuint framebuffer); 1785 GLAPI PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer; 1786 #define glBindFramebuffer glad_glBindFramebuffer 1787 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC)(GLsizei n, const GLuint *framebuffers); 1788 GLAPI PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers; 1789 #define glDeleteFramebuffers glad_glDeleteFramebuffers 1790 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC)(GLsizei n, GLuint *framebuffers); 1791 GLAPI PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers; 1792 #define glGenFramebuffers glad_glGenFramebuffers 1793 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target); 1794 GLAPI PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus; 1795 #define glCheckFramebufferStatus glad_glCheckFramebufferStatus 1796 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1797 GLAPI PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D; 1798 #define glFramebufferTexture1D glad_glFramebufferTexture1D 1799 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 1800 GLAPI PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D; 1801 #define glFramebufferTexture2D glad_glFramebufferTexture2D 1802 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 1803 GLAPI PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D; 1804 #define glFramebufferTexture3D glad_glFramebufferTexture3D 1805 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 1806 GLAPI PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer; 1807 #define glFramebufferRenderbuffer glad_glFramebufferRenderbuffer 1808 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)(GLenum target, GLenum attachment, GLenum pname, GLint *params); 1809 GLAPI PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv; 1810 #define glGetFramebufferAttachmentParameteriv glad_glGetFramebufferAttachmentParameteriv 1811 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC)(GLenum target); 1812 GLAPI PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap; 1813 #define glGenerateMipmap glad_glGenerateMipmap 1814 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 1815 GLAPI PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer; 1816 #define glBlitFramebuffer glad_glBlitFramebuffer 1817 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1818 GLAPI PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample; 1819 #define glRenderbufferStorageMultisample glad_glRenderbufferStorageMultisample 1820 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 1821 GLAPI PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer; 1822 #define glFramebufferTextureLayer glad_glFramebufferTextureLayer 1823 typedef void * (APIENTRYP PFNGLMAPBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1824 GLAPI PFNGLMAPBUFFERRANGEPROC glad_glMapBufferRange; 1825 #define glMapBufferRange glad_glMapBufferRange 1826 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length); 1827 GLAPI PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange; 1828 #define glFlushMappedBufferRange glad_glFlushMappedBufferRange 1829 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC)(GLuint array); 1830 GLAPI PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray; 1831 #define glBindVertexArray glad_glBindVertexArray 1832 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC)(GLsizei n, const GLuint *arrays); 1833 GLAPI PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays; 1834 #define glDeleteVertexArrays glad_glDeleteVertexArrays 1835 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC)(GLsizei n, GLuint *arrays); 1836 GLAPI PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays; 1837 #define glGenVertexArrays glad_glGenVertexArrays 1838 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC)(GLuint array); 1839 GLAPI PFNGLISVERTEXARRAYPROC glad_glIsVertexArray; 1840 #define glIsVertexArray glad_glIsVertexArray 1841 #endif 1842 #ifndef GL_VERSION_3_1 1843 #define GL_VERSION_3_1 1 1844 GLAPI int GLAD_GL_VERSION_3_1; 1845 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); 1846 GLAPI PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced; 1847 #define glDrawArraysInstanced glad_glDrawArraysInstanced 1848 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); 1849 GLAPI PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced; 1850 #define glDrawElementsInstanced glad_glDrawElementsInstanced 1851 typedef void (APIENTRYP PFNGLTEXBUFFERPROC)(GLenum target, GLenum internalformat, GLuint buffer); 1852 GLAPI PFNGLTEXBUFFERPROC glad_glTexBuffer; 1853 #define glTexBuffer glad_glTexBuffer 1854 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC)(GLuint index); 1855 GLAPI PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex; 1856 #define glPrimitiveRestartIndex glad_glPrimitiveRestartIndex 1857 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 1858 GLAPI PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData; 1859 #define glCopyBufferSubData glad_glCopyBufferSubData 1860 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC)(GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); 1861 GLAPI PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices; 1862 #define glGetUniformIndices glad_glGetUniformIndices 1863 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC)(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); 1864 GLAPI PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv; 1865 #define glGetActiveUniformsiv glad_glGetActiveUniformsiv 1866 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); 1867 GLAPI PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName; 1868 #define glGetActiveUniformName glad_glGetActiveUniformName 1869 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC)(GLuint program, const GLchar *uniformBlockName); 1870 GLAPI PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex; 1871 #define glGetUniformBlockIndex glad_glGetUniformBlockIndex 1872 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); 1873 GLAPI PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv; 1874 #define glGetActiveUniformBlockiv glad_glGetActiveUniformBlockiv 1875 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); 1876 GLAPI PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_glGetActiveUniformBlockName; 1877 #define glGetActiveUniformBlockName glad_glGetActiveUniformBlockName 1878 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 1879 GLAPI PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding; 1880 #define glUniformBlockBinding glad_glUniformBlockBinding 1881 #endif 1882 #ifndef GL_VERSION_3_2 1883 #define GL_VERSION_3_2 1 1884 GLAPI int GLAD_GL_VERSION_3_2; 1885 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1886 GLAPI PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex; 1887 #define glDrawElementsBaseVertex glad_glDrawElementsBaseVertex 1888 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1889 GLAPI PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex; 1890 #define glDrawRangeElementsBaseVertex glad_glDrawRangeElementsBaseVertex 1891 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1892 GLAPI PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex; 1893 #define glDrawElementsInstancedBaseVertex glad_glDrawElementsInstancedBaseVertex 1894 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)(GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); 1895 GLAPI PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex; 1896 #define glMultiDrawElementsBaseVertex glad_glMultiDrawElementsBaseVertex 1897 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC)(GLenum mode); 1898 GLAPI PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex; 1899 #define glProvokingVertex glad_glProvokingVertex 1900 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC)(GLenum condition, GLbitfield flags); 1901 GLAPI PFNGLFENCESYNCPROC glad_glFenceSync; 1902 #define glFenceSync glad_glFenceSync 1903 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC)(GLsync sync); 1904 GLAPI PFNGLISSYNCPROC glad_glIsSync; 1905 #define glIsSync glad_glIsSync 1906 typedef void (APIENTRYP PFNGLDELETESYNCPROC)(GLsync sync); 1907 GLAPI PFNGLDELETESYNCPROC glad_glDeleteSync; 1908 #define glDeleteSync glad_glDeleteSync 1909 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); 1910 GLAPI PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync; 1911 #define glClientWaitSync glad_glClientWaitSync 1912 typedef void (APIENTRYP PFNGLWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); 1913 GLAPI PFNGLWAITSYNCPROC glad_glWaitSync; 1914 #define glWaitSync glad_glWaitSync 1915 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC)(GLenum pname, GLint64 *data); 1916 GLAPI PFNGLGETINTEGER64VPROC glad_glGetInteger64v; 1917 #define glGetInteger64v glad_glGetInteger64v 1918 typedef void (APIENTRYP PFNGLGETSYNCIVPROC)(GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); 1919 GLAPI PFNGLGETSYNCIVPROC glad_glGetSynciv; 1920 #define glGetSynciv glad_glGetSynciv 1921 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC)(GLenum target, GLuint index, GLint64 *data); 1922 GLAPI PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v; 1923 #define glGetInteger64i_v glad_glGetInteger64i_v 1924 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC)(GLenum target, GLenum pname, GLint64 *params); 1925 GLAPI PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v; 1926 #define glGetBufferParameteri64v glad_glGetBufferParameteri64v 1927 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level); 1928 GLAPI PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture; 1929 #define glFramebufferTexture glad_glFramebufferTexture 1930 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 1931 GLAPI PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample; 1932 #define glTexImage2DMultisample glad_glTexImage2DMultisample 1933 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 1934 GLAPI PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample; 1935 #define glTexImage3DMultisample glad_glTexImage3DMultisample 1936 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC)(GLenum pname, GLuint index, GLfloat *val); 1937 GLAPI PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv; 1938 #define glGetMultisamplefv glad_glGetMultisamplefv 1939 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC)(GLuint maskNumber, GLbitfield mask); 1940 GLAPI PFNGLSAMPLEMASKIPROC glad_glSampleMaski; 1941 #define glSampleMaski glad_glSampleMaski 1942 #endif 1943 #ifndef GL_VERSION_3_3 1944 #define GL_VERSION_3_3 1 1945 GLAPI int GLAD_GL_VERSION_3_3; 1946 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1947 GLAPI PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_glBindFragDataLocationIndexed; 1948 #define glBindFragDataLocationIndexed glad_glBindFragDataLocationIndexed 1949 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC)(GLuint program, const GLchar *name); 1950 GLAPI PFNGLGETFRAGDATAINDEXPROC glad_glGetFragDataIndex; 1951 #define glGetFragDataIndex glad_glGetFragDataIndex 1952 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC)(GLsizei count, GLuint *samplers); 1953 GLAPI PFNGLGENSAMPLERSPROC glad_glGenSamplers; 1954 #define glGenSamplers glad_glGenSamplers 1955 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC)(GLsizei count, const GLuint *samplers); 1956 GLAPI PFNGLDELETESAMPLERSPROC glad_glDeleteSamplers; 1957 #define glDeleteSamplers glad_glDeleteSamplers 1958 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC)(GLuint sampler); 1959 GLAPI PFNGLISSAMPLERPROC glad_glIsSampler; 1960 #define glIsSampler glad_glIsSampler 1961 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC)(GLuint unit, GLuint sampler); 1962 GLAPI PFNGLBINDSAMPLERPROC glad_glBindSampler; 1963 #define glBindSampler glad_glBindSampler 1964 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC)(GLuint sampler, GLenum pname, GLint param); 1965 GLAPI PFNGLSAMPLERPARAMETERIPROC glad_glSamplerParameteri; 1966 #define glSamplerParameteri glad_glSamplerParameteri 1967 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC)(GLuint sampler, GLenum pname, const GLint *param); 1968 GLAPI PFNGLSAMPLERPARAMETERIVPROC glad_glSamplerParameteriv; 1969 #define glSamplerParameteriv glad_glSamplerParameteriv 1970 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC)(GLuint sampler, GLenum pname, GLfloat param); 1971 GLAPI PFNGLSAMPLERPARAMETERFPROC glad_glSamplerParameterf; 1972 #define glSamplerParameterf glad_glSamplerParameterf 1973 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC)(GLuint sampler, GLenum pname, const GLfloat *param); 1974 GLAPI PFNGLSAMPLERPARAMETERFVPROC glad_glSamplerParameterfv; 1975 #define glSamplerParameterfv glad_glSamplerParameterfv 1976 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC)(GLuint sampler, GLenum pname, const GLint *param); 1977 GLAPI PFNGLSAMPLERPARAMETERIIVPROC glad_glSamplerParameterIiv; 1978 #define glSamplerParameterIiv glad_glSamplerParameterIiv 1979 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC)(GLuint sampler, GLenum pname, const GLuint *param); 1980 GLAPI PFNGLSAMPLERPARAMETERIUIVPROC glad_glSamplerParameterIuiv; 1981 #define glSamplerParameterIuiv glad_glSamplerParameterIuiv 1982 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC)(GLuint sampler, GLenum pname, GLint *params); 1983 GLAPI PFNGLGETSAMPLERPARAMETERIVPROC glad_glGetSamplerParameteriv; 1984 #define glGetSamplerParameteriv glad_glGetSamplerParameteriv 1985 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC)(GLuint sampler, GLenum pname, GLint *params); 1986 GLAPI PFNGLGETSAMPLERPARAMETERIIVPROC glad_glGetSamplerParameterIiv; 1987 #define glGetSamplerParameterIiv glad_glGetSamplerParameterIiv 1988 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC)(GLuint sampler, GLenum pname, GLfloat *params); 1989 GLAPI PFNGLGETSAMPLERPARAMETERFVPROC glad_glGetSamplerParameterfv; 1990 #define glGetSamplerParameterfv glad_glGetSamplerParameterfv 1991 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC)(GLuint sampler, GLenum pname, GLuint *params); 1992 GLAPI PFNGLGETSAMPLERPARAMETERIUIVPROC glad_glGetSamplerParameterIuiv; 1993 #define glGetSamplerParameterIuiv glad_glGetSamplerParameterIuiv 1994 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC)(GLuint id, GLenum target); 1995 GLAPI PFNGLQUERYCOUNTERPROC glad_glQueryCounter; 1996 #define glQueryCounter glad_glQueryCounter 1997 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC)(GLuint id, GLenum pname, GLint64 *params); 1998 GLAPI PFNGLGETQUERYOBJECTI64VPROC glad_glGetQueryObjecti64v; 1999 #define glGetQueryObjecti64v glad_glGetQueryObjecti64v 2000 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC)(GLuint id, GLenum pname, GLuint64 *params); 2001 GLAPI PFNGLGETQUERYOBJECTUI64VPROC glad_glGetQueryObjectui64v; 2002 #define glGetQueryObjectui64v glad_glGetQueryObjectui64v 2003 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC)(GLuint index, GLuint divisor); 2004 GLAPI PFNGLVERTEXATTRIBDIVISORPROC glad_glVertexAttribDivisor; 2005 #define glVertexAttribDivisor glad_glVertexAttribDivisor 2006 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); 2007 GLAPI PFNGLVERTEXATTRIBP1UIPROC glad_glVertexAttribP1ui; 2008 #define glVertexAttribP1ui glad_glVertexAttribP1ui 2009 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 2010 GLAPI PFNGLVERTEXATTRIBP1UIVPROC glad_glVertexAttribP1uiv; 2011 #define glVertexAttribP1uiv glad_glVertexAttribP1uiv 2012 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); 2013 GLAPI PFNGLVERTEXATTRIBP2UIPROC glad_glVertexAttribP2ui; 2014 #define glVertexAttribP2ui glad_glVertexAttribP2ui 2015 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 2016 GLAPI PFNGLVERTEXATTRIBP2UIVPROC glad_glVertexAttribP2uiv; 2017 #define glVertexAttribP2uiv glad_glVertexAttribP2uiv 2018 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); 2019 GLAPI PFNGLVERTEXATTRIBP3UIPROC glad_glVertexAttribP3ui; 2020 #define glVertexAttribP3ui glad_glVertexAttribP3ui 2021 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 2022 GLAPI PFNGLVERTEXATTRIBP3UIVPROC glad_glVertexAttribP3uiv; 2023 #define glVertexAttribP3uiv glad_glVertexAttribP3uiv 2024 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); 2025 GLAPI PFNGLVERTEXATTRIBP4UIPROC glad_glVertexAttribP4ui; 2026 #define glVertexAttribP4ui glad_glVertexAttribP4ui 2027 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 2028 GLAPI PFNGLVERTEXATTRIBP4UIVPROC glad_glVertexAttribP4uiv; 2029 #define glVertexAttribP4uiv glad_glVertexAttribP4uiv 2030 typedef void (APIENTRYP PFNGLVERTEXP2UIPROC)(GLenum type, GLuint value); 2031 GLAPI PFNGLVERTEXP2UIPROC glad_glVertexP2ui; 2032 #define glVertexP2ui glad_glVertexP2ui 2033 typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC)(GLenum type, const GLuint *value); 2034 GLAPI PFNGLVERTEXP2UIVPROC glad_glVertexP2uiv; 2035 #define glVertexP2uiv glad_glVertexP2uiv 2036 typedef void (APIENTRYP PFNGLVERTEXP3UIPROC)(GLenum type, GLuint value); 2037 GLAPI PFNGLVERTEXP3UIPROC glad_glVertexP3ui; 2038 #define glVertexP3ui glad_glVertexP3ui 2039 typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC)(GLenum type, const GLuint *value); 2040 GLAPI PFNGLVERTEXP3UIVPROC glad_glVertexP3uiv; 2041 #define glVertexP3uiv glad_glVertexP3uiv 2042 typedef void (APIENTRYP PFNGLVERTEXP4UIPROC)(GLenum type, GLuint value); 2043 GLAPI PFNGLVERTEXP4UIPROC glad_glVertexP4ui; 2044 #define glVertexP4ui glad_glVertexP4ui 2045 typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC)(GLenum type, const GLuint *value); 2046 GLAPI PFNGLVERTEXP4UIVPROC glad_glVertexP4uiv; 2047 #define glVertexP4uiv glad_glVertexP4uiv 2048 typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC)(GLenum type, GLuint coords); 2049 GLAPI PFNGLTEXCOORDP1UIPROC glad_glTexCoordP1ui; 2050 #define glTexCoordP1ui glad_glTexCoordP1ui 2051 typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC)(GLenum type, const GLuint *coords); 2052 GLAPI PFNGLTEXCOORDP1UIVPROC glad_glTexCoordP1uiv; 2053 #define glTexCoordP1uiv glad_glTexCoordP1uiv 2054 typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC)(GLenum type, GLuint coords); 2055 GLAPI PFNGLTEXCOORDP2UIPROC glad_glTexCoordP2ui; 2056 #define glTexCoordP2ui glad_glTexCoordP2ui 2057 typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC)(GLenum type, const GLuint *coords); 2058 GLAPI PFNGLTEXCOORDP2UIVPROC glad_glTexCoordP2uiv; 2059 #define glTexCoordP2uiv glad_glTexCoordP2uiv 2060 typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC)(GLenum type, GLuint coords); 2061 GLAPI PFNGLTEXCOORDP3UIPROC glad_glTexCoordP3ui; 2062 #define glTexCoordP3ui glad_glTexCoordP3ui 2063 typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC)(GLenum type, const GLuint *coords); 2064 GLAPI PFNGLTEXCOORDP3UIVPROC glad_glTexCoordP3uiv; 2065 #define glTexCoordP3uiv glad_glTexCoordP3uiv 2066 typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC)(GLenum type, GLuint coords); 2067 GLAPI PFNGLTEXCOORDP4UIPROC glad_glTexCoordP4ui; 2068 #define glTexCoordP4ui glad_glTexCoordP4ui 2069 typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC)(GLenum type, const GLuint *coords); 2070 GLAPI PFNGLTEXCOORDP4UIVPROC glad_glTexCoordP4uiv; 2071 #define glTexCoordP4uiv glad_glTexCoordP4uiv 2072 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC)(GLenum texture, GLenum type, GLuint coords); 2073 GLAPI PFNGLMULTITEXCOORDP1UIPROC glad_glMultiTexCoordP1ui; 2074 #define glMultiTexCoordP1ui glad_glMultiTexCoordP1ui 2075 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC)(GLenum texture, GLenum type, const GLuint *coords); 2076 GLAPI PFNGLMULTITEXCOORDP1UIVPROC glad_glMultiTexCoordP1uiv; 2077 #define glMultiTexCoordP1uiv glad_glMultiTexCoordP1uiv 2078 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC)(GLenum texture, GLenum type, GLuint coords); 2079 GLAPI PFNGLMULTITEXCOORDP2UIPROC glad_glMultiTexCoordP2ui; 2080 #define glMultiTexCoordP2ui glad_glMultiTexCoordP2ui 2081 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC)(GLenum texture, GLenum type, const GLuint *coords); 2082 GLAPI PFNGLMULTITEXCOORDP2UIVPROC glad_glMultiTexCoordP2uiv; 2083 #define glMultiTexCoordP2uiv glad_glMultiTexCoordP2uiv 2084 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC)(GLenum texture, GLenum type, GLuint coords); 2085 GLAPI PFNGLMULTITEXCOORDP3UIPROC glad_glMultiTexCoordP3ui; 2086 #define glMultiTexCoordP3ui glad_glMultiTexCoordP3ui 2087 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC)(GLenum texture, GLenum type, const GLuint *coords); 2088 GLAPI PFNGLMULTITEXCOORDP3UIVPROC glad_glMultiTexCoordP3uiv; 2089 #define glMultiTexCoordP3uiv glad_glMultiTexCoordP3uiv 2090 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC)(GLenum texture, GLenum type, GLuint coords); 2091 GLAPI PFNGLMULTITEXCOORDP4UIPROC glad_glMultiTexCoordP4ui; 2092 #define glMultiTexCoordP4ui glad_glMultiTexCoordP4ui 2093 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC)(GLenum texture, GLenum type, const GLuint *coords); 2094 GLAPI PFNGLMULTITEXCOORDP4UIVPROC glad_glMultiTexCoordP4uiv; 2095 #define glMultiTexCoordP4uiv glad_glMultiTexCoordP4uiv 2096 typedef void (APIENTRYP PFNGLNORMALP3UIPROC)(GLenum type, GLuint coords); 2097 GLAPI PFNGLNORMALP3UIPROC glad_glNormalP3ui; 2098 #define glNormalP3ui glad_glNormalP3ui 2099 typedef void (APIENTRYP PFNGLNORMALP3UIVPROC)(GLenum type, const GLuint *coords); 2100 GLAPI PFNGLNORMALP3UIVPROC glad_glNormalP3uiv; 2101 #define glNormalP3uiv glad_glNormalP3uiv 2102 typedef void (APIENTRYP PFNGLCOLORP3UIPROC)(GLenum type, GLuint color); 2103 GLAPI PFNGLCOLORP3UIPROC glad_glColorP3ui; 2104 #define glColorP3ui glad_glColorP3ui 2105 typedef void (APIENTRYP PFNGLCOLORP3UIVPROC)(GLenum type, const GLuint *color); 2106 GLAPI PFNGLCOLORP3UIVPROC glad_glColorP3uiv; 2107 #define glColorP3uiv glad_glColorP3uiv 2108 typedef void (APIENTRYP PFNGLCOLORP4UIPROC)(GLenum type, GLuint color); 2109 GLAPI PFNGLCOLORP4UIPROC glad_glColorP4ui; 2110 #define glColorP4ui glad_glColorP4ui 2111 typedef void (APIENTRYP PFNGLCOLORP4UIVPROC)(GLenum type, const GLuint *color); 2112 GLAPI PFNGLCOLORP4UIVPROC glad_glColorP4uiv; 2113 #define glColorP4uiv glad_glColorP4uiv 2114 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC)(GLenum type, GLuint color); 2115 GLAPI PFNGLSECONDARYCOLORP3UIPROC glad_glSecondaryColorP3ui; 2116 #define glSecondaryColorP3ui glad_glSecondaryColorP3ui 2117 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC)(GLenum type, const GLuint *color); 2118 GLAPI PFNGLSECONDARYCOLORP3UIVPROC glad_glSecondaryColorP3uiv; 2119 #define glSecondaryColorP3uiv glad_glSecondaryColorP3uiv 2120 #endif 2121 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 2122 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 2123 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244 2124 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 2125 #define GL_DEBUG_SOURCE_API 0x8246 2126 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 2127 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 2128 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 2129 #define GL_DEBUG_SOURCE_APPLICATION 0x824A 2130 #define GL_DEBUG_SOURCE_OTHER 0x824B 2131 #define GL_DEBUG_TYPE_ERROR 0x824C 2132 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D 2133 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E 2134 #define GL_DEBUG_TYPE_PORTABILITY 0x824F 2135 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250 2136 #define GL_DEBUG_TYPE_OTHER 0x8251 2137 #define GL_DEBUG_TYPE_MARKER 0x8268 2138 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 2139 #define GL_DEBUG_TYPE_POP_GROUP 0x826A 2140 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B 2141 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C 2142 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D 2143 #define GL_BUFFER 0x82E0 2144 #define GL_SHADER 0x82E1 2145 #define GL_PROGRAM 0x82E2 2146 #define GL_VERTEX_ARRAY 0x8074 2147 #define GL_QUERY 0x82E3 2148 #define GL_PROGRAM_PIPELINE 0x82E4 2149 #define GL_SAMPLER 0x82E6 2150 #define GL_MAX_LABEL_LENGTH 0x82E8 2151 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 2152 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 2153 #define GL_DEBUG_LOGGED_MESSAGES 0x9145 2154 #define GL_DEBUG_SEVERITY_HIGH 0x9146 2155 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147 2156 #define GL_DEBUG_SEVERITY_LOW 0x9148 2157 #define GL_DEBUG_OUTPUT 0x92E0 2158 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 2159 #define GL_STACK_OVERFLOW 0x0503 2160 #define GL_STACK_UNDERFLOW 0x0504 2161 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 2162 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 2163 #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 2164 #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 2165 #define GL_DEBUG_SOURCE_API_KHR 0x8246 2166 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 2167 #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 2168 #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 2169 #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A 2170 #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B 2171 #define GL_DEBUG_TYPE_ERROR_KHR 0x824C 2172 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D 2173 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E 2174 #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F 2175 #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 2176 #define GL_DEBUG_TYPE_OTHER_KHR 0x8251 2177 #define GL_DEBUG_TYPE_MARKER_KHR 0x8268 2178 #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 2179 #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A 2180 #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B 2181 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C 2182 #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D 2183 #define GL_BUFFER_KHR 0x82E0 2184 #define GL_SHADER_KHR 0x82E1 2185 #define GL_PROGRAM_KHR 0x82E2 2186 #define GL_VERTEX_ARRAY_KHR 0x8074 2187 #define GL_QUERY_KHR 0x82E3 2188 #define GL_PROGRAM_PIPELINE_KHR 0x82E4 2189 #define GL_SAMPLER_KHR 0x82E6 2190 #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 2191 #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 2192 #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 2193 #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 2194 #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 2195 #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 2196 #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 2197 #define GL_DEBUG_OUTPUT_KHR 0x92E0 2198 #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 2199 #define GL_STACK_OVERFLOW_KHR 0x0503 2200 #define GL_STACK_UNDERFLOW_KHR 0x0504 2201 #define GL_DISPLAY_LIST 0x82E7 2202 #ifndef GL_KHR_debug 2203 #define GL_KHR_debug 1 2204 GLAPI int GLAD_GL_KHR_debug; 2205 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 2206 GLAPI PFNGLDEBUGMESSAGECONTROLPROC glad_glDebugMessageControl; 2207 #define glDebugMessageControl glad_glDebugMessageControl 2208 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 2209 GLAPI PFNGLDEBUGMESSAGEINSERTPROC glad_glDebugMessageInsert; 2210 #define glDebugMessageInsert glad_glDebugMessageInsert 2211 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC)(GLDEBUGPROC callback, const void *userParam); 2212 GLAPI PFNGLDEBUGMESSAGECALLBACKPROC glad_glDebugMessageCallback; 2213 #define glDebugMessageCallback glad_glDebugMessageCallback 2214 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC)(GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 2215 GLAPI PFNGLGETDEBUGMESSAGELOGPROC glad_glGetDebugMessageLog; 2216 #define glGetDebugMessageLog glad_glGetDebugMessageLog 2217 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC)(GLenum source, GLuint id, GLsizei length, const GLchar *message); 2218 GLAPI PFNGLPUSHDEBUGGROUPPROC glad_glPushDebugGroup; 2219 #define glPushDebugGroup glad_glPushDebugGroup 2220 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC)(void); 2221 GLAPI PFNGLPOPDEBUGGROUPPROC glad_glPopDebugGroup; 2222 #define glPopDebugGroup glad_glPopDebugGroup 2223 typedef void (APIENTRYP PFNGLOBJECTLABELPROC)(GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 2224 GLAPI PFNGLOBJECTLABELPROC glad_glObjectLabel; 2225 #define glObjectLabel glad_glObjectLabel 2226 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 2227 GLAPI PFNGLGETOBJECTLABELPROC glad_glGetObjectLabel; 2228 #define glGetObjectLabel glad_glGetObjectLabel 2229 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC)(const void *ptr, GLsizei length, const GLchar *label); 2230 GLAPI PFNGLOBJECTPTRLABELPROC glad_glObjectPtrLabel; 2231 #define glObjectPtrLabel glad_glObjectPtrLabel 2232 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC)(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 2233 GLAPI PFNGLGETOBJECTPTRLABELPROC glad_glGetObjectPtrLabel; 2234 #define glGetObjectPtrLabel glad_glGetObjectPtrLabel 2235 typedef void (APIENTRYP PFNGLGETPOINTERVPROC)(GLenum pname, void **params); 2236 GLAPI PFNGLGETPOINTERVPROC glad_glGetPointerv; 2237 #define glGetPointerv glad_glGetPointerv 2238 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 2239 GLAPI PFNGLDEBUGMESSAGECONTROLKHRPROC glad_glDebugMessageControlKHR; 2240 #define glDebugMessageControlKHR glad_glDebugMessageControlKHR 2241 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 2242 GLAPI PFNGLDEBUGMESSAGEINSERTKHRPROC glad_glDebugMessageInsertKHR; 2243 #define glDebugMessageInsertKHR glad_glDebugMessageInsertKHR 2244 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC)(GLDEBUGPROCKHR callback, const void *userParam); 2245 GLAPI PFNGLDEBUGMESSAGECALLBACKKHRPROC glad_glDebugMessageCallbackKHR; 2246 #define glDebugMessageCallbackKHR glad_glDebugMessageCallbackKHR 2247 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 2248 GLAPI PFNGLGETDEBUGMESSAGELOGKHRPROC glad_glGetDebugMessageLogKHR; 2249 #define glGetDebugMessageLogKHR glad_glGetDebugMessageLogKHR 2250 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC)(GLenum source, GLuint id, GLsizei length, const GLchar *message); 2251 GLAPI PFNGLPUSHDEBUGGROUPKHRPROC glad_glPushDebugGroupKHR; 2252 #define glPushDebugGroupKHR glad_glPushDebugGroupKHR 2253 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC)(void); 2254 GLAPI PFNGLPOPDEBUGGROUPKHRPROC glad_glPopDebugGroupKHR; 2255 #define glPopDebugGroupKHR glad_glPopDebugGroupKHR 2256 typedef void (APIENTRYP PFNGLOBJECTLABELKHRPROC)(GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 2257 GLAPI PFNGLOBJECTLABELKHRPROC glad_glObjectLabelKHR; 2258 #define glObjectLabelKHR glad_glObjectLabelKHR 2259 typedef void (APIENTRYP PFNGLGETOBJECTLABELKHRPROC)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 2260 GLAPI PFNGLGETOBJECTLABELKHRPROC glad_glGetObjectLabelKHR; 2261 #define glGetObjectLabelKHR glad_glGetObjectLabelKHR 2262 typedef void (APIENTRYP PFNGLOBJECTPTRLABELKHRPROC)(const void *ptr, GLsizei length, const GLchar *label); 2263 GLAPI PFNGLOBJECTPTRLABELKHRPROC glad_glObjectPtrLabelKHR; 2264 #define glObjectPtrLabelKHR glad_glObjectPtrLabelKHR 2265 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC)(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 2266 GLAPI PFNGLGETOBJECTPTRLABELKHRPROC glad_glGetObjectPtrLabelKHR; 2267 #define glGetObjectPtrLabelKHR glad_glGetObjectPtrLabelKHR 2268 typedef void (APIENTRYP PFNGLGETPOINTERVKHRPROC)(GLenum pname, void **params); 2269 GLAPI PFNGLGETPOINTERVKHRPROC glad_glGetPointervKHR; 2270 #define glGetPointervKHR glad_glGetPointervKHR 2271 #endif 2272 2273 #ifdef __cplusplus 2274 } 2275 #endif 2276 2277 #endif