medfall

A super great game engine
Log | Files | Refs

glad.h (121669B)


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