opengl-triangle

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