1 2 #ifndef __glad_h_ 3 #define __glad_h_ 4 5 #ifdef __gl_h_ 6 #error OpenGL header already included, remove this include, glad already provides it 7 #endif 8 #define __gl_h_ 9 10 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 11 #ifndef WIN32_LEAN_AND_MEAN 12 #define WIN32_LEAN_AND_MEAN 1 13 #endif 14 #include <windows.h> 15 #endif 16 17 #ifndef APIENTRY 18 #define APIENTRY 19 #endif 20 #ifndef APIENTRYP 21 #define APIENTRYP APIENTRY * 22 #endif 23 24 #ifdef __cplusplus 25 extern "C" { 26 #endif 27 28 struct gladGLversionStruct { 29 int major; 30 int minor; 31 }; 32 33 extern struct gladGLversionStruct GLVersion; 34 35 typedef void* (* GLADloadproc)(const char *name); 36 37 #ifndef GLAPI 38 # if defined(GLAD_GLAPI_EXPORT) 39 # if defined(WIN32) || defined(__CYGWIN__) 40 # if defined(GLAD_GLAPI_EXPORT_BUILD) 41 # if defined(__GNUC__) 42 # define GLAPI __attribute__ ((dllexport)) extern 43 # else 44 # define GLAPI __declspec(dllexport) extern 45 # endif 46 # else 47 # if defined(__GNUC__) 48 # define GLAPI __attribute__ ((dllimport)) extern 49 # else 50 # define GLAPI __declspec(dllimport) extern 51 # endif 52 # endif 53 # elif defined(__GNUC__) && defined(GLAD_GLAPI_EXPORT_BUILD) 54 # define GLAPI __attribute__ ((visibility ("default"))) extern 55 # else 56 # define GLAPI extern 57 # endif 58 # else 59 # define GLAPI extern 60 # endif 61 #endif 62 GLAPI int gladLoadGLLoader(GLADloadproc); 63 64 #include <stddef.h> 65 #include <KHR/khrplatform.h> 66 #ifndef GLEXT_64_TYPES_DEFINED 67 /* This code block is duplicated in glxext.h, so must be protected */ 68 #define GLEXT_64_TYPES_DEFINED 69 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */ 70 /* (as used in the GL_EXT_timer_query extension). */ 71 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 72 #include <inttypes.h> 73 #elif defined(__sun__) || defined(__digital__) 74 #include <inttypes.h> 75 #if defined(__STDC__) 76 #if defined(__arch64__) || defined(_LP64) 77 typedef long int int64_t; 78 typedef unsigned long int uint64_t; 79 #else 80 typedef long long int int64_t; 81 typedef unsigned long long int uint64_t; 82 #endif /* __arch64__ */ 83 #endif /* __STDC__ */ 84 #elif defined( __VMS ) || defined(__sgi) 85 #include <inttypes.h> 86 #elif defined(__SCO__) || defined(__USLC__) 87 #include <stdint.h> 88 #elif defined(__UNIXOS2__) || defined(__SOL64__) 89 typedef long int int32_t; 90 typedef long long int int64_t; 91 typedef unsigned long long int uint64_t; 92 #elif defined(_WIN32) && defined(__GNUC__) 93 #include <stdint.h> 94 #elif defined(_WIN32) 95 typedef __int32 int32_t; 96 typedef __int64 int64_t; 97 typedef unsigned __int64 uint64_t; 98 #else 99 /* Fallback if nothing above works */ 100 #include <inttypes.h> 101 #endif 102 #endif 103 typedef unsigned int GLenum; 104 typedef unsigned char GLboolean; 105 typedef unsigned int GLbitfield; 106 typedef void GLvoid; 107 typedef signed char GLbyte; 108 typedef short GLshort; 109 typedef int GLint; 110 typedef int GLclampx; 111 typedef unsigned char GLubyte; 112 typedef unsigned short GLushort; 113 typedef unsigned int GLuint; 114 typedef int GLsizei; 115 typedef float GLfloat; 116 typedef float GLclampf; 117 typedef double GLdouble; 118 typedef double GLclampd; 119 typedef void *GLeglImageOES; 120 typedef char GLchar; 121 typedef char GLcharARB; 122 #ifdef __APPLE__ 123 typedef void *GLhandleARB; 124 #else 125 typedef unsigned int GLhandleARB; 126 #endif 127 typedef unsigned short GLhalfARB; 128 typedef unsigned short GLhalf; 129 typedef GLint GLfixed; 130 typedef ptrdiff_t GLintptr; 131 typedef ptrdiff_t GLsizeiptr; 132 typedef int64_t GLint64; 133 typedef uint64_t GLuint64; 134 typedef ptrdiff_t GLintptrARB; 135 typedef ptrdiff_t GLsizeiptrARB; 136 typedef int64_t GLint64EXT; 137 typedef uint64_t GLuint64EXT; 138 typedef struct __GLsync *GLsync; 139 struct _cl_context; 140 struct _cl_event; 141 typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 142 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 143 typedef void (APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 144 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam); 145 typedef unsigned short GLhalfNV; 146 typedef GLintptr GLvdpauSurfaceNV; 147 #define GL_DEPTH_BUFFER_BIT 0x00000100 148 #define GL_STENCIL_BUFFER_BIT 0x00000400 149 #define GL_COLOR_BUFFER_BIT 0x00004000 150 #define GL_FALSE 0 151 #define GL_TRUE 1 152 #define GL_POINTS 0x0000 153 #define GL_LINES 0x0001 154 #define GL_LINE_LOOP 0x0002 155 #define GL_LINE_STRIP 0x0003 156 #define GL_TRIANGLES 0x0004 157 #define GL_TRIANGLE_STRIP 0x0005 158 #define GL_TRIANGLE_FAN 0x0006 159 #define GL_QUADS 0x0007 160 #define GL_NEVER 0x0200 161 #define GL_LESS 0x0201 162 #define GL_EQUAL 0x0202 163 #define GL_LEQUAL 0x0203 164 #define GL_GREATER 0x0204 165 #define GL_NOTEQUAL 0x0205 166 #define GL_GEQUAL 0x0206 167 #define GL_ALWAYS 0x0207 168 #define GL_ZERO 0 169 #define GL_ONE 1 170 #define GL_SRC_COLOR 0x0300 171 #define GL_ONE_MINUS_SRC_COLOR 0x0301 172 #define GL_SRC_ALPHA 0x0302 173 #define GL_ONE_MINUS_SRC_ALPHA 0x0303 174 #define GL_DST_ALPHA 0x0304 175 #define GL_ONE_MINUS_DST_ALPHA 0x0305 176 #define GL_DST_COLOR 0x0306 177 #define GL_ONE_MINUS_DST_COLOR 0x0307 178 #define GL_SRC_ALPHA_SATURATE 0x0308 179 #define GL_NONE 0 180 #define GL_FRONT_LEFT 0x0400 181 #define GL_FRONT_RIGHT 0x0401 182 #define GL_BACK_LEFT 0x0402 183 #define GL_BACK_RIGHT 0x0403 184 #define GL_FRONT 0x0404 185 #define GL_BACK 0x0405 186 #define GL_LEFT 0x0406 187 #define GL_RIGHT 0x0407 188 #define GL_FRONT_AND_BACK 0x0408 189 #define GL_NO_ERROR 0 190 #define GL_INVALID_ENUM 0x0500 191 #define GL_INVALID_VALUE 0x0501 192 #define GL_INVALID_OPERATION 0x0502 193 #define GL_OUT_OF_MEMORY 0x0505 194 #define GL_CW 0x0900 195 #define GL_CCW 0x0901 196 #define GL_POINT_SIZE 0x0B11 197 #define GL_POINT_SIZE_RANGE 0x0B12 198 #define GL_POINT_SIZE_GRANULARITY 0x0B13 199 #define GL_LINE_SMOOTH 0x0B20 200 #define GL_LINE_WIDTH 0x0B21 201 #define GL_LINE_WIDTH_RANGE 0x0B22 202 #define GL_LINE_WIDTH_GRANULARITY 0x0B23 203 #define GL_POLYGON_MODE 0x0B40 204 #define GL_POLYGON_SMOOTH 0x0B41 205 #define GL_CULL_FACE 0x0B44 206 #define GL_CULL_FACE_MODE 0x0B45 207 #define GL_FRONT_FACE 0x0B46 208 #define GL_DEPTH_RANGE 0x0B70 209 #define GL_DEPTH_TEST 0x0B71 210 #define GL_DEPTH_WRITEMASK 0x0B72 211 #define GL_DEPTH_CLEAR_VALUE 0x0B73 212 #define GL_DEPTH_FUNC 0x0B74 213 #define GL_STENCIL_TEST 0x0B90 214 #define GL_STENCIL_CLEAR_VALUE 0x0B91 215 #define GL_STENCIL_FUNC 0x0B92 216 #define GL_STENCIL_VALUE_MASK 0x0B93 217 #define GL_STENCIL_FAIL 0x0B94 218 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 219 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 220 #define GL_STENCIL_REF 0x0B97 221 #define GL_STENCIL_WRITEMASK 0x0B98 222 #define GL_VIEWPORT 0x0BA2 223 #define GL_DITHER 0x0BD0 224 #define GL_BLEND_DST 0x0BE0 225 #define GL_BLEND_SRC 0x0BE1 226 #define GL_BLEND 0x0BE2 227 #define GL_LOGIC_OP_MODE 0x0BF0 228 #define GL_COLOR_LOGIC_OP 0x0BF2 229 #define GL_DRAW_BUFFER 0x0C01 230 #define GL_READ_BUFFER 0x0C02 231 #define GL_SCISSOR_BOX 0x0C10 232 #define GL_SCISSOR_TEST 0x0C11 233 #define GL_COLOR_CLEAR_VALUE 0x0C22 234 #define GL_COLOR_WRITEMASK 0x0C23 235 #define GL_DOUBLEBUFFER 0x0C32 236 #define GL_STEREO 0x0C33 237 #define GL_LINE_SMOOTH_HINT 0x0C52 238 #define GL_POLYGON_SMOOTH_HINT 0x0C53 239 #define GL_UNPACK_SWAP_BYTES 0x0CF0 240 #define GL_UNPACK_LSB_FIRST 0x0CF1 241 #define GL_UNPACK_ROW_LENGTH 0x0CF2 242 #define GL_UNPACK_SKIP_ROWS 0x0CF3 243 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 244 #define GL_UNPACK_ALIGNMENT 0x0CF5 245 #define GL_PACK_SWAP_BYTES 0x0D00 246 #define GL_PACK_LSB_FIRST 0x0D01 247 #define GL_PACK_ROW_LENGTH 0x0D02 248 #define GL_PACK_SKIP_ROWS 0x0D03 249 #define GL_PACK_SKIP_PIXELS 0x0D04 250 #define GL_PACK_ALIGNMENT 0x0D05 251 #define GL_MAX_TEXTURE_SIZE 0x0D33 252 #define GL_MAX_VIEWPORT_DIMS 0x0D3A 253 #define GL_SUBPIXEL_BITS 0x0D50 254 #define GL_TEXTURE_1D 0x0DE0 255 #define GL_TEXTURE_2D 0x0DE1 256 #define GL_POLYGON_OFFSET_UNITS 0x2A00 257 #define GL_POLYGON_OFFSET_POINT 0x2A01 258 #define GL_POLYGON_OFFSET_LINE 0x2A02 259 #define GL_POLYGON_OFFSET_FILL 0x8037 260 #define GL_POLYGON_OFFSET_FACTOR 0x8038 261 #define GL_TEXTURE_BINDING_1D 0x8068 262 #define GL_TEXTURE_BINDING_2D 0x8069 263 #define GL_TEXTURE_WIDTH 0x1000 264 #define GL_TEXTURE_HEIGHT 0x1001 265 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 266 #define GL_TEXTURE_BORDER_COLOR 0x1004 267 #define GL_TEXTURE_RED_SIZE 0x805C 268 #define GL_TEXTURE_GREEN_SIZE 0x805D 269 #define GL_TEXTURE_BLUE_SIZE 0x805E 270 #define GL_TEXTURE_ALPHA_SIZE 0x805F 271 #define GL_DONT_CARE 0x1100 272 #define GL_FASTEST 0x1101 273 #define GL_NICEST 0x1102 274 #define GL_BYTE 0x1400 275 #define GL_UNSIGNED_BYTE 0x1401 276 #define GL_SHORT 0x1402 277 #define GL_UNSIGNED_SHORT 0x1403 278 #define GL_INT 0x1404 279 #define GL_UNSIGNED_INT 0x1405 280 #define GL_FLOAT 0x1406 281 #define GL_DOUBLE 0x140A 282 #define GL_STACK_OVERFLOW 0x0503 283 #define GL_STACK_UNDERFLOW 0x0504 284 #define GL_CLEAR 0x1500 285 #define GL_AND 0x1501 286 #define GL_AND_REVERSE 0x1502 287 #define GL_COPY 0x1503 288 #define GL_AND_INVERTED 0x1504 289 #define GL_NOOP 0x1505 290 #define GL_XOR 0x1506 291 #define GL_OR 0x1507 292 #define GL_NOR 0x1508 293 #define GL_EQUIV 0x1509 294 #define GL_INVERT 0x150A 295 #define GL_OR_REVERSE 0x150B 296 #define GL_COPY_INVERTED 0x150C 297 #define GL_OR_INVERTED 0x150D 298 #define GL_NAND 0x150E 299 #define GL_SET 0x150F 300 #define GL_TEXTURE 0x1702 301 #define GL_COLOR 0x1800 302 #define GL_DEPTH 0x1801 303 #define GL_STENCIL 0x1802 304 #define GL_STENCIL_INDEX 0x1901 305 #define GL_DEPTH_COMPONENT 0x1902 306 #define GL_RED 0x1903 307 #define GL_GREEN 0x1904 308 #define GL_BLUE 0x1905 309 #define GL_ALPHA 0x1906 310 #define GL_RGB 0x1907 311 #define GL_RGBA 0x1908 312 #define GL_POINT 0x1B00 313 #define GL_LINE 0x1B01 314 #define GL_FILL 0x1B02 315 #define GL_KEEP 0x1E00 316 #define GL_REPLACE 0x1E01 317 #define GL_INCR 0x1E02 318 #define GL_DECR 0x1E03 319 #define GL_VENDOR 0x1F00 320 #define GL_RENDERER 0x1F01 321 #define GL_VERSION 0x1F02 322 #define GL_EXTENSIONS 0x1F03 323 #define GL_NEAREST 0x2600 324 #define GL_LINEAR 0x2601 325 #define GL_NEAREST_MIPMAP_NEAREST 0x2700 326 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 327 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 328 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 329 #define GL_TEXTURE_MAG_FILTER 0x2800 330 #define GL_TEXTURE_MIN_FILTER 0x2801 331 #define GL_TEXTURE_WRAP_S 0x2802 332 #define GL_TEXTURE_WRAP_T 0x2803 333 #define GL_PROXY_TEXTURE_1D 0x8063 334 #define GL_PROXY_TEXTURE_2D 0x8064 335 #define GL_REPEAT 0x2901 336 #define GL_R3_G3_B2 0x2A10 337 #define GL_RGB4 0x804F 338 #define GL_RGB5 0x8050 339 #define GL_RGB8 0x8051 340 #define GL_RGB10 0x8052 341 #define GL_RGB12 0x8053 342 #define GL_RGB16 0x8054 343 #define GL_RGBA2 0x8055 344 #define GL_RGBA4 0x8056 345 #define GL_RGB5_A1 0x8057 346 #define GL_RGBA8 0x8058 347 #define GL_RGB10_A2 0x8059 348 #define GL_RGBA12 0x805A 349 #define GL_RGBA16 0x805B 350 #define GL_CURRENT_BIT 0x00000001 351 #define GL_POINT_BIT 0x00000002 352 #define GL_LINE_BIT 0x00000004 353 #define GL_POLYGON_BIT 0x00000008 354 #define GL_POLYGON_STIPPLE_BIT 0x00000010 355 #define GL_PIXEL_MODE_BIT 0x00000020 356 #define GL_LIGHTING_BIT 0x00000040 357 #define GL_FOG_BIT 0x00000080 358 #define GL_ACCUM_BUFFER_BIT 0x00000200 359 #define GL_VIEWPORT_BIT 0x00000800 360 #define GL_TRANSFORM_BIT 0x00001000 361 #define GL_ENABLE_BIT 0x00002000 362 #define GL_HINT_BIT 0x00008000 363 #define GL_EVAL_BIT 0x00010000 364 #define GL_LIST_BIT 0x00020000 365 #define GL_TEXTURE_BIT 0x00040000 366 #define GL_SCISSOR_BIT 0x00080000 367 #define GL_ALL_ATTRIB_BITS 0xFFFFFFFF 368 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 369 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 370 #define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF 371 #define GL_QUAD_STRIP 0x0008 372 #define GL_POLYGON 0x0009 373 #define GL_ACCUM 0x0100 374 #define GL_LOAD 0x0101 375 #define GL_RETURN 0x0102 376 #define GL_MULT 0x0103 377 #define GL_ADD 0x0104 378 #define GL_AUX0 0x0409 379 #define GL_AUX1 0x040A 380 #define GL_AUX2 0x040B 381 #define GL_AUX3 0x040C 382 #define GL_2D 0x0600 383 #define GL_3D 0x0601 384 #define GL_3D_COLOR 0x0602 385 #define GL_3D_COLOR_TEXTURE 0x0603 386 #define GL_4D_COLOR_TEXTURE 0x0604 387 #define GL_PASS_THROUGH_TOKEN 0x0700 388 #define GL_POINT_TOKEN 0x0701 389 #define GL_LINE_TOKEN 0x0702 390 #define GL_POLYGON_TOKEN 0x0703 391 #define GL_BITMAP_TOKEN 0x0704 392 #define GL_DRAW_PIXEL_TOKEN 0x0705 393 #define GL_COPY_PIXEL_TOKEN 0x0706 394 #define GL_LINE_RESET_TOKEN 0x0707 395 #define GL_EXP 0x0800 396 #define GL_EXP2 0x0801 397 #define GL_COEFF 0x0A00 398 #define GL_ORDER 0x0A01 399 #define GL_DOMAIN 0x0A02 400 #define GL_PIXEL_MAP_I_TO_I 0x0C70 401 #define GL_PIXEL_MAP_S_TO_S 0x0C71 402 #define GL_PIXEL_MAP_I_TO_R 0x0C72 403 #define GL_PIXEL_MAP_I_TO_G 0x0C73 404 #define GL_PIXEL_MAP_I_TO_B 0x0C74 405 #define GL_PIXEL_MAP_I_TO_A 0x0C75 406 #define GL_PIXEL_MAP_R_TO_R 0x0C76 407 #define GL_PIXEL_MAP_G_TO_G 0x0C77 408 #define GL_PIXEL_MAP_B_TO_B 0x0C78 409 #define GL_PIXEL_MAP_A_TO_A 0x0C79 410 #define GL_VERTEX_ARRAY_POINTER 0x808E 411 #define GL_NORMAL_ARRAY_POINTER 0x808F 412 #define GL_COLOR_ARRAY_POINTER 0x8090 413 #define GL_INDEX_ARRAY_POINTER 0x8091 414 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 415 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 416 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 417 #define GL_SELECTION_BUFFER_POINTER 0x0DF3 418 #define GL_CURRENT_COLOR 0x0B00 419 #define GL_CURRENT_INDEX 0x0B01 420 #define GL_CURRENT_NORMAL 0x0B02 421 #define GL_CURRENT_TEXTURE_COORDS 0x0B03 422 #define GL_CURRENT_RASTER_COLOR 0x0B04 423 #define GL_CURRENT_RASTER_INDEX 0x0B05 424 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 425 #define GL_CURRENT_RASTER_POSITION 0x0B07 426 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 427 #define GL_CURRENT_RASTER_DISTANCE 0x0B09 428 #define GL_POINT_SMOOTH 0x0B10 429 #define GL_LINE_STIPPLE 0x0B24 430 #define GL_LINE_STIPPLE_PATTERN 0x0B25 431 #define GL_LINE_STIPPLE_REPEAT 0x0B26 432 #define GL_LIST_MODE 0x0B30 433 #define GL_MAX_LIST_NESTING 0x0B31 434 #define GL_LIST_BASE 0x0B32 435 #define GL_LIST_INDEX 0x0B33 436 #define GL_POLYGON_STIPPLE 0x0B42 437 #define GL_EDGE_FLAG 0x0B43 438 #define GL_LIGHTING 0x0B50 439 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 440 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 441 #define GL_LIGHT_MODEL_AMBIENT 0x0B53 442 #define GL_SHADE_MODEL 0x0B54 443 #define GL_COLOR_MATERIAL_FACE 0x0B55 444 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56 445 #define GL_COLOR_MATERIAL 0x0B57 446 #define GL_FOG 0x0B60 447 #define GL_FOG_INDEX 0x0B61 448 #define GL_FOG_DENSITY 0x0B62 449 #define GL_FOG_START 0x0B63 450 #define GL_FOG_END 0x0B64 451 #define GL_FOG_MODE 0x0B65 452 #define GL_FOG_COLOR 0x0B66 453 #define GL_ACCUM_CLEAR_VALUE 0x0B80 454 #define GL_MATRIX_MODE 0x0BA0 455 #define GL_NORMALIZE 0x0BA1 456 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3 457 #define GL_PROJECTION_STACK_DEPTH 0x0BA4 458 #define GL_TEXTURE_STACK_DEPTH 0x0BA5 459 #define GL_MODELVIEW_MATRIX 0x0BA6 460 #define GL_PROJECTION_MATRIX 0x0BA7 461 #define GL_TEXTURE_MATRIX 0x0BA8 462 #define GL_ATTRIB_STACK_DEPTH 0x0BB0 463 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 464 #define GL_ALPHA_TEST 0x0BC0 465 #define GL_ALPHA_TEST_FUNC 0x0BC1 466 #define GL_ALPHA_TEST_REF 0x0BC2 467 #define GL_INDEX_LOGIC_OP 0x0BF1 468 #define GL_LOGIC_OP 0x0BF1 469 #define GL_AUX_BUFFERS 0x0C00 470 #define GL_INDEX_CLEAR_VALUE 0x0C20 471 #define GL_INDEX_WRITEMASK 0x0C21 472 #define GL_INDEX_MODE 0x0C30 473 #define GL_RGBA_MODE 0x0C31 474 #define GL_RENDER_MODE 0x0C40 475 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 476 #define GL_POINT_SMOOTH_HINT 0x0C51 477 #define GL_FOG_HINT 0x0C54 478 #define GL_TEXTURE_GEN_S 0x0C60 479 #define GL_TEXTURE_GEN_T 0x0C61 480 #define GL_TEXTURE_GEN_R 0x0C62 481 #define GL_TEXTURE_GEN_Q 0x0C63 482 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 483 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 484 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 485 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 486 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 487 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 488 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 489 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 490 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 491 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 492 #define GL_MAP_COLOR 0x0D10 493 #define GL_MAP_STENCIL 0x0D11 494 #define GL_INDEX_SHIFT 0x0D12 495 #define GL_INDEX_OFFSET 0x0D13 496 #define GL_RED_SCALE 0x0D14 497 #define GL_RED_BIAS 0x0D15 498 #define GL_ZOOM_X 0x0D16 499 #define GL_ZOOM_Y 0x0D17 500 #define GL_GREEN_SCALE 0x0D18 501 #define GL_GREEN_BIAS 0x0D19 502 #define GL_BLUE_SCALE 0x0D1A 503 #define GL_BLUE_BIAS 0x0D1B 504 #define GL_ALPHA_SCALE 0x0D1C 505 #define GL_ALPHA_BIAS 0x0D1D 506 #define GL_DEPTH_SCALE 0x0D1E 507 #define GL_DEPTH_BIAS 0x0D1F 508 #define GL_MAX_EVAL_ORDER 0x0D30 509 #define GL_MAX_LIGHTS 0x0D31 510 #define GL_MAX_CLIP_PLANES 0x0D32 511 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34 512 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 513 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 514 #define GL_MAX_NAME_STACK_DEPTH 0x0D37 515 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 516 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 517 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B 518 #define GL_INDEX_BITS 0x0D51 519 #define GL_RED_BITS 0x0D52 520 #define GL_GREEN_BITS 0x0D53 521 #define GL_BLUE_BITS 0x0D54 522 #define GL_ALPHA_BITS 0x0D55 523 #define GL_DEPTH_BITS 0x0D56 524 #define GL_STENCIL_BITS 0x0D57 525 #define GL_ACCUM_RED_BITS 0x0D58 526 #define GL_ACCUM_GREEN_BITS 0x0D59 527 #define GL_ACCUM_BLUE_BITS 0x0D5A 528 #define GL_ACCUM_ALPHA_BITS 0x0D5B 529 #define GL_NAME_STACK_DEPTH 0x0D70 530 #define GL_AUTO_NORMAL 0x0D80 531 #define GL_MAP1_COLOR_4 0x0D90 532 #define GL_MAP1_INDEX 0x0D91 533 #define GL_MAP1_NORMAL 0x0D92 534 #define GL_MAP1_TEXTURE_COORD_1 0x0D93 535 #define GL_MAP1_TEXTURE_COORD_2 0x0D94 536 #define GL_MAP1_TEXTURE_COORD_3 0x0D95 537 #define GL_MAP1_TEXTURE_COORD_4 0x0D96 538 #define GL_MAP1_VERTEX_3 0x0D97 539 #define GL_MAP1_VERTEX_4 0x0D98 540 #define GL_MAP2_COLOR_4 0x0DB0 541 #define GL_MAP2_INDEX 0x0DB1 542 #define GL_MAP2_NORMAL 0x0DB2 543 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3 544 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4 545 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5 546 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6 547 #define GL_MAP2_VERTEX_3 0x0DB7 548 #define GL_MAP2_VERTEX_4 0x0DB8 549 #define GL_MAP1_GRID_DOMAIN 0x0DD0 550 #define GL_MAP1_GRID_SEGMENTS 0x0DD1 551 #define GL_MAP2_GRID_DOMAIN 0x0DD2 552 #define GL_MAP2_GRID_SEGMENTS 0x0DD3 553 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 554 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 555 #define GL_SELECTION_BUFFER_SIZE 0x0DF4 556 #define GL_VERTEX_ARRAY 0x8074 557 #define GL_NORMAL_ARRAY 0x8075 558 #define GL_COLOR_ARRAY 0x8076 559 #define GL_INDEX_ARRAY 0x8077 560 #define GL_TEXTURE_COORD_ARRAY 0x8078 561 #define GL_EDGE_FLAG_ARRAY 0x8079 562 #define GL_VERTEX_ARRAY_SIZE 0x807A 563 #define GL_VERTEX_ARRAY_TYPE 0x807B 564 #define GL_VERTEX_ARRAY_STRIDE 0x807C 565 #define GL_NORMAL_ARRAY_TYPE 0x807E 566 #define GL_NORMAL_ARRAY_STRIDE 0x807F 567 #define GL_COLOR_ARRAY_SIZE 0x8081 568 #define GL_COLOR_ARRAY_TYPE 0x8082 569 #define GL_COLOR_ARRAY_STRIDE 0x8083 570 #define GL_INDEX_ARRAY_TYPE 0x8085 571 #define GL_INDEX_ARRAY_STRIDE 0x8086 572 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 573 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 574 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A 575 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C 576 #define GL_TEXTURE_COMPONENTS 0x1003 577 #define GL_TEXTURE_BORDER 0x1005 578 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060 579 #define GL_TEXTURE_INTENSITY_SIZE 0x8061 580 #define GL_TEXTURE_PRIORITY 0x8066 581 #define GL_TEXTURE_RESIDENT 0x8067 582 #define GL_AMBIENT 0x1200 583 #define GL_DIFFUSE 0x1201 584 #define GL_SPECULAR 0x1202 585 #define GL_POSITION 0x1203 586 #define GL_SPOT_DIRECTION 0x1204 587 #define GL_SPOT_EXPONENT 0x1205 588 #define GL_SPOT_CUTOFF 0x1206 589 #define GL_CONSTANT_ATTENUATION 0x1207 590 #define GL_LINEAR_ATTENUATION 0x1208 591 #define GL_QUADRATIC_ATTENUATION 0x1209 592 #define GL_COMPILE 0x1300 593 #define GL_COMPILE_AND_EXECUTE 0x1301 594 #define GL_2_BYTES 0x1407 595 #define GL_3_BYTES 0x1408 596 #define GL_4_BYTES 0x1409 597 #define GL_EMISSION 0x1600 598 #define GL_SHININESS 0x1601 599 #define GL_AMBIENT_AND_DIFFUSE 0x1602 600 #define GL_COLOR_INDEXES 0x1603 601 #define GL_MODELVIEW 0x1700 602 #define GL_PROJECTION 0x1701 603 #define GL_COLOR_INDEX 0x1900 604 #define GL_LUMINANCE 0x1909 605 #define GL_LUMINANCE_ALPHA 0x190A 606 #define GL_BITMAP 0x1A00 607 #define GL_RENDER 0x1C00 608 #define GL_FEEDBACK 0x1C01 609 #define GL_SELECT 0x1C02 610 #define GL_FLAT 0x1D00 611 #define GL_SMOOTH 0x1D01 612 #define GL_S 0x2000 613 #define GL_T 0x2001 614 #define GL_R 0x2002 615 #define GL_Q 0x2003 616 #define GL_MODULATE 0x2100 617 #define GL_DECAL 0x2101 618 #define GL_TEXTURE_ENV_MODE 0x2200 619 #define GL_TEXTURE_ENV_COLOR 0x2201 620 #define GL_TEXTURE_ENV 0x2300 621 #define GL_EYE_LINEAR 0x2400 622 #define GL_OBJECT_LINEAR 0x2401 623 #define GL_SPHERE_MAP 0x2402 624 #define GL_TEXTURE_GEN_MODE 0x2500 625 #define GL_OBJECT_PLANE 0x2501 626 #define GL_EYE_PLANE 0x2502 627 #define GL_CLAMP 0x2900 628 #define GL_ALPHA4 0x803B 629 #define GL_ALPHA8 0x803C 630 #define GL_ALPHA12 0x803D 631 #define GL_ALPHA16 0x803E 632 #define GL_LUMINANCE4 0x803F 633 #define GL_LUMINANCE8 0x8040 634 #define GL_LUMINANCE12 0x8041 635 #define GL_LUMINANCE16 0x8042 636 #define GL_LUMINANCE4_ALPHA4 0x8043 637 #define GL_LUMINANCE6_ALPHA2 0x8044 638 #define GL_LUMINANCE8_ALPHA8 0x8045 639 #define GL_LUMINANCE12_ALPHA4 0x8046 640 #define GL_LUMINANCE12_ALPHA12 0x8047 641 #define GL_LUMINANCE16_ALPHA16 0x8048 642 #define GL_INTENSITY 0x8049 643 #define GL_INTENSITY4 0x804A 644 #define GL_INTENSITY8 0x804B 645 #define GL_INTENSITY12 0x804C 646 #define GL_INTENSITY16 0x804D 647 #define GL_V2F 0x2A20 648 #define GL_V3F 0x2A21 649 #define GL_C4UB_V2F 0x2A22 650 #define GL_C4UB_V3F 0x2A23 651 #define GL_C3F_V3F 0x2A24 652 #define GL_N3F_V3F 0x2A25 653 #define GL_C4F_N3F_V3F 0x2A26 654 #define GL_T2F_V3F 0x2A27 655 #define GL_T4F_V4F 0x2A28 656 #define GL_T2F_C4UB_V3F 0x2A29 657 #define GL_T2F_C3F_V3F 0x2A2A 658 #define GL_T2F_N3F_V3F 0x2A2B 659 #define GL_T2F_C4F_N3F_V3F 0x2A2C 660 #define GL_T4F_C4F_N3F_V4F 0x2A2D 661 #define GL_CLIP_PLANE0 0x3000 662 #define GL_CLIP_PLANE1 0x3001 663 #define GL_CLIP_PLANE2 0x3002 664 #define GL_CLIP_PLANE3 0x3003 665 #define GL_CLIP_PLANE4 0x3004 666 #define GL_CLIP_PLANE5 0x3005 667 #define GL_LIGHT0 0x4000 668 #define GL_LIGHT1 0x4001 669 #define GL_LIGHT2 0x4002 670 #define GL_LIGHT3 0x4003 671 #define GL_LIGHT4 0x4004 672 #define GL_LIGHT5 0x4005 673 #define GL_LIGHT6 0x4006 674 #define GL_LIGHT7 0x4007 675 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 676 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 677 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 678 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 679 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 680 #define GL_TEXTURE_BINDING_3D 0x806A 681 #define GL_PACK_SKIP_IMAGES 0x806B 682 #define GL_PACK_IMAGE_HEIGHT 0x806C 683 #define GL_UNPACK_SKIP_IMAGES 0x806D 684 #define GL_UNPACK_IMAGE_HEIGHT 0x806E 685 #define GL_TEXTURE_3D 0x806F 686 #define GL_PROXY_TEXTURE_3D 0x8070 687 #define GL_TEXTURE_DEPTH 0x8071 688 #define GL_TEXTURE_WRAP_R 0x8072 689 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 690 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 691 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 692 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 693 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 694 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 695 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 696 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 697 #define GL_BGR 0x80E0 698 #define GL_BGRA 0x80E1 699 #define GL_MAX_ELEMENTS_VERTICES 0x80E8 700 #define GL_MAX_ELEMENTS_INDICES 0x80E9 701 #define GL_CLAMP_TO_EDGE 0x812F 702 #define GL_TEXTURE_MIN_LOD 0x813A 703 #define GL_TEXTURE_MAX_LOD 0x813B 704 #define GL_TEXTURE_BASE_LEVEL 0x813C 705 #define GL_TEXTURE_MAX_LEVEL 0x813D 706 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 707 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 708 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 709 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 710 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 711 #define GL_RESCALE_NORMAL 0x803A 712 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 713 #define GL_SINGLE_COLOR 0x81F9 714 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA 715 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D 716 #define GL_TEXTURE0 0x84C0 717 #define GL_TEXTURE1 0x84C1 718 #define GL_TEXTURE2 0x84C2 719 #define GL_TEXTURE3 0x84C3 720 #define GL_TEXTURE4 0x84C4 721 #define GL_TEXTURE5 0x84C5 722 #define GL_TEXTURE6 0x84C6 723 #define GL_TEXTURE7 0x84C7 724 #define GL_TEXTURE8 0x84C8 725 #define GL_TEXTURE9 0x84C9 726 #define GL_TEXTURE10 0x84CA 727 #define GL_TEXTURE11 0x84CB 728 #define GL_TEXTURE12 0x84CC 729 #define GL_TEXTURE13 0x84CD 730 #define GL_TEXTURE14 0x84CE 731 #define GL_TEXTURE15 0x84CF 732 #define GL_TEXTURE16 0x84D0 733 #define GL_TEXTURE17 0x84D1 734 #define GL_TEXTURE18 0x84D2 735 #define GL_TEXTURE19 0x84D3 736 #define GL_TEXTURE20 0x84D4 737 #define GL_TEXTURE21 0x84D5 738 #define GL_TEXTURE22 0x84D6 739 #define GL_TEXTURE23 0x84D7 740 #define GL_TEXTURE24 0x84D8 741 #define GL_TEXTURE25 0x84D9 742 #define GL_TEXTURE26 0x84DA 743 #define GL_TEXTURE27 0x84DB 744 #define GL_TEXTURE28 0x84DC 745 #define GL_TEXTURE29 0x84DD 746 #define GL_TEXTURE30 0x84DE 747 #define GL_TEXTURE31 0x84DF 748 #define GL_ACTIVE_TEXTURE 0x84E0 749 #define GL_MULTISAMPLE 0x809D 750 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 751 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F 752 #define GL_SAMPLE_COVERAGE 0x80A0 753 #define GL_SAMPLE_BUFFERS 0x80A8 754 #define GL_SAMPLES 0x80A9 755 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA 756 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB 757 #define GL_TEXTURE_CUBE_MAP 0x8513 758 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 759 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 760 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 761 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 762 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 763 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 764 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A 765 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B 766 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C 767 #define GL_COMPRESSED_RGB 0x84ED 768 #define GL_COMPRESSED_RGBA 0x84EE 769 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF 770 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 771 #define GL_TEXTURE_COMPRESSED 0x86A1 772 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 773 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 774 #define GL_CLAMP_TO_BORDER 0x812D 775 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 776 #define GL_MAX_TEXTURE_UNITS 0x84E2 777 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 778 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 779 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 780 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 781 #define GL_MULTISAMPLE_BIT 0x20000000 782 #define GL_NORMAL_MAP 0x8511 783 #define GL_REFLECTION_MAP 0x8512 784 #define GL_COMPRESSED_ALPHA 0x84E9 785 #define GL_COMPRESSED_LUMINANCE 0x84EA 786 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB 787 #define GL_COMPRESSED_INTENSITY 0x84EC 788 #define GL_COMBINE 0x8570 789 #define GL_COMBINE_RGB 0x8571 790 #define GL_COMBINE_ALPHA 0x8572 791 #define GL_SOURCE0_RGB 0x8580 792 #define GL_SOURCE1_RGB 0x8581 793 #define GL_SOURCE2_RGB 0x8582 794 #define GL_SOURCE0_ALPHA 0x8588 795 #define GL_SOURCE1_ALPHA 0x8589 796 #define GL_SOURCE2_ALPHA 0x858A 797 #define GL_OPERAND0_RGB 0x8590 798 #define GL_OPERAND1_RGB 0x8591 799 #define GL_OPERAND2_RGB 0x8592 800 #define GL_OPERAND0_ALPHA 0x8598 801 #define GL_OPERAND1_ALPHA 0x8599 802 #define GL_OPERAND2_ALPHA 0x859A 803 #define GL_RGB_SCALE 0x8573 804 #define GL_ADD_SIGNED 0x8574 805 #define GL_INTERPOLATE 0x8575 806 #define GL_SUBTRACT 0x84E7 807 #define GL_CONSTANT 0x8576 808 #define GL_PRIMARY_COLOR 0x8577 809 #define GL_PREVIOUS 0x8578 810 #define GL_DOT3_RGB 0x86AE 811 #define GL_DOT3_RGBA 0x86AF 812 #define GL_BLEND_DST_RGB 0x80C8 813 #define GL_BLEND_SRC_RGB 0x80C9 814 #define GL_BLEND_DST_ALPHA 0x80CA 815 #define GL_BLEND_SRC_ALPHA 0x80CB 816 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 817 #define GL_DEPTH_COMPONENT16 0x81A5 818 #define GL_DEPTH_COMPONENT24 0x81A6 819 #define GL_DEPTH_COMPONENT32 0x81A7 820 #define GL_MIRRORED_REPEAT 0x8370 821 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD 822 #define GL_TEXTURE_LOD_BIAS 0x8501 823 #define GL_INCR_WRAP 0x8507 824 #define GL_DECR_WRAP 0x8508 825 #define GL_TEXTURE_DEPTH_SIZE 0x884A 826 #define GL_TEXTURE_COMPARE_MODE 0x884C 827 #define GL_TEXTURE_COMPARE_FUNC 0x884D 828 #define GL_POINT_SIZE_MIN 0x8126 829 #define GL_POINT_SIZE_MAX 0x8127 830 #define GL_POINT_DISTANCE_ATTENUATION 0x8129 831 #define GL_GENERATE_MIPMAP 0x8191 832 #define GL_GENERATE_MIPMAP_HINT 0x8192 833 #define GL_FOG_COORDINATE_SOURCE 0x8450 834 #define GL_FOG_COORDINATE 0x8451 835 #define GL_FRAGMENT_DEPTH 0x8452 836 #define GL_CURRENT_FOG_COORDINATE 0x8453 837 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 838 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 839 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 840 #define GL_FOG_COORDINATE_ARRAY 0x8457 841 #define GL_COLOR_SUM 0x8458 842 #define GL_CURRENT_SECONDARY_COLOR 0x8459 843 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A 844 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B 845 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C 846 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D 847 #define GL_SECONDARY_COLOR_ARRAY 0x845E 848 #define GL_TEXTURE_FILTER_CONTROL 0x8500 849 #define GL_DEPTH_TEXTURE_MODE 0x884B 850 #define GL_COMPARE_R_TO_TEXTURE 0x884E 851 #define GL_FUNC_ADD 0x8006 852 #define GL_FUNC_SUBTRACT 0x800A 853 #define GL_FUNC_REVERSE_SUBTRACT 0x800B 854 #define GL_MIN 0x8007 855 #define GL_MAX 0x8008 856 #define GL_CONSTANT_COLOR 0x8001 857 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 858 #define GL_CONSTANT_ALPHA 0x8003 859 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 860 #define GL_BUFFER_SIZE 0x8764 861 #define GL_BUFFER_USAGE 0x8765 862 #define GL_QUERY_COUNTER_BITS 0x8864 863 #define GL_CURRENT_QUERY 0x8865 864 #define GL_QUERY_RESULT 0x8866 865 #define GL_QUERY_RESULT_AVAILABLE 0x8867 866 #define GL_ARRAY_BUFFER 0x8892 867 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 868 #define GL_ARRAY_BUFFER_BINDING 0x8894 869 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 870 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F 871 #define GL_READ_ONLY 0x88B8 872 #define GL_WRITE_ONLY 0x88B9 873 #define GL_READ_WRITE 0x88BA 874 #define GL_BUFFER_ACCESS 0x88BB 875 #define GL_BUFFER_MAPPED 0x88BC 876 #define GL_BUFFER_MAP_POINTER 0x88BD 877 #define GL_STREAM_DRAW 0x88E0 878 #define GL_STREAM_READ 0x88E1 879 #define GL_STREAM_COPY 0x88E2 880 #define GL_STATIC_DRAW 0x88E4 881 #define GL_STATIC_READ 0x88E5 882 #define GL_STATIC_COPY 0x88E6 883 #define GL_DYNAMIC_DRAW 0x88E8 884 #define GL_DYNAMIC_READ 0x88E9 885 #define GL_DYNAMIC_COPY 0x88EA 886 #define GL_SAMPLES_PASSED 0x8914 887 #define GL_SRC1_ALPHA 0x8589 888 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 889 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 890 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 891 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 892 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A 893 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B 894 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C 895 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D 896 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E 897 #define GL_FOG_COORD_SRC 0x8450 898 #define GL_FOG_COORD 0x8451 899 #define GL_CURRENT_FOG_COORD 0x8453 900 #define GL_FOG_COORD_ARRAY_TYPE 0x8454 901 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455 902 #define GL_FOG_COORD_ARRAY_POINTER 0x8456 903 #define GL_FOG_COORD_ARRAY 0x8457 904 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D 905 #define GL_SRC0_RGB 0x8580 906 #define GL_SRC1_RGB 0x8581 907 #define GL_SRC2_RGB 0x8582 908 #define GL_SRC0_ALPHA 0x8588 909 #define GL_SRC2_ALPHA 0x858A 910 #define GL_BLEND_EQUATION_RGB 0x8009 911 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 912 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 913 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 914 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 915 #define GL_CURRENT_VERTEX_ATTRIB 0x8626 916 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 917 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 918 #define GL_STENCIL_BACK_FUNC 0x8800 919 #define GL_STENCIL_BACK_FAIL 0x8801 920 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 921 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 922 #define GL_MAX_DRAW_BUFFERS 0x8824 923 #define GL_DRAW_BUFFER0 0x8825 924 #define GL_DRAW_BUFFER1 0x8826 925 #define GL_DRAW_BUFFER2 0x8827 926 #define GL_DRAW_BUFFER3 0x8828 927 #define GL_DRAW_BUFFER4 0x8829 928 #define GL_DRAW_BUFFER5 0x882A 929 #define GL_DRAW_BUFFER6 0x882B 930 #define GL_DRAW_BUFFER7 0x882C 931 #define GL_DRAW_BUFFER8 0x882D 932 #define GL_DRAW_BUFFER9 0x882E 933 #define GL_DRAW_BUFFER10 0x882F 934 #define GL_DRAW_BUFFER11 0x8830 935 #define GL_DRAW_BUFFER12 0x8831 936 #define GL_DRAW_BUFFER13 0x8832 937 #define GL_DRAW_BUFFER14 0x8833 938 #define GL_DRAW_BUFFER15 0x8834 939 #define GL_BLEND_EQUATION_ALPHA 0x883D 940 #define GL_MAX_VERTEX_ATTRIBS 0x8869 941 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A 942 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 943 #define GL_FRAGMENT_SHADER 0x8B30 944 #define GL_VERTEX_SHADER 0x8B31 945 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 946 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A 947 #define GL_MAX_VARYING_FLOATS 0x8B4B 948 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C 949 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D 950 #define GL_SHADER_TYPE 0x8B4F 951 #define GL_FLOAT_VEC2 0x8B50 952 #define GL_FLOAT_VEC3 0x8B51 953 #define GL_FLOAT_VEC4 0x8B52 954 #define GL_INT_VEC2 0x8B53 955 #define GL_INT_VEC3 0x8B54 956 #define GL_INT_VEC4 0x8B55 957 #define GL_BOOL 0x8B56 958 #define GL_BOOL_VEC2 0x8B57 959 #define GL_BOOL_VEC3 0x8B58 960 #define GL_BOOL_VEC4 0x8B59 961 #define GL_FLOAT_MAT2 0x8B5A 962 #define GL_FLOAT_MAT3 0x8B5B 963 #define GL_FLOAT_MAT4 0x8B5C 964 #define GL_SAMPLER_1D 0x8B5D 965 #define GL_SAMPLER_2D 0x8B5E 966 #define GL_SAMPLER_3D 0x8B5F 967 #define GL_SAMPLER_CUBE 0x8B60 968 #define GL_SAMPLER_1D_SHADOW 0x8B61 969 #define GL_SAMPLER_2D_SHADOW 0x8B62 970 #define GL_DELETE_STATUS 0x8B80 971 #define GL_COMPILE_STATUS 0x8B81 972 #define GL_LINK_STATUS 0x8B82 973 #define GL_VALIDATE_STATUS 0x8B83 974 #define GL_INFO_LOG_LENGTH 0x8B84 975 #define GL_ATTACHED_SHADERS 0x8B85 976 #define GL_ACTIVE_UNIFORMS 0x8B86 977 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 978 #define GL_SHADER_SOURCE_LENGTH 0x8B88 979 #define GL_ACTIVE_ATTRIBUTES 0x8B89 980 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A 981 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B 982 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C 983 #define GL_CURRENT_PROGRAM 0x8B8D 984 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 985 #define GL_LOWER_LEFT 0x8CA1 986 #define GL_UPPER_LEFT 0x8CA2 987 #define GL_STENCIL_BACK_REF 0x8CA3 988 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 989 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 990 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 991 #define GL_POINT_SPRITE 0x8861 992 #define GL_COORD_REPLACE 0x8862 993 #define GL_MAX_TEXTURE_COORDS 0x8871 994 #define GL_PIXEL_PACK_BUFFER 0x88EB 995 #define GL_PIXEL_UNPACK_BUFFER 0x88EC 996 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED 997 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF 998 #define GL_FLOAT_MAT2x3 0x8B65 999 #define GL_FLOAT_MAT2x4 0x8B66 1000 #define GL_FLOAT_MAT3x2 0x8B67 1001 #define GL_FLOAT_MAT3x4 0x8B68 1002 #define GL_FLOAT_MAT4x2 0x8B69 1003 #define GL_FLOAT_MAT4x3 0x8B6A 1004 #define GL_SRGB 0x8C40 1005 #define GL_SRGB8 0x8C41 1006 #define GL_SRGB_ALPHA 0x8C42 1007 #define GL_SRGB8_ALPHA8 0x8C43 1008 #define GL_COMPRESSED_SRGB 0x8C48 1009 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 1010 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F 1011 #define GL_SLUMINANCE_ALPHA 0x8C44 1012 #define GL_SLUMINANCE8_ALPHA8 0x8C45 1013 #define GL_SLUMINANCE 0x8C46 1014 #define GL_SLUMINANCE8 0x8C47 1015 #define GL_COMPRESSED_SLUMINANCE 0x8C4A 1016 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B 1017 #define GL_COMPARE_REF_TO_TEXTURE 0x884E 1018 #define GL_CLIP_DISTANCE0 0x3000 1019 #define GL_CLIP_DISTANCE1 0x3001 1020 #define GL_CLIP_DISTANCE2 0x3002 1021 #define GL_CLIP_DISTANCE3 0x3003 1022 #define GL_CLIP_DISTANCE4 0x3004 1023 #define GL_CLIP_DISTANCE5 0x3005 1024 #define GL_CLIP_DISTANCE6 0x3006 1025 #define GL_CLIP_DISTANCE7 0x3007 1026 #define GL_MAX_CLIP_DISTANCES 0x0D32 1027 #define GL_MAJOR_VERSION 0x821B 1028 #define GL_MINOR_VERSION 0x821C 1029 #define GL_NUM_EXTENSIONS 0x821D 1030 #define GL_CONTEXT_FLAGS 0x821E 1031 #define GL_COMPRESSED_RED 0x8225 1032 #define GL_COMPRESSED_RG 0x8226 1033 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 1034 #define GL_RGBA32F 0x8814 1035 #define GL_RGB32F 0x8815 1036 #define GL_RGBA16F 0x881A 1037 #define GL_RGB16F 0x881B 1038 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD 1039 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF 1040 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 1041 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 1042 #define GL_CLAMP_READ_COLOR 0x891C 1043 #define GL_FIXED_ONLY 0x891D 1044 #define GL_MAX_VARYING_COMPONENTS 0x8B4B 1045 #define GL_TEXTURE_1D_ARRAY 0x8C18 1046 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 1047 #define GL_TEXTURE_2D_ARRAY 0x8C1A 1048 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B 1049 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C 1050 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D 1051 #define GL_R11F_G11F_B10F 0x8C3A 1052 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B 1053 #define GL_RGB9_E5 0x8C3D 1054 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E 1055 #define GL_TEXTURE_SHARED_SIZE 0x8C3F 1056 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 1057 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F 1058 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 1059 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 1060 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 1061 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 1062 #define GL_PRIMITIVES_GENERATED 0x8C87 1063 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 1064 #define GL_RASTERIZER_DISCARD 0x8C89 1065 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A 1066 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B 1067 #define GL_INTERLEAVED_ATTRIBS 0x8C8C 1068 #define GL_SEPARATE_ATTRIBS 0x8C8D 1069 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E 1070 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F 1071 #define GL_RGBA32UI 0x8D70 1072 #define GL_RGB32UI 0x8D71 1073 #define GL_RGBA16UI 0x8D76 1074 #define GL_RGB16UI 0x8D77 1075 #define GL_RGBA8UI 0x8D7C 1076 #define GL_RGB8UI 0x8D7D 1077 #define GL_RGBA32I 0x8D82 1078 #define GL_RGB32I 0x8D83 1079 #define GL_RGBA16I 0x8D88 1080 #define GL_RGB16I 0x8D89 1081 #define GL_RGBA8I 0x8D8E 1082 #define GL_RGB8I 0x8D8F 1083 #define GL_RED_INTEGER 0x8D94 1084 #define GL_GREEN_INTEGER 0x8D95 1085 #define GL_BLUE_INTEGER 0x8D96 1086 #define GL_RGB_INTEGER 0x8D98 1087 #define GL_RGBA_INTEGER 0x8D99 1088 #define GL_BGR_INTEGER 0x8D9A 1089 #define GL_BGRA_INTEGER 0x8D9B 1090 #define GL_SAMPLER_1D_ARRAY 0x8DC0 1091 #define GL_SAMPLER_2D_ARRAY 0x8DC1 1092 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 1093 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 1094 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 1095 #define GL_UNSIGNED_INT_VEC2 0x8DC6 1096 #define GL_UNSIGNED_INT_VEC3 0x8DC7 1097 #define GL_UNSIGNED_INT_VEC4 0x8DC8 1098 #define GL_INT_SAMPLER_1D 0x8DC9 1099 #define GL_INT_SAMPLER_2D 0x8DCA 1100 #define GL_INT_SAMPLER_3D 0x8DCB 1101 #define GL_INT_SAMPLER_CUBE 0x8DCC 1102 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE 1103 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF 1104 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 1105 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 1106 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 1107 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 1108 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 1109 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 1110 #define GL_QUERY_WAIT 0x8E13 1111 #define GL_QUERY_NO_WAIT 0x8E14 1112 #define GL_QUERY_BY_REGION_WAIT 0x8E15 1113 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 1114 #define GL_BUFFER_ACCESS_FLAGS 0x911F 1115 #define GL_BUFFER_MAP_LENGTH 0x9120 1116 #define GL_BUFFER_MAP_OFFSET 0x9121 1117 #define GL_DEPTH_COMPONENT32F 0x8CAC 1118 #define GL_DEPTH32F_STENCIL8 0x8CAD 1119 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD 1120 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 1121 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 1122 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 1123 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 1124 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 1125 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 1126 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 1127 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 1128 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 1129 #define GL_FRAMEBUFFER_DEFAULT 0x8218 1130 #define GL_FRAMEBUFFER_UNDEFINED 0x8219 1131 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A 1132 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 1133 #define GL_DEPTH_STENCIL 0x84F9 1134 #define GL_UNSIGNED_INT_24_8 0x84FA 1135 #define GL_DEPTH24_STENCIL8 0x88F0 1136 #define GL_TEXTURE_STENCIL_SIZE 0x88F1 1137 #define GL_TEXTURE_RED_TYPE 0x8C10 1138 #define GL_TEXTURE_GREEN_TYPE 0x8C11 1139 #define GL_TEXTURE_BLUE_TYPE 0x8C12 1140 #define GL_TEXTURE_ALPHA_TYPE 0x8C13 1141 #define GL_TEXTURE_DEPTH_TYPE 0x8C16 1142 #define GL_UNSIGNED_NORMALIZED 0x8C17 1143 #define GL_FRAMEBUFFER_BINDING 0x8CA6 1144 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 1145 #define GL_RENDERBUFFER_BINDING 0x8CA7 1146 #define GL_READ_FRAMEBUFFER 0x8CA8 1147 #define GL_DRAW_FRAMEBUFFER 0x8CA9 1148 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA 1149 #define GL_RENDERBUFFER_SAMPLES 0x8CAB 1150 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 1151 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 1152 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 1153 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 1154 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 1155 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 1156 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 1157 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 1158 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB 1159 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC 1160 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD 1161 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF 1162 #define GL_COLOR_ATTACHMENT0 0x8CE0 1163 #define GL_COLOR_ATTACHMENT1 0x8CE1 1164 #define GL_COLOR_ATTACHMENT2 0x8CE2 1165 #define GL_COLOR_ATTACHMENT3 0x8CE3 1166 #define GL_COLOR_ATTACHMENT4 0x8CE4 1167 #define GL_COLOR_ATTACHMENT5 0x8CE5 1168 #define GL_COLOR_ATTACHMENT6 0x8CE6 1169 #define GL_COLOR_ATTACHMENT7 0x8CE7 1170 #define GL_COLOR_ATTACHMENT8 0x8CE8 1171 #define GL_COLOR_ATTACHMENT9 0x8CE9 1172 #define GL_COLOR_ATTACHMENT10 0x8CEA 1173 #define GL_COLOR_ATTACHMENT11 0x8CEB 1174 #define GL_COLOR_ATTACHMENT12 0x8CEC 1175 #define GL_COLOR_ATTACHMENT13 0x8CED 1176 #define GL_COLOR_ATTACHMENT14 0x8CEE 1177 #define GL_COLOR_ATTACHMENT15 0x8CEF 1178 #define GL_COLOR_ATTACHMENT16 0x8CF0 1179 #define GL_COLOR_ATTACHMENT17 0x8CF1 1180 #define GL_COLOR_ATTACHMENT18 0x8CF2 1181 #define GL_COLOR_ATTACHMENT19 0x8CF3 1182 #define GL_COLOR_ATTACHMENT20 0x8CF4 1183 #define GL_COLOR_ATTACHMENT21 0x8CF5 1184 #define GL_COLOR_ATTACHMENT22 0x8CF6 1185 #define GL_COLOR_ATTACHMENT23 0x8CF7 1186 #define GL_COLOR_ATTACHMENT24 0x8CF8 1187 #define GL_COLOR_ATTACHMENT25 0x8CF9 1188 #define GL_COLOR_ATTACHMENT26 0x8CFA 1189 #define GL_COLOR_ATTACHMENT27 0x8CFB 1190 #define GL_COLOR_ATTACHMENT28 0x8CFC 1191 #define GL_COLOR_ATTACHMENT29 0x8CFD 1192 #define GL_COLOR_ATTACHMENT30 0x8CFE 1193 #define GL_COLOR_ATTACHMENT31 0x8CFF 1194 #define GL_DEPTH_ATTACHMENT 0x8D00 1195 #define GL_STENCIL_ATTACHMENT 0x8D20 1196 #define GL_FRAMEBUFFER 0x8D40 1197 #define GL_RENDERBUFFER 0x8D41 1198 #define GL_RENDERBUFFER_WIDTH 0x8D42 1199 #define GL_RENDERBUFFER_HEIGHT 0x8D43 1200 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 1201 #define GL_STENCIL_INDEX1 0x8D46 1202 #define GL_STENCIL_INDEX4 0x8D47 1203 #define GL_STENCIL_INDEX8 0x8D48 1204 #define GL_STENCIL_INDEX16 0x8D49 1205 #define GL_RENDERBUFFER_RED_SIZE 0x8D50 1206 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 1207 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 1208 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 1209 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 1210 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 1211 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 1212 #define GL_MAX_SAMPLES 0x8D57 1213 #define GL_INDEX 0x8222 1214 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 1215 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15 1216 #define GL_FRAMEBUFFER_SRGB 0x8DB9 1217 #define GL_HALF_FLOAT 0x140B 1218 #define GL_MAP_READ_BIT 0x0001 1219 #define GL_MAP_WRITE_BIT 0x0002 1220 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 1221 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 1222 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 1223 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 1224 #define GL_COMPRESSED_RED_RGTC1 0x8DBB 1225 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC 1226 #define GL_COMPRESSED_RG_RGTC2 0x8DBD 1227 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE 1228 #define GL_RG 0x8227 1229 #define GL_RG_INTEGER 0x8228 1230 #define GL_R8 0x8229 1231 #define GL_R16 0x822A 1232 #define GL_RG8 0x822B 1233 #define GL_RG16 0x822C 1234 #define GL_R16F 0x822D 1235 #define GL_R32F 0x822E 1236 #define GL_RG16F 0x822F 1237 #define GL_RG32F 0x8230 1238 #define GL_R8I 0x8231 1239 #define GL_R8UI 0x8232 1240 #define GL_R16I 0x8233 1241 #define GL_R16UI 0x8234 1242 #define GL_R32I 0x8235 1243 #define GL_R32UI 0x8236 1244 #define GL_RG8I 0x8237 1245 #define GL_RG8UI 0x8238 1246 #define GL_RG16I 0x8239 1247 #define GL_RG16UI 0x823A 1248 #define GL_RG32I 0x823B 1249 #define GL_RG32UI 0x823C 1250 #define GL_VERTEX_ARRAY_BINDING 0x85B5 1251 #define GL_CLAMP_VERTEX_COLOR 0x891A 1252 #define GL_CLAMP_FRAGMENT_COLOR 0x891B 1253 #define GL_ALPHA_INTEGER 0x8D97 1254 #define GL_SAMPLER_2D_RECT 0x8B63 1255 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 1256 #define GL_SAMPLER_BUFFER 0x8DC2 1257 #define GL_INT_SAMPLER_2D_RECT 0x8DCD 1258 #define GL_INT_SAMPLER_BUFFER 0x8DD0 1259 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 1260 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 1261 #define GL_TEXTURE_BUFFER 0x8C2A 1262 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B 1263 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C 1264 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D 1265 #define GL_TEXTURE_RECTANGLE 0x84F5 1266 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 1267 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 1268 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 1269 #define GL_R8_SNORM 0x8F94 1270 #define GL_RG8_SNORM 0x8F95 1271 #define GL_RGB8_SNORM 0x8F96 1272 #define GL_RGBA8_SNORM 0x8F97 1273 #define GL_R16_SNORM 0x8F98 1274 #define GL_RG16_SNORM 0x8F99 1275 #define GL_RGB16_SNORM 0x8F9A 1276 #define GL_RGBA16_SNORM 0x8F9B 1277 #define GL_SIGNED_NORMALIZED 0x8F9C 1278 #define GL_PRIMITIVE_RESTART 0x8F9D 1279 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E 1280 #define GL_COPY_READ_BUFFER 0x8F36 1281 #define GL_COPY_WRITE_BUFFER 0x8F37 1282 #define GL_UNIFORM_BUFFER 0x8A11 1283 #define GL_UNIFORM_BUFFER_BINDING 0x8A28 1284 #define GL_UNIFORM_BUFFER_START 0x8A29 1285 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A 1286 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B 1287 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C 1288 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D 1289 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E 1290 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F 1291 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 1292 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 1293 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 1294 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 1295 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 1296 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 1297 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 1298 #define GL_UNIFORM_TYPE 0x8A37 1299 #define GL_UNIFORM_SIZE 0x8A38 1300 #define GL_UNIFORM_NAME_LENGTH 0x8A39 1301 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A 1302 #define GL_UNIFORM_OFFSET 0x8A3B 1303 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C 1304 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D 1305 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E 1306 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F 1307 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 1308 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 1309 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 1310 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 1311 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 1312 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 1313 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 1314 #define GL_INVALID_INDEX 0xFFFFFFFF 1315 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 1316 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 1317 #define GL_LINES_ADJACENCY 0x000A 1318 #define GL_LINE_STRIP_ADJACENCY 0x000B 1319 #define GL_TRIANGLES_ADJACENCY 0x000C 1320 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D 1321 #define GL_PROGRAM_POINT_SIZE 0x8642 1322 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 1323 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 1324 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 1325 #define GL_GEOMETRY_SHADER 0x8DD9 1326 #define GL_GEOMETRY_VERTICES_OUT 0x8916 1327 #define GL_GEOMETRY_INPUT_TYPE 0x8917 1328 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918 1329 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF 1330 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 1331 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 1332 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 1333 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 1334 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 1335 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 1336 #define GL_CONTEXT_PROFILE_MASK 0x9126 1337 #define GL_DEPTH_CLAMP 0x864F 1338 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C 1339 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D 1340 #define GL_LAST_VERTEX_CONVENTION 0x8E4E 1341 #define GL_PROVOKING_VERTEX 0x8E4F 1342 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F 1343 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 1344 #define GL_OBJECT_TYPE 0x9112 1345 #define GL_SYNC_CONDITION 0x9113 1346 #define GL_SYNC_STATUS 0x9114 1347 #define GL_SYNC_FLAGS 0x9115 1348 #define GL_SYNC_FENCE 0x9116 1349 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 1350 #define GL_UNSIGNALED 0x9118 1351 #define GL_SIGNALED 0x9119 1352 #define GL_ALREADY_SIGNALED 0x911A 1353 #define GL_TIMEOUT_EXPIRED 0x911B 1354 #define GL_CONDITION_SATISFIED 0x911C 1355 #define GL_WAIT_FAILED 0x911D 1356 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFF 1357 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 1358 #define GL_SAMPLE_POSITION 0x8E50 1359 #define GL_SAMPLE_MASK 0x8E51 1360 #define GL_SAMPLE_MASK_VALUE 0x8E52 1361 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 1362 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 1363 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 1364 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 1365 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 1366 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 1367 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 1368 #define GL_TEXTURE_SAMPLES 0x9106 1369 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 1370 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108 1371 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 1372 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A 1373 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B 1374 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C 1375 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D 1376 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E 1377 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F 1378 #define GL_MAX_INTEGER_SAMPLES 0x9110 1379 #ifndef GL_VERSION_1_0 1380 #define GL_VERSION_1_0 1 1381 GLAPI int GLAD_GL_VERSION_1_0; 1382 typedef void (APIENTRYP PFNGLCULLFACEPROC)(GLenum mode); 1383 GLAPI PFNGLCULLFACEPROC glad_glCullFace; 1384 #define glCullFace glad_glCullFace 1385 typedef void (APIENTRYP PFNGLFRONTFACEPROC)(GLenum mode); 1386 GLAPI PFNGLFRONTFACEPROC glad_glFrontFace; 1387 #define glFrontFace glad_glFrontFace 1388 typedef void (APIENTRYP PFNGLHINTPROC)(GLenum target, GLenum mode); 1389 GLAPI PFNGLHINTPROC glad_glHint; 1390 #define glHint glad_glHint 1391 typedef void (APIENTRYP PFNGLLINEWIDTHPROC)(GLfloat width); 1392 GLAPI PFNGLLINEWIDTHPROC glad_glLineWidth; 1393 #define glLineWidth glad_glLineWidth 1394 typedef void (APIENTRYP PFNGLPOINTSIZEPROC)(GLfloat size); 1395 GLAPI PFNGLPOINTSIZEPROC glad_glPointSize; 1396 #define glPointSize glad_glPointSize 1397 typedef void (APIENTRYP PFNGLPOLYGONMODEPROC)(GLenum face, GLenum mode); 1398 GLAPI PFNGLPOLYGONMODEPROC glad_glPolygonMode; 1399 #define glPolygonMode glad_glPolygonMode 1400 typedef void (APIENTRYP PFNGLSCISSORPROC)(GLint x, GLint y, GLsizei width, GLsizei height); 1401 GLAPI PFNGLSCISSORPROC glad_glScissor; 1402 #define glScissor glad_glScissor 1403 typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC)(GLenum target, GLenum pname, GLfloat param); 1404 GLAPI PFNGLTEXPARAMETERFPROC glad_glTexParameterf; 1405 #define glTexParameterf glad_glTexParameterf 1406 typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat* params); 1407 GLAPI PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv; 1408 #define glTexParameterfv glad_glTexParameterfv 1409 typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); 1410 GLAPI PFNGLTEXPARAMETERIPROC glad_glTexParameteri; 1411 #define glTexParameteri glad_glTexParameteri 1412 typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint* params); 1413 GLAPI PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv; 1414 #define glTexParameteriv glad_glTexParameteriv 1415 typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels); 1416 GLAPI PFNGLTEXIMAGE1DPROC glad_glTexImage1D; 1417 #define glTexImage1D glad_glTexImage1D 1418 typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels); 1419 GLAPI PFNGLTEXIMAGE2DPROC glad_glTexImage2D; 1420 #define glTexImage2D glad_glTexImage2D 1421 typedef void (APIENTRYP PFNGLDRAWBUFFERPROC)(GLenum buf); 1422 GLAPI PFNGLDRAWBUFFERPROC glad_glDrawBuffer; 1423 #define glDrawBuffer glad_glDrawBuffer 1424 typedef void (APIENTRYP PFNGLCLEARPROC)(GLbitfield mask); 1425 GLAPI PFNGLCLEARPROC glad_glClear; 1426 #define glClear glad_glClear 1427 typedef void (APIENTRYP PFNGLCLEARCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 1428 GLAPI PFNGLCLEARCOLORPROC glad_glClearColor; 1429 #define glClearColor glad_glClearColor 1430 typedef void (APIENTRYP PFNGLCLEARSTENCILPROC)(GLint s); 1431 GLAPI PFNGLCLEARSTENCILPROC glad_glClearStencil; 1432 #define glClearStencil glad_glClearStencil 1433 typedef void (APIENTRYP PFNGLCLEARDEPTHPROC)(GLdouble depth); 1434 GLAPI PFNGLCLEARDEPTHPROC glad_glClearDepth; 1435 #define glClearDepth glad_glClearDepth 1436 typedef void (APIENTRYP PFNGLSTENCILMASKPROC)(GLuint mask); 1437 GLAPI PFNGLSTENCILMASKPROC glad_glStencilMask; 1438 #define glStencilMask glad_glStencilMask 1439 typedef void (APIENTRYP PFNGLCOLORMASKPROC)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 1440 GLAPI PFNGLCOLORMASKPROC glad_glColorMask; 1441 #define glColorMask glad_glColorMask 1442 typedef void (APIENTRYP PFNGLDEPTHMASKPROC)(GLboolean flag); 1443 GLAPI PFNGLDEPTHMASKPROC glad_glDepthMask; 1444 #define glDepthMask glad_glDepthMask 1445 typedef void (APIENTRYP PFNGLDISABLEPROC)(GLenum cap); 1446 GLAPI PFNGLDISABLEPROC glad_glDisable; 1447 #define glDisable glad_glDisable 1448 typedef void (APIENTRYP PFNGLENABLEPROC)(GLenum cap); 1449 GLAPI PFNGLENABLEPROC glad_glEnable; 1450 #define glEnable glad_glEnable 1451 typedef void (APIENTRYP PFNGLFINISHPROC)(); 1452 GLAPI PFNGLFINISHPROC glad_glFinish; 1453 #define glFinish glad_glFinish 1454 typedef void (APIENTRYP PFNGLFLUSHPROC)(); 1455 GLAPI PFNGLFLUSHPROC glad_glFlush; 1456 #define glFlush glad_glFlush 1457 typedef void (APIENTRYP PFNGLBLENDFUNCPROC)(GLenum sfactor, GLenum dfactor); 1458 GLAPI PFNGLBLENDFUNCPROC glad_glBlendFunc; 1459 #define glBlendFunc glad_glBlendFunc 1460 typedef void (APIENTRYP PFNGLLOGICOPPROC)(GLenum opcode); 1461 GLAPI PFNGLLOGICOPPROC glad_glLogicOp; 1462 #define glLogicOp glad_glLogicOp 1463 typedef void (APIENTRYP PFNGLSTENCILFUNCPROC)(GLenum func, GLint ref, GLuint mask); 1464 GLAPI PFNGLSTENCILFUNCPROC glad_glStencilFunc; 1465 #define glStencilFunc glad_glStencilFunc 1466 typedef void (APIENTRYP PFNGLSTENCILOPPROC)(GLenum fail, GLenum zfail, GLenum zpass); 1467 GLAPI PFNGLSTENCILOPPROC glad_glStencilOp; 1468 #define glStencilOp glad_glStencilOp 1469 typedef void (APIENTRYP PFNGLDEPTHFUNCPROC)(GLenum func); 1470 GLAPI PFNGLDEPTHFUNCPROC glad_glDepthFunc; 1471 #define glDepthFunc glad_glDepthFunc 1472 typedef void (APIENTRYP PFNGLPIXELSTOREFPROC)(GLenum pname, GLfloat param); 1473 GLAPI PFNGLPIXELSTOREFPROC glad_glPixelStoref; 1474 #define glPixelStoref glad_glPixelStoref 1475 typedef void (APIENTRYP PFNGLPIXELSTOREIPROC)(GLenum pname, GLint param); 1476 GLAPI PFNGLPIXELSTOREIPROC glad_glPixelStorei; 1477 #define glPixelStorei glad_glPixelStorei 1478 typedef void (APIENTRYP PFNGLREADBUFFERPROC)(GLenum src); 1479 GLAPI PFNGLREADBUFFERPROC glad_glReadBuffer; 1480 #define glReadBuffer glad_glReadBuffer 1481 typedef void (APIENTRYP PFNGLREADPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels); 1482 GLAPI PFNGLREADPIXELSPROC glad_glReadPixels; 1483 #define glReadPixels glad_glReadPixels 1484 typedef void (APIENTRYP PFNGLGETBOOLEANVPROC)(GLenum pname, GLboolean* data); 1485 GLAPI PFNGLGETBOOLEANVPROC glad_glGetBooleanv; 1486 #define glGetBooleanv glad_glGetBooleanv 1487 typedef void (APIENTRYP PFNGLGETDOUBLEVPROC)(GLenum pname, GLdouble* data); 1488 GLAPI PFNGLGETDOUBLEVPROC glad_glGetDoublev; 1489 #define glGetDoublev glad_glGetDoublev 1490 typedef GLenum (APIENTRYP PFNGLGETERRORPROC)(); 1491 GLAPI PFNGLGETERRORPROC glad_glGetError; 1492 #define glGetError glad_glGetError 1493 typedef void (APIENTRYP PFNGLGETFLOATVPROC)(GLenum pname, GLfloat* data); 1494 GLAPI PFNGLGETFLOATVPROC glad_glGetFloatv; 1495 #define glGetFloatv glad_glGetFloatv 1496 typedef void (APIENTRYP PFNGLGETINTEGERVPROC)(GLenum pname, GLint* data); 1497 GLAPI PFNGLGETINTEGERVPROC glad_glGetIntegerv; 1498 #define glGetIntegerv glad_glGetIntegerv 1499 typedef const GLubyte* (APIENTRYP PFNGLGETSTRINGPROC)(GLenum name); 1500 GLAPI PFNGLGETSTRINGPROC glad_glGetString; 1501 #define glGetString glad_glGetString 1502 typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC)(GLenum target, GLint level, GLenum format, GLenum type, void* pixels); 1503 GLAPI PFNGLGETTEXIMAGEPROC glad_glGetTexImage; 1504 #define glGetTexImage glad_glGetTexImage 1505 typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat* params); 1506 GLAPI PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv; 1507 #define glGetTexParameterfv glad_glGetTexParameterfv 1508 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC)(GLenum target, GLenum pname, GLint* params); 1509 GLAPI PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv; 1510 #define glGetTexParameteriv glad_glGetTexParameteriv 1511 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC)(GLenum target, GLint level, GLenum pname, GLfloat* params); 1512 GLAPI PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv; 1513 #define glGetTexLevelParameterfv glad_glGetTexLevelParameterfv 1514 typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC)(GLenum target, GLint level, GLenum pname, GLint* params); 1515 GLAPI PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv; 1516 #define glGetTexLevelParameteriv glad_glGetTexLevelParameteriv 1517 typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC)(GLenum cap); 1518 GLAPI PFNGLISENABLEDPROC glad_glIsEnabled; 1519 #define glIsEnabled glad_glIsEnabled 1520 typedef void (APIENTRYP PFNGLDEPTHRANGEPROC)(GLdouble near, GLdouble far); 1521 GLAPI PFNGLDEPTHRANGEPROC glad_glDepthRange; 1522 #define glDepthRange glad_glDepthRange 1523 typedef void (APIENTRYP PFNGLVIEWPORTPROC)(GLint x, GLint y, GLsizei width, GLsizei height); 1524 GLAPI PFNGLVIEWPORTPROC glad_glViewport; 1525 #define glViewport glad_glViewport 1526 typedef void (APIENTRYP PFNGLNEWLISTPROC)(GLuint list, GLenum mode); 1527 GLAPI PFNGLNEWLISTPROC glad_glNewList; 1528 #define glNewList glad_glNewList 1529 typedef void (APIENTRYP PFNGLENDLISTPROC)(); 1530 GLAPI PFNGLENDLISTPROC glad_glEndList; 1531 #define glEndList glad_glEndList 1532 typedef void (APIENTRYP PFNGLCALLLISTPROC)(GLuint list); 1533 GLAPI PFNGLCALLLISTPROC glad_glCallList; 1534 #define glCallList glad_glCallList 1535 typedef void (APIENTRYP PFNGLCALLLISTSPROC)(GLsizei n, GLenum type, const void* lists); 1536 GLAPI PFNGLCALLLISTSPROC glad_glCallLists; 1537 #define glCallLists glad_glCallLists 1538 typedef void (APIENTRYP PFNGLDELETELISTSPROC)(GLuint list, GLsizei range); 1539 GLAPI PFNGLDELETELISTSPROC glad_glDeleteLists; 1540 #define glDeleteLists glad_glDeleteLists 1541 typedef GLuint (APIENTRYP PFNGLGENLISTSPROC)(GLsizei range); 1542 GLAPI PFNGLGENLISTSPROC glad_glGenLists; 1543 #define glGenLists glad_glGenLists 1544 typedef void (APIENTRYP PFNGLLISTBASEPROC)(GLuint base); 1545 GLAPI PFNGLLISTBASEPROC glad_glListBase; 1546 #define glListBase glad_glListBase 1547 typedef void (APIENTRYP PFNGLBEGINPROC)(GLenum mode); 1548 GLAPI PFNGLBEGINPROC glad_glBegin; 1549 #define glBegin glad_glBegin 1550 typedef void (APIENTRYP PFNGLBITMAPPROC)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte* bitmap); 1551 GLAPI PFNGLBITMAPPROC glad_glBitmap; 1552 #define glBitmap glad_glBitmap 1553 typedef void (APIENTRYP PFNGLCOLOR3BPROC)(GLbyte red, GLbyte green, GLbyte blue); 1554 GLAPI PFNGLCOLOR3BPROC glad_glColor3b; 1555 #define glColor3b glad_glColor3b 1556 typedef void (APIENTRYP PFNGLCOLOR3BVPROC)(const GLbyte* v); 1557 GLAPI PFNGLCOLOR3BVPROC glad_glColor3bv; 1558 #define glColor3bv glad_glColor3bv 1559 typedef void (APIENTRYP PFNGLCOLOR3DPROC)(GLdouble red, GLdouble green, GLdouble blue); 1560 GLAPI PFNGLCOLOR3DPROC glad_glColor3d; 1561 #define glColor3d glad_glColor3d 1562 typedef void (APIENTRYP PFNGLCOLOR3DVPROC)(const GLdouble* v); 1563 GLAPI PFNGLCOLOR3DVPROC glad_glColor3dv; 1564 #define glColor3dv glad_glColor3dv 1565 typedef void (APIENTRYP PFNGLCOLOR3FPROC)(GLfloat red, GLfloat green, GLfloat blue); 1566 GLAPI PFNGLCOLOR3FPROC glad_glColor3f; 1567 #define glColor3f glad_glColor3f 1568 typedef void (APIENTRYP PFNGLCOLOR3FVPROC)(const GLfloat* v); 1569 GLAPI PFNGLCOLOR3FVPROC glad_glColor3fv; 1570 #define glColor3fv glad_glColor3fv 1571 typedef void (APIENTRYP PFNGLCOLOR3IPROC)(GLint red, GLint green, GLint blue); 1572 GLAPI PFNGLCOLOR3IPROC glad_glColor3i; 1573 #define glColor3i glad_glColor3i 1574 typedef void (APIENTRYP PFNGLCOLOR3IVPROC)(const GLint* v); 1575 GLAPI PFNGLCOLOR3IVPROC glad_glColor3iv; 1576 #define glColor3iv glad_glColor3iv 1577 typedef void (APIENTRYP PFNGLCOLOR3SPROC)(GLshort red, GLshort green, GLshort blue); 1578 GLAPI PFNGLCOLOR3SPROC glad_glColor3s; 1579 #define glColor3s glad_glColor3s 1580 typedef void (APIENTRYP PFNGLCOLOR3SVPROC)(const GLshort* v); 1581 GLAPI PFNGLCOLOR3SVPROC glad_glColor3sv; 1582 #define glColor3sv glad_glColor3sv 1583 typedef void (APIENTRYP PFNGLCOLOR3UBPROC)(GLubyte red, GLubyte green, GLubyte blue); 1584 GLAPI PFNGLCOLOR3UBPROC glad_glColor3ub; 1585 #define glColor3ub glad_glColor3ub 1586 typedef void (APIENTRYP PFNGLCOLOR3UBVPROC)(const GLubyte* v); 1587 GLAPI PFNGLCOLOR3UBVPROC glad_glColor3ubv; 1588 #define glColor3ubv glad_glColor3ubv 1589 typedef void (APIENTRYP PFNGLCOLOR3UIPROC)(GLuint red, GLuint green, GLuint blue); 1590 GLAPI PFNGLCOLOR3UIPROC glad_glColor3ui; 1591 #define glColor3ui glad_glColor3ui 1592 typedef void (APIENTRYP PFNGLCOLOR3UIVPROC)(const GLuint* v); 1593 GLAPI PFNGLCOLOR3UIVPROC glad_glColor3uiv; 1594 #define glColor3uiv glad_glColor3uiv 1595 typedef void (APIENTRYP PFNGLCOLOR3USPROC)(GLushort red, GLushort green, GLushort blue); 1596 GLAPI PFNGLCOLOR3USPROC glad_glColor3us; 1597 #define glColor3us glad_glColor3us 1598 typedef void (APIENTRYP PFNGLCOLOR3USVPROC)(const GLushort* v); 1599 GLAPI PFNGLCOLOR3USVPROC glad_glColor3usv; 1600 #define glColor3usv glad_glColor3usv 1601 typedef void (APIENTRYP PFNGLCOLOR4BPROC)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); 1602 GLAPI PFNGLCOLOR4BPROC glad_glColor4b; 1603 #define glColor4b glad_glColor4b 1604 typedef void (APIENTRYP PFNGLCOLOR4BVPROC)(const GLbyte* v); 1605 GLAPI PFNGLCOLOR4BVPROC glad_glColor4bv; 1606 #define glColor4bv glad_glColor4bv 1607 typedef void (APIENTRYP PFNGLCOLOR4DPROC)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); 1608 GLAPI PFNGLCOLOR4DPROC glad_glColor4d; 1609 #define glColor4d glad_glColor4d 1610 typedef void (APIENTRYP PFNGLCOLOR4DVPROC)(const GLdouble* v); 1611 GLAPI PFNGLCOLOR4DVPROC glad_glColor4dv; 1612 #define glColor4dv glad_glColor4dv 1613 typedef void (APIENTRYP PFNGLCOLOR4FPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 1614 GLAPI PFNGLCOLOR4FPROC glad_glColor4f; 1615 #define glColor4f glad_glColor4f 1616 typedef void (APIENTRYP PFNGLCOLOR4FVPROC)(const GLfloat* v); 1617 GLAPI PFNGLCOLOR4FVPROC glad_glColor4fv; 1618 #define glColor4fv glad_glColor4fv 1619 typedef void (APIENTRYP PFNGLCOLOR4IPROC)(GLint red, GLint green, GLint blue, GLint alpha); 1620 GLAPI PFNGLCOLOR4IPROC glad_glColor4i; 1621 #define glColor4i glad_glColor4i 1622 typedef void (APIENTRYP PFNGLCOLOR4IVPROC)(const GLint* v); 1623 GLAPI PFNGLCOLOR4IVPROC glad_glColor4iv; 1624 #define glColor4iv glad_glColor4iv 1625 typedef void (APIENTRYP PFNGLCOLOR4SPROC)(GLshort red, GLshort green, GLshort blue, GLshort alpha); 1626 GLAPI PFNGLCOLOR4SPROC glad_glColor4s; 1627 #define glColor4s glad_glColor4s 1628 typedef void (APIENTRYP PFNGLCOLOR4SVPROC)(const GLshort* v); 1629 GLAPI PFNGLCOLOR4SVPROC glad_glColor4sv; 1630 #define glColor4sv glad_glColor4sv 1631 typedef void (APIENTRYP PFNGLCOLOR4UBPROC)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 1632 GLAPI PFNGLCOLOR4UBPROC glad_glColor4ub; 1633 #define glColor4ub glad_glColor4ub 1634 typedef void (APIENTRYP PFNGLCOLOR4UBVPROC)(const GLubyte* v); 1635 GLAPI PFNGLCOLOR4UBVPROC glad_glColor4ubv; 1636 #define glColor4ubv glad_glColor4ubv 1637 typedef void (APIENTRYP PFNGLCOLOR4UIPROC)(GLuint red, GLuint green, GLuint blue, GLuint alpha); 1638 GLAPI PFNGLCOLOR4UIPROC glad_glColor4ui; 1639 #define glColor4ui glad_glColor4ui 1640 typedef void (APIENTRYP PFNGLCOLOR4UIVPROC)(const GLuint* v); 1641 GLAPI PFNGLCOLOR4UIVPROC glad_glColor4uiv; 1642 #define glColor4uiv glad_glColor4uiv 1643 typedef void (APIENTRYP PFNGLCOLOR4USPROC)(GLushort red, GLushort green, GLushort blue, GLushort alpha); 1644 GLAPI PFNGLCOLOR4USPROC glad_glColor4us; 1645 #define glColor4us glad_glColor4us 1646 typedef void (APIENTRYP PFNGLCOLOR4USVPROC)(const GLushort* v); 1647 GLAPI PFNGLCOLOR4USVPROC glad_glColor4usv; 1648 #define glColor4usv glad_glColor4usv 1649 typedef void (APIENTRYP PFNGLEDGEFLAGPROC)(GLboolean flag); 1650 GLAPI PFNGLEDGEFLAGPROC glad_glEdgeFlag; 1651 #define glEdgeFlag glad_glEdgeFlag 1652 typedef void (APIENTRYP PFNGLEDGEFLAGVPROC)(const GLboolean* flag); 1653 GLAPI PFNGLEDGEFLAGVPROC glad_glEdgeFlagv; 1654 #define glEdgeFlagv glad_glEdgeFlagv 1655 typedef void (APIENTRYP PFNGLENDPROC)(); 1656 GLAPI PFNGLENDPROC glad_glEnd; 1657 #define glEnd glad_glEnd 1658 typedef void (APIENTRYP PFNGLINDEXDPROC)(GLdouble c); 1659 GLAPI PFNGLINDEXDPROC glad_glIndexd; 1660 #define glIndexd glad_glIndexd 1661 typedef void (APIENTRYP PFNGLINDEXDVPROC)(const GLdouble* c); 1662 GLAPI PFNGLINDEXDVPROC glad_glIndexdv; 1663 #define glIndexdv glad_glIndexdv 1664 typedef void (APIENTRYP PFNGLINDEXFPROC)(GLfloat c); 1665 GLAPI PFNGLINDEXFPROC glad_glIndexf; 1666 #define glIndexf glad_glIndexf 1667 typedef void (APIENTRYP PFNGLINDEXFVPROC)(const GLfloat* c); 1668 GLAPI PFNGLINDEXFVPROC glad_glIndexfv; 1669 #define glIndexfv glad_glIndexfv 1670 typedef void (APIENTRYP PFNGLINDEXIPROC)(GLint c); 1671 GLAPI PFNGLINDEXIPROC glad_glIndexi; 1672 #define glIndexi glad_glIndexi 1673 typedef void (APIENTRYP PFNGLINDEXIVPROC)(const GLint* c); 1674 GLAPI PFNGLINDEXIVPROC glad_glIndexiv; 1675 #define glIndexiv glad_glIndexiv 1676 typedef void (APIENTRYP PFNGLINDEXSPROC)(GLshort c); 1677 GLAPI PFNGLINDEXSPROC glad_glIndexs; 1678 #define glIndexs glad_glIndexs 1679 typedef void (APIENTRYP PFNGLINDEXSVPROC)(const GLshort* c); 1680 GLAPI PFNGLINDEXSVPROC glad_glIndexsv; 1681 #define glIndexsv glad_glIndexsv 1682 typedef void (APIENTRYP PFNGLNORMAL3BPROC)(GLbyte nx, GLbyte ny, GLbyte nz); 1683 GLAPI PFNGLNORMAL3BPROC glad_glNormal3b; 1684 #define glNormal3b glad_glNormal3b 1685 typedef void (APIENTRYP PFNGLNORMAL3BVPROC)(const GLbyte* v); 1686 GLAPI PFNGLNORMAL3BVPROC glad_glNormal3bv; 1687 #define glNormal3bv glad_glNormal3bv 1688 typedef void (APIENTRYP PFNGLNORMAL3DPROC)(GLdouble nx, GLdouble ny, GLdouble nz); 1689 GLAPI PFNGLNORMAL3DPROC glad_glNormal3d; 1690 #define glNormal3d glad_glNormal3d 1691 typedef void (APIENTRYP PFNGLNORMAL3DVPROC)(const GLdouble* v); 1692 GLAPI PFNGLNORMAL3DVPROC glad_glNormal3dv; 1693 #define glNormal3dv glad_glNormal3dv 1694 typedef void (APIENTRYP PFNGLNORMAL3FPROC)(GLfloat nx, GLfloat ny, GLfloat nz); 1695 GLAPI PFNGLNORMAL3FPROC glad_glNormal3f; 1696 #define glNormal3f glad_glNormal3f 1697 typedef void (APIENTRYP PFNGLNORMAL3FVPROC)(const GLfloat* v); 1698 GLAPI PFNGLNORMAL3FVPROC glad_glNormal3fv; 1699 #define glNormal3fv glad_glNormal3fv 1700 typedef void (APIENTRYP PFNGLNORMAL3IPROC)(GLint nx, GLint ny, GLint nz); 1701 GLAPI PFNGLNORMAL3IPROC glad_glNormal3i; 1702 #define glNormal3i glad_glNormal3i 1703 typedef void (APIENTRYP PFNGLNORMAL3IVPROC)(const GLint* v); 1704 GLAPI PFNGLNORMAL3IVPROC glad_glNormal3iv; 1705 #define glNormal3iv glad_glNormal3iv 1706 typedef void (APIENTRYP PFNGLNORMAL3SPROC)(GLshort nx, GLshort ny, GLshort nz); 1707 GLAPI PFNGLNORMAL3SPROC glad_glNormal3s; 1708 #define glNormal3s glad_glNormal3s 1709 typedef void (APIENTRYP PFNGLNORMAL3SVPROC)(const GLshort* v); 1710 GLAPI PFNGLNORMAL3SVPROC glad_glNormal3sv; 1711 #define glNormal3sv glad_glNormal3sv 1712 typedef void (APIENTRYP PFNGLRASTERPOS2DPROC)(GLdouble x, GLdouble y); 1713 GLAPI PFNGLRASTERPOS2DPROC glad_glRasterPos2d; 1714 #define glRasterPos2d glad_glRasterPos2d 1715 typedef void (APIENTRYP PFNGLRASTERPOS2DVPROC)(const GLdouble* v); 1716 GLAPI PFNGLRASTERPOS2DVPROC glad_glRasterPos2dv; 1717 #define glRasterPos2dv glad_glRasterPos2dv 1718 typedef void (APIENTRYP PFNGLRASTERPOS2FPROC)(GLfloat x, GLfloat y); 1719 GLAPI PFNGLRASTERPOS2FPROC glad_glRasterPos2f; 1720 #define glRasterPos2f glad_glRasterPos2f 1721 typedef void (APIENTRYP PFNGLRASTERPOS2FVPROC)(const GLfloat* v); 1722 GLAPI PFNGLRASTERPOS2FVPROC glad_glRasterPos2fv; 1723 #define glRasterPos2fv glad_glRasterPos2fv 1724 typedef void (APIENTRYP PFNGLRASTERPOS2IPROC)(GLint x, GLint y); 1725 GLAPI PFNGLRASTERPOS2IPROC glad_glRasterPos2i; 1726 #define glRasterPos2i glad_glRasterPos2i 1727 typedef void (APIENTRYP PFNGLRASTERPOS2IVPROC)(const GLint* v); 1728 GLAPI PFNGLRASTERPOS2IVPROC glad_glRasterPos2iv; 1729 #define glRasterPos2iv glad_glRasterPos2iv 1730 typedef void (APIENTRYP PFNGLRASTERPOS2SPROC)(GLshort x, GLshort y); 1731 GLAPI PFNGLRASTERPOS2SPROC glad_glRasterPos2s; 1732 #define glRasterPos2s glad_glRasterPos2s 1733 typedef void (APIENTRYP PFNGLRASTERPOS2SVPROC)(const GLshort* v); 1734 GLAPI PFNGLRASTERPOS2SVPROC glad_glRasterPos2sv; 1735 #define glRasterPos2sv glad_glRasterPos2sv 1736 typedef void (APIENTRYP PFNGLRASTERPOS3DPROC)(GLdouble x, GLdouble y, GLdouble z); 1737 GLAPI PFNGLRASTERPOS3DPROC glad_glRasterPos3d; 1738 #define glRasterPos3d glad_glRasterPos3d 1739 typedef void (APIENTRYP PFNGLRASTERPOS3DVPROC)(const GLdouble* v); 1740 GLAPI PFNGLRASTERPOS3DVPROC glad_glRasterPos3dv; 1741 #define glRasterPos3dv glad_glRasterPos3dv 1742 typedef void (APIENTRYP PFNGLRASTERPOS3FPROC)(GLfloat x, GLfloat y, GLfloat z); 1743 GLAPI PFNGLRASTERPOS3FPROC glad_glRasterPos3f; 1744 #define glRasterPos3f glad_glRasterPos3f 1745 typedef void (APIENTRYP PFNGLRASTERPOS3FVPROC)(const GLfloat* v); 1746 GLAPI PFNGLRASTERPOS3FVPROC glad_glRasterPos3fv; 1747 #define glRasterPos3fv glad_glRasterPos3fv 1748 typedef void (APIENTRYP PFNGLRASTERPOS3IPROC)(GLint x, GLint y, GLint z); 1749 GLAPI PFNGLRASTERPOS3IPROC glad_glRasterPos3i; 1750 #define glRasterPos3i glad_glRasterPos3i 1751 typedef void (APIENTRYP PFNGLRASTERPOS3IVPROC)(const GLint* v); 1752 GLAPI PFNGLRASTERPOS3IVPROC glad_glRasterPos3iv; 1753 #define glRasterPos3iv glad_glRasterPos3iv 1754 typedef void (APIENTRYP PFNGLRASTERPOS3SPROC)(GLshort x, GLshort y, GLshort z); 1755 GLAPI PFNGLRASTERPOS3SPROC glad_glRasterPos3s; 1756 #define glRasterPos3s glad_glRasterPos3s 1757 typedef void (APIENTRYP PFNGLRASTERPOS3SVPROC)(const GLshort* v); 1758 GLAPI PFNGLRASTERPOS3SVPROC glad_glRasterPos3sv; 1759 #define glRasterPos3sv glad_glRasterPos3sv 1760 typedef void (APIENTRYP PFNGLRASTERPOS4DPROC)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); 1761 GLAPI PFNGLRASTERPOS4DPROC glad_glRasterPos4d; 1762 #define glRasterPos4d glad_glRasterPos4d 1763 typedef void (APIENTRYP PFNGLRASTERPOS4DVPROC)(const GLdouble* v); 1764 GLAPI PFNGLRASTERPOS4DVPROC glad_glRasterPos4dv; 1765 #define glRasterPos4dv glad_glRasterPos4dv 1766 typedef void (APIENTRYP PFNGLRASTERPOS4FPROC)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); 1767 GLAPI PFNGLRASTERPOS4FPROC glad_glRasterPos4f; 1768 #define glRasterPos4f glad_glRasterPos4f 1769 typedef void (APIENTRYP PFNGLRASTERPOS4FVPROC)(const GLfloat* v); 1770 GLAPI PFNGLRASTERPOS4FVPROC glad_glRasterPos4fv; 1771 #define glRasterPos4fv glad_glRasterPos4fv 1772 typedef void (APIENTRYP PFNGLRASTERPOS4IPROC)(GLint x, GLint y, GLint z, GLint w); 1773 GLAPI PFNGLRASTERPOS4IPROC glad_glRasterPos4i; 1774 #define glRasterPos4i glad_glRasterPos4i 1775 typedef void (APIENTRYP PFNGLRASTERPOS4IVPROC)(const GLint* v); 1776 GLAPI PFNGLRASTERPOS4IVPROC glad_glRasterPos4iv; 1777 #define glRasterPos4iv glad_glRasterPos4iv 1778 typedef void (APIENTRYP PFNGLRASTERPOS4SPROC)(GLshort x, GLshort y, GLshort z, GLshort w); 1779 GLAPI PFNGLRASTERPOS4SPROC glad_glRasterPos4s; 1780 #define glRasterPos4s glad_glRasterPos4s 1781 typedef void (APIENTRYP PFNGLRASTERPOS4SVPROC)(const GLshort* v); 1782 GLAPI PFNGLRASTERPOS4SVPROC glad_glRasterPos4sv; 1783 #define glRasterPos4sv glad_glRasterPos4sv 1784 typedef void (APIENTRYP PFNGLRECTDPROC)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); 1785 GLAPI PFNGLRECTDPROC glad_glRectd; 1786 #define glRectd glad_glRectd 1787 typedef void (APIENTRYP PFNGLRECTDVPROC)(const GLdouble* v1, const GLdouble* v2); 1788 GLAPI PFNGLRECTDVPROC glad_glRectdv; 1789 #define glRectdv glad_glRectdv 1790 typedef void (APIENTRYP PFNGLRECTFPROC)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); 1791 GLAPI PFNGLRECTFPROC glad_glRectf; 1792 #define glRectf glad_glRectf 1793 typedef void (APIENTRYP PFNGLRECTFVPROC)(const GLfloat* v1, const GLfloat* v2); 1794 GLAPI PFNGLRECTFVPROC glad_glRectfv; 1795 #define glRectfv glad_glRectfv 1796 typedef void (APIENTRYP PFNGLRECTIPROC)(GLint x1, GLint y1, GLint x2, GLint y2); 1797 GLAPI PFNGLRECTIPROC glad_glRecti; 1798 #define glRecti glad_glRecti 1799 typedef void (APIENTRYP PFNGLRECTIVPROC)(const GLint* v1, const GLint* v2); 1800 GLAPI PFNGLRECTIVPROC glad_glRectiv; 1801 #define glRectiv glad_glRectiv 1802 typedef void (APIENTRYP PFNGLRECTSPROC)(GLshort x1, GLshort y1, GLshort x2, GLshort y2); 1803 GLAPI PFNGLRECTSPROC glad_glRects; 1804 #define glRects glad_glRects 1805 typedef void (APIENTRYP PFNGLRECTSVPROC)(const GLshort* v1, const GLshort* v2); 1806 GLAPI PFNGLRECTSVPROC glad_glRectsv; 1807 #define glRectsv glad_glRectsv 1808 typedef void (APIENTRYP PFNGLTEXCOORD1DPROC)(GLdouble s); 1809 GLAPI PFNGLTEXCOORD1DPROC glad_glTexCoord1d; 1810 #define glTexCoord1d glad_glTexCoord1d 1811 typedef void (APIENTRYP PFNGLTEXCOORD1DVPROC)(const GLdouble* v); 1812 GLAPI PFNGLTEXCOORD1DVPROC glad_glTexCoord1dv; 1813 #define glTexCoord1dv glad_glTexCoord1dv 1814 typedef void (APIENTRYP PFNGLTEXCOORD1FPROC)(GLfloat s); 1815 GLAPI PFNGLTEXCOORD1FPROC glad_glTexCoord1f; 1816 #define glTexCoord1f glad_glTexCoord1f 1817 typedef void (APIENTRYP PFNGLTEXCOORD1FVPROC)(const GLfloat* v); 1818 GLAPI PFNGLTEXCOORD1FVPROC glad_glTexCoord1fv; 1819 #define glTexCoord1fv glad_glTexCoord1fv 1820 typedef void (APIENTRYP PFNGLTEXCOORD1IPROC)(GLint s); 1821 GLAPI PFNGLTEXCOORD1IPROC glad_glTexCoord1i; 1822 #define glTexCoord1i glad_glTexCoord1i 1823 typedef void (APIENTRYP PFNGLTEXCOORD1IVPROC)(const GLint* v); 1824 GLAPI PFNGLTEXCOORD1IVPROC glad_glTexCoord1iv; 1825 #define glTexCoord1iv glad_glTexCoord1iv 1826 typedef void (APIENTRYP PFNGLTEXCOORD1SPROC)(GLshort s); 1827 GLAPI PFNGLTEXCOORD1SPROC glad_glTexCoord1s; 1828 #define glTexCoord1s glad_glTexCoord1s 1829 typedef void (APIENTRYP PFNGLTEXCOORD1SVPROC)(const GLshort* v); 1830 GLAPI PFNGLTEXCOORD1SVPROC glad_glTexCoord1sv; 1831 #define glTexCoord1sv glad_glTexCoord1sv 1832 typedef void (APIENTRYP PFNGLTEXCOORD2DPROC)(GLdouble s, GLdouble t); 1833 GLAPI PFNGLTEXCOORD2DPROC glad_glTexCoord2d; 1834 #define glTexCoord2d glad_glTexCoord2d 1835 typedef void (APIENTRYP PFNGLTEXCOORD2DVPROC)(const GLdouble* v); 1836 GLAPI PFNGLTEXCOORD2DVPROC glad_glTexCoord2dv; 1837 #define glTexCoord2dv glad_glTexCoord2dv 1838 typedef void (APIENTRYP PFNGLTEXCOORD2FPROC)(GLfloat s, GLfloat t); 1839 GLAPI PFNGLTEXCOORD2FPROC glad_glTexCoord2f; 1840 #define glTexCoord2f glad_glTexCoord2f 1841 typedef void (APIENTRYP PFNGLTEXCOORD2FVPROC)(const GLfloat* v); 1842 GLAPI PFNGLTEXCOORD2FVPROC glad_glTexCoord2fv; 1843 #define glTexCoord2fv glad_glTexCoord2fv 1844 typedef void (APIENTRYP PFNGLTEXCOORD2IPROC)(GLint s, GLint t); 1845 GLAPI PFNGLTEXCOORD2IPROC glad_glTexCoord2i; 1846 #define glTexCoord2i glad_glTexCoord2i 1847 typedef void (APIENTRYP PFNGLTEXCOORD2IVPROC)(const GLint* v); 1848 GLAPI PFNGLTEXCOORD2IVPROC glad_glTexCoord2iv; 1849 #define glTexCoord2iv glad_glTexCoord2iv 1850 typedef void (APIENTRYP PFNGLTEXCOORD2SPROC)(GLshort s, GLshort t); 1851 GLAPI PFNGLTEXCOORD2SPROC glad_glTexCoord2s; 1852 #define glTexCoord2s glad_glTexCoord2s 1853 typedef void (APIENTRYP PFNGLTEXCOORD2SVPROC)(const GLshort* v); 1854 GLAPI PFNGLTEXCOORD2SVPROC glad_glTexCoord2sv; 1855 #define glTexCoord2sv glad_glTexCoord2sv 1856 typedef void (APIENTRYP PFNGLTEXCOORD3DPROC)(GLdouble s, GLdouble t, GLdouble r); 1857 GLAPI PFNGLTEXCOORD3DPROC glad_glTexCoord3d; 1858 #define glTexCoord3d glad_glTexCoord3d 1859 typedef void (APIENTRYP PFNGLTEXCOORD3DVPROC)(const GLdouble* v); 1860 GLAPI PFNGLTEXCOORD3DVPROC glad_glTexCoord3dv; 1861 #define glTexCoord3dv glad_glTexCoord3dv 1862 typedef void (APIENTRYP PFNGLTEXCOORD3FPROC)(GLfloat s, GLfloat t, GLfloat r); 1863 GLAPI PFNGLTEXCOORD3FPROC glad_glTexCoord3f; 1864 #define glTexCoord3f glad_glTexCoord3f 1865 typedef void (APIENTRYP PFNGLTEXCOORD3FVPROC)(const GLfloat* v); 1866 GLAPI PFNGLTEXCOORD3FVPROC glad_glTexCoord3fv; 1867 #define glTexCoord3fv glad_glTexCoord3fv 1868 typedef void (APIENTRYP PFNGLTEXCOORD3IPROC)(GLint s, GLint t, GLint r); 1869 GLAPI PFNGLTEXCOORD3IPROC glad_glTexCoord3i; 1870 #define glTexCoord3i glad_glTexCoord3i 1871 typedef void (APIENTRYP PFNGLTEXCOORD3IVPROC)(const GLint* v); 1872 GLAPI PFNGLTEXCOORD3IVPROC glad_glTexCoord3iv; 1873 #define glTexCoord3iv glad_glTexCoord3iv 1874 typedef void (APIENTRYP PFNGLTEXCOORD3SPROC)(GLshort s, GLshort t, GLshort r); 1875 GLAPI PFNGLTEXCOORD3SPROC glad_glTexCoord3s; 1876 #define glTexCoord3s glad_glTexCoord3s 1877 typedef void (APIENTRYP PFNGLTEXCOORD3SVPROC)(const GLshort* v); 1878 GLAPI PFNGLTEXCOORD3SVPROC glad_glTexCoord3sv; 1879 #define glTexCoord3sv glad_glTexCoord3sv 1880 typedef void (APIENTRYP PFNGLTEXCOORD4DPROC)(GLdouble s, GLdouble t, GLdouble r, GLdouble q); 1881 GLAPI PFNGLTEXCOORD4DPROC glad_glTexCoord4d; 1882 #define glTexCoord4d glad_glTexCoord4d 1883 typedef void (APIENTRYP PFNGLTEXCOORD4DVPROC)(const GLdouble* v); 1884 GLAPI PFNGLTEXCOORD4DVPROC glad_glTexCoord4dv; 1885 #define glTexCoord4dv glad_glTexCoord4dv 1886 typedef void (APIENTRYP PFNGLTEXCOORD4FPROC)(GLfloat s, GLfloat t, GLfloat r, GLfloat q); 1887 GLAPI PFNGLTEXCOORD4FPROC glad_glTexCoord4f; 1888 #define glTexCoord4f glad_glTexCoord4f 1889 typedef void (APIENTRYP PFNGLTEXCOORD4FVPROC)(const GLfloat* v); 1890 GLAPI PFNGLTEXCOORD4FVPROC glad_glTexCoord4fv; 1891 #define glTexCoord4fv glad_glTexCoord4fv 1892 typedef void (APIENTRYP PFNGLTEXCOORD4IPROC)(GLint s, GLint t, GLint r, GLint q); 1893 GLAPI PFNGLTEXCOORD4IPROC glad_glTexCoord4i; 1894 #define glTexCoord4i glad_glTexCoord4i 1895 typedef void (APIENTRYP PFNGLTEXCOORD4IVPROC)(const GLint* v); 1896 GLAPI PFNGLTEXCOORD4IVPROC glad_glTexCoord4iv; 1897 #define glTexCoord4iv glad_glTexCoord4iv 1898 typedef void (APIENTRYP PFNGLTEXCOORD4SPROC)(GLshort s, GLshort t, GLshort r, GLshort q); 1899 GLAPI PFNGLTEXCOORD4SPROC glad_glTexCoord4s; 1900 #define glTexCoord4s glad_glTexCoord4s 1901 typedef void (APIENTRYP PFNGLTEXCOORD4SVPROC)(const GLshort* v); 1902 GLAPI PFNGLTEXCOORD4SVPROC glad_glTexCoord4sv; 1903 #define glTexCoord4sv glad_glTexCoord4sv 1904 typedef void (APIENTRYP PFNGLVERTEX2DPROC)(GLdouble x, GLdouble y); 1905 GLAPI PFNGLVERTEX2DPROC glad_glVertex2d; 1906 #define glVertex2d glad_glVertex2d 1907 typedef void (APIENTRYP PFNGLVERTEX2DVPROC)(const GLdouble* v); 1908 GLAPI PFNGLVERTEX2DVPROC glad_glVertex2dv; 1909 #define glVertex2dv glad_glVertex2dv 1910 typedef void (APIENTRYP PFNGLVERTEX2FPROC)(GLfloat x, GLfloat y); 1911 GLAPI PFNGLVERTEX2FPROC glad_glVertex2f; 1912 #define glVertex2f glad_glVertex2f 1913 typedef void (APIENTRYP PFNGLVERTEX2FVPROC)(const GLfloat* v); 1914 GLAPI PFNGLVERTEX2FVPROC glad_glVertex2fv; 1915 #define glVertex2fv glad_glVertex2fv 1916 typedef void (APIENTRYP PFNGLVERTEX2IPROC)(GLint x, GLint y); 1917 GLAPI PFNGLVERTEX2IPROC glad_glVertex2i; 1918 #define glVertex2i glad_glVertex2i 1919 typedef void (APIENTRYP PFNGLVERTEX2IVPROC)(const GLint* v); 1920 GLAPI PFNGLVERTEX2IVPROC glad_glVertex2iv; 1921 #define glVertex2iv glad_glVertex2iv 1922 typedef void (APIENTRYP PFNGLVERTEX2SPROC)(GLshort x, GLshort y); 1923 GLAPI PFNGLVERTEX2SPROC glad_glVertex2s; 1924 #define glVertex2s glad_glVertex2s 1925 typedef void (APIENTRYP PFNGLVERTEX2SVPROC)(const GLshort* v); 1926 GLAPI PFNGLVERTEX2SVPROC glad_glVertex2sv; 1927 #define glVertex2sv glad_glVertex2sv 1928 typedef void (APIENTRYP PFNGLVERTEX3DPROC)(GLdouble x, GLdouble y, GLdouble z); 1929 GLAPI PFNGLVERTEX3DPROC glad_glVertex3d; 1930 #define glVertex3d glad_glVertex3d 1931 typedef void (APIENTRYP PFNGLVERTEX3DVPROC)(const GLdouble* v); 1932 GLAPI PFNGLVERTEX3DVPROC glad_glVertex3dv; 1933 #define glVertex3dv glad_glVertex3dv 1934 typedef void (APIENTRYP PFNGLVERTEX3FPROC)(GLfloat x, GLfloat y, GLfloat z); 1935 GLAPI PFNGLVERTEX3FPROC glad_glVertex3f; 1936 #define glVertex3f glad_glVertex3f 1937 typedef void (APIENTRYP PFNGLVERTEX3FVPROC)(const GLfloat* v); 1938 GLAPI PFNGLVERTEX3FVPROC glad_glVertex3fv; 1939 #define glVertex3fv glad_glVertex3fv 1940 typedef void (APIENTRYP PFNGLVERTEX3IPROC)(GLint x, GLint y, GLint z); 1941 GLAPI PFNGLVERTEX3IPROC glad_glVertex3i; 1942 #define glVertex3i glad_glVertex3i 1943 typedef void (APIENTRYP PFNGLVERTEX3IVPROC)(const GLint* v); 1944 GLAPI PFNGLVERTEX3IVPROC glad_glVertex3iv; 1945 #define glVertex3iv glad_glVertex3iv 1946 typedef void (APIENTRYP PFNGLVERTEX3SPROC)(GLshort x, GLshort y, GLshort z); 1947 GLAPI PFNGLVERTEX3SPROC glad_glVertex3s; 1948 #define glVertex3s glad_glVertex3s 1949 typedef void (APIENTRYP PFNGLVERTEX3SVPROC)(const GLshort* v); 1950 GLAPI PFNGLVERTEX3SVPROC glad_glVertex3sv; 1951 #define glVertex3sv glad_glVertex3sv 1952 typedef void (APIENTRYP PFNGLVERTEX4DPROC)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); 1953 GLAPI PFNGLVERTEX4DPROC glad_glVertex4d; 1954 #define glVertex4d glad_glVertex4d 1955 typedef void (APIENTRYP PFNGLVERTEX4DVPROC)(const GLdouble* v); 1956 GLAPI PFNGLVERTEX4DVPROC glad_glVertex4dv; 1957 #define glVertex4dv glad_glVertex4dv 1958 typedef void (APIENTRYP PFNGLVERTEX4FPROC)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); 1959 GLAPI PFNGLVERTEX4FPROC glad_glVertex4f; 1960 #define glVertex4f glad_glVertex4f 1961 typedef void (APIENTRYP PFNGLVERTEX4FVPROC)(const GLfloat* v); 1962 GLAPI PFNGLVERTEX4FVPROC glad_glVertex4fv; 1963 #define glVertex4fv glad_glVertex4fv 1964 typedef void (APIENTRYP PFNGLVERTEX4IPROC)(GLint x, GLint y, GLint z, GLint w); 1965 GLAPI PFNGLVERTEX4IPROC glad_glVertex4i; 1966 #define glVertex4i glad_glVertex4i 1967 typedef void (APIENTRYP PFNGLVERTEX4IVPROC)(const GLint* v); 1968 GLAPI PFNGLVERTEX4IVPROC glad_glVertex4iv; 1969 #define glVertex4iv glad_glVertex4iv 1970 typedef void (APIENTRYP PFNGLVERTEX4SPROC)(GLshort x, GLshort y, GLshort z, GLshort w); 1971 GLAPI PFNGLVERTEX4SPROC glad_glVertex4s; 1972 #define glVertex4s glad_glVertex4s 1973 typedef void (APIENTRYP PFNGLVERTEX4SVPROC)(const GLshort* v); 1974 GLAPI PFNGLVERTEX4SVPROC glad_glVertex4sv; 1975 #define glVertex4sv glad_glVertex4sv 1976 typedef void (APIENTRYP PFNGLCLIPPLANEPROC)(GLenum plane, const GLdouble* equation); 1977 GLAPI PFNGLCLIPPLANEPROC glad_glClipPlane; 1978 #define glClipPlane glad_glClipPlane 1979 typedef void (APIENTRYP PFNGLCOLORMATERIALPROC)(GLenum face, GLenum mode); 1980 GLAPI PFNGLCOLORMATERIALPROC glad_glColorMaterial; 1981 #define glColorMaterial glad_glColorMaterial 1982 typedef void (APIENTRYP PFNGLFOGFPROC)(GLenum pname, GLfloat param); 1983 GLAPI PFNGLFOGFPROC glad_glFogf; 1984 #define glFogf glad_glFogf 1985 typedef void (APIENTRYP PFNGLFOGFVPROC)(GLenum pname, const GLfloat* params); 1986 GLAPI PFNGLFOGFVPROC glad_glFogfv; 1987 #define glFogfv glad_glFogfv 1988 typedef void (APIENTRYP PFNGLFOGIPROC)(GLenum pname, GLint param); 1989 GLAPI PFNGLFOGIPROC glad_glFogi; 1990 #define glFogi glad_glFogi 1991 typedef void (APIENTRYP PFNGLFOGIVPROC)(GLenum pname, const GLint* params); 1992 GLAPI PFNGLFOGIVPROC glad_glFogiv; 1993 #define glFogiv glad_glFogiv 1994 typedef void (APIENTRYP PFNGLLIGHTFPROC)(GLenum light, GLenum pname, GLfloat param); 1995 GLAPI PFNGLLIGHTFPROC glad_glLightf; 1996 #define glLightf glad_glLightf 1997 typedef void (APIENTRYP PFNGLLIGHTFVPROC)(GLenum light, GLenum pname, const GLfloat* params); 1998 GLAPI PFNGLLIGHTFVPROC glad_glLightfv; 1999 #define glLightfv glad_glLightfv 2000 typedef void (APIENTRYP PFNGLLIGHTIPROC)(GLenum light, GLenum pname, GLint param); 2001 GLAPI PFNGLLIGHTIPROC glad_glLighti; 2002 #define glLighti glad_glLighti 2003 typedef void (APIENTRYP PFNGLLIGHTIVPROC)(GLenum light, GLenum pname, const GLint* params); 2004 GLAPI PFNGLLIGHTIVPROC glad_glLightiv; 2005 #define glLightiv glad_glLightiv 2006 typedef void (APIENTRYP PFNGLLIGHTMODELFPROC)(GLenum pname, GLfloat param); 2007 GLAPI PFNGLLIGHTMODELFPROC glad_glLightModelf; 2008 #define glLightModelf glad_glLightModelf 2009 typedef void (APIENTRYP PFNGLLIGHTMODELFVPROC)(GLenum pname, const GLfloat* params); 2010 GLAPI PFNGLLIGHTMODELFVPROC glad_glLightModelfv; 2011 #define glLightModelfv glad_glLightModelfv 2012 typedef void (APIENTRYP PFNGLLIGHTMODELIPROC)(GLenum pname, GLint param); 2013 GLAPI PFNGLLIGHTMODELIPROC glad_glLightModeli; 2014 #define glLightModeli glad_glLightModeli 2015 typedef void (APIENTRYP PFNGLLIGHTMODELIVPROC)(GLenum pname, const GLint* params); 2016 GLAPI PFNGLLIGHTMODELIVPROC glad_glLightModeliv; 2017 #define glLightModeliv glad_glLightModeliv 2018 typedef void (APIENTRYP PFNGLLINESTIPPLEPROC)(GLint factor, GLushort pattern); 2019 GLAPI PFNGLLINESTIPPLEPROC glad_glLineStipple; 2020 #define glLineStipple glad_glLineStipple 2021 typedef void (APIENTRYP PFNGLMATERIALFPROC)(GLenum face, GLenum pname, GLfloat param); 2022 GLAPI PFNGLMATERIALFPROC glad_glMaterialf; 2023 #define glMaterialf glad_glMaterialf 2024 typedef void (APIENTRYP PFNGLMATERIALFVPROC)(GLenum face, GLenum pname, const GLfloat* params); 2025 GLAPI PFNGLMATERIALFVPROC glad_glMaterialfv; 2026 #define glMaterialfv glad_glMaterialfv 2027 typedef void (APIENTRYP PFNGLMATERIALIPROC)(GLenum face, GLenum pname, GLint param); 2028 GLAPI PFNGLMATERIALIPROC glad_glMateriali; 2029 #define glMateriali glad_glMateriali 2030 typedef void (APIENTRYP PFNGLMATERIALIVPROC)(GLenum face, GLenum pname, const GLint* params); 2031 GLAPI PFNGLMATERIALIVPROC glad_glMaterialiv; 2032 #define glMaterialiv glad_glMaterialiv 2033 typedef void (APIENTRYP PFNGLPOLYGONSTIPPLEPROC)(const GLubyte* mask); 2034 GLAPI PFNGLPOLYGONSTIPPLEPROC glad_glPolygonStipple; 2035 #define glPolygonStipple glad_glPolygonStipple 2036 typedef void (APIENTRYP PFNGLSHADEMODELPROC)(GLenum mode); 2037 GLAPI PFNGLSHADEMODELPROC glad_glShadeModel; 2038 #define glShadeModel glad_glShadeModel 2039 typedef void (APIENTRYP PFNGLTEXENVFPROC)(GLenum target, GLenum pname, GLfloat param); 2040 GLAPI PFNGLTEXENVFPROC glad_glTexEnvf; 2041 #define glTexEnvf glad_glTexEnvf 2042 typedef void (APIENTRYP PFNGLTEXENVFVPROC)(GLenum target, GLenum pname, const GLfloat* params); 2043 GLAPI PFNGLTEXENVFVPROC glad_glTexEnvfv; 2044 #define glTexEnvfv glad_glTexEnvfv 2045 typedef void (APIENTRYP PFNGLTEXENVIPROC)(GLenum target, GLenum pname, GLint param); 2046 GLAPI PFNGLTEXENVIPROC glad_glTexEnvi; 2047 #define glTexEnvi glad_glTexEnvi 2048 typedef void (APIENTRYP PFNGLTEXENVIVPROC)(GLenum target, GLenum pname, const GLint* params); 2049 GLAPI PFNGLTEXENVIVPROC glad_glTexEnviv; 2050 #define glTexEnviv glad_glTexEnviv 2051 typedef void (APIENTRYP PFNGLTEXGENDPROC)(GLenum coord, GLenum pname, GLdouble param); 2052 GLAPI PFNGLTEXGENDPROC glad_glTexGend; 2053 #define glTexGend glad_glTexGend 2054 typedef void (APIENTRYP PFNGLTEXGENDVPROC)(GLenum coord, GLenum pname, const GLdouble* params); 2055 GLAPI PFNGLTEXGENDVPROC glad_glTexGendv; 2056 #define glTexGendv glad_glTexGendv 2057 typedef void (APIENTRYP PFNGLTEXGENFPROC)(GLenum coord, GLenum pname, GLfloat param); 2058 GLAPI PFNGLTEXGENFPROC glad_glTexGenf; 2059 #define glTexGenf glad_glTexGenf 2060 typedef void (APIENTRYP PFNGLTEXGENFVPROC)(GLenum coord, GLenum pname, const GLfloat* params); 2061 GLAPI PFNGLTEXGENFVPROC glad_glTexGenfv; 2062 #define glTexGenfv glad_glTexGenfv 2063 typedef void (APIENTRYP PFNGLTEXGENIPROC)(GLenum coord, GLenum pname, GLint param); 2064 GLAPI PFNGLTEXGENIPROC glad_glTexGeni; 2065 #define glTexGeni glad_glTexGeni 2066 typedef void (APIENTRYP PFNGLTEXGENIVPROC)(GLenum coord, GLenum pname, const GLint* params); 2067 GLAPI PFNGLTEXGENIVPROC glad_glTexGeniv; 2068 #define glTexGeniv glad_glTexGeniv 2069 typedef void (APIENTRYP PFNGLFEEDBACKBUFFERPROC)(GLsizei size, GLenum type, GLfloat* buffer); 2070 GLAPI PFNGLFEEDBACKBUFFERPROC glad_glFeedbackBuffer; 2071 #define glFeedbackBuffer glad_glFeedbackBuffer 2072 typedef void (APIENTRYP PFNGLSELECTBUFFERPROC)(GLsizei size, GLuint* buffer); 2073 GLAPI PFNGLSELECTBUFFERPROC glad_glSelectBuffer; 2074 #define glSelectBuffer glad_glSelectBuffer 2075 typedef GLint (APIENTRYP PFNGLRENDERMODEPROC)(GLenum mode); 2076 GLAPI PFNGLRENDERMODEPROC glad_glRenderMode; 2077 #define glRenderMode glad_glRenderMode 2078 typedef void (APIENTRYP PFNGLINITNAMESPROC)(); 2079 GLAPI PFNGLINITNAMESPROC glad_glInitNames; 2080 #define glInitNames glad_glInitNames 2081 typedef void (APIENTRYP PFNGLLOADNAMEPROC)(GLuint name); 2082 GLAPI PFNGLLOADNAMEPROC glad_glLoadName; 2083 #define glLoadName glad_glLoadName 2084 typedef void (APIENTRYP PFNGLPASSTHROUGHPROC)(GLfloat token); 2085 GLAPI PFNGLPASSTHROUGHPROC glad_glPassThrough; 2086 #define glPassThrough glad_glPassThrough 2087 typedef void (APIENTRYP PFNGLPOPNAMEPROC)(); 2088 GLAPI PFNGLPOPNAMEPROC glad_glPopName; 2089 #define glPopName glad_glPopName 2090 typedef void (APIENTRYP PFNGLPUSHNAMEPROC)(GLuint name); 2091 GLAPI PFNGLPUSHNAMEPROC glad_glPushName; 2092 #define glPushName glad_glPushName 2093 typedef void (APIENTRYP PFNGLCLEARACCUMPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 2094 GLAPI PFNGLCLEARACCUMPROC glad_glClearAccum; 2095 #define glClearAccum glad_glClearAccum 2096 typedef void (APIENTRYP PFNGLCLEARINDEXPROC)(GLfloat c); 2097 GLAPI PFNGLCLEARINDEXPROC glad_glClearIndex; 2098 #define glClearIndex glad_glClearIndex 2099 typedef void (APIENTRYP PFNGLINDEXMASKPROC)(GLuint mask); 2100 GLAPI PFNGLINDEXMASKPROC glad_glIndexMask; 2101 #define glIndexMask glad_glIndexMask 2102 typedef void (APIENTRYP PFNGLACCUMPROC)(GLenum op, GLfloat value); 2103 GLAPI PFNGLACCUMPROC glad_glAccum; 2104 #define glAccum glad_glAccum 2105 typedef void (APIENTRYP PFNGLPOPATTRIBPROC)(); 2106 GLAPI PFNGLPOPATTRIBPROC glad_glPopAttrib; 2107 #define glPopAttrib glad_glPopAttrib 2108 typedef void (APIENTRYP PFNGLPUSHATTRIBPROC)(GLbitfield mask); 2109 GLAPI PFNGLPUSHATTRIBPROC glad_glPushAttrib; 2110 #define glPushAttrib glad_glPushAttrib 2111 typedef void (APIENTRYP PFNGLMAP1DPROC)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points); 2112 GLAPI PFNGLMAP1DPROC glad_glMap1d; 2113 #define glMap1d glad_glMap1d 2114 typedef void (APIENTRYP PFNGLMAP1FPROC)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points); 2115 GLAPI PFNGLMAP1FPROC glad_glMap1f; 2116 #define glMap1f glad_glMap1f 2117 typedef void (APIENTRYP PFNGLMAP2DPROC)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points); 2118 GLAPI PFNGLMAP2DPROC glad_glMap2d; 2119 #define glMap2d glad_glMap2d 2120 typedef void (APIENTRYP PFNGLMAP2FPROC)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points); 2121 GLAPI PFNGLMAP2FPROC glad_glMap2f; 2122 #define glMap2f glad_glMap2f 2123 typedef void (APIENTRYP PFNGLMAPGRID1DPROC)(GLint un, GLdouble u1, GLdouble u2); 2124 GLAPI PFNGLMAPGRID1DPROC glad_glMapGrid1d; 2125 #define glMapGrid1d glad_glMapGrid1d 2126 typedef void (APIENTRYP PFNGLMAPGRID1FPROC)(GLint un, GLfloat u1, GLfloat u2); 2127 GLAPI PFNGLMAPGRID1FPROC glad_glMapGrid1f; 2128 #define glMapGrid1f glad_glMapGrid1f 2129 typedef void (APIENTRYP PFNGLMAPGRID2DPROC)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); 2130 GLAPI PFNGLMAPGRID2DPROC glad_glMapGrid2d; 2131 #define glMapGrid2d glad_glMapGrid2d 2132 typedef void (APIENTRYP PFNGLMAPGRID2FPROC)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); 2133 GLAPI PFNGLMAPGRID2FPROC glad_glMapGrid2f; 2134 #define glMapGrid2f glad_glMapGrid2f 2135 typedef void (APIENTRYP PFNGLEVALCOORD1DPROC)(GLdouble u); 2136 GLAPI PFNGLEVALCOORD1DPROC glad_glEvalCoord1d; 2137 #define glEvalCoord1d glad_glEvalCoord1d 2138 typedef void (APIENTRYP PFNGLEVALCOORD1DVPROC)(const GLdouble* u); 2139 GLAPI PFNGLEVALCOORD1DVPROC glad_glEvalCoord1dv; 2140 #define glEvalCoord1dv glad_glEvalCoord1dv 2141 typedef void (APIENTRYP PFNGLEVALCOORD1FPROC)(GLfloat u); 2142 GLAPI PFNGLEVALCOORD1FPROC glad_glEvalCoord1f; 2143 #define glEvalCoord1f glad_glEvalCoord1f 2144 typedef void (APIENTRYP PFNGLEVALCOORD1FVPROC)(const GLfloat* u); 2145 GLAPI PFNGLEVALCOORD1FVPROC glad_glEvalCoord1fv; 2146 #define glEvalCoord1fv glad_glEvalCoord1fv 2147 typedef void (APIENTRYP PFNGLEVALCOORD2DPROC)(GLdouble u, GLdouble v); 2148 GLAPI PFNGLEVALCOORD2DPROC glad_glEvalCoord2d; 2149 #define glEvalCoord2d glad_glEvalCoord2d 2150 typedef void (APIENTRYP PFNGLEVALCOORD2DVPROC)(const GLdouble* u); 2151 GLAPI PFNGLEVALCOORD2DVPROC glad_glEvalCoord2dv; 2152 #define glEvalCoord2dv glad_glEvalCoord2dv 2153 typedef void (APIENTRYP PFNGLEVALCOORD2FPROC)(GLfloat u, GLfloat v); 2154 GLAPI PFNGLEVALCOORD2FPROC glad_glEvalCoord2f; 2155 #define glEvalCoord2f glad_glEvalCoord2f 2156 typedef void (APIENTRYP PFNGLEVALCOORD2FVPROC)(const GLfloat* u); 2157 GLAPI PFNGLEVALCOORD2FVPROC glad_glEvalCoord2fv; 2158 #define glEvalCoord2fv glad_glEvalCoord2fv 2159 typedef void (APIENTRYP PFNGLEVALMESH1PROC)(GLenum mode, GLint i1, GLint i2); 2160 GLAPI PFNGLEVALMESH1PROC glad_glEvalMesh1; 2161 #define glEvalMesh1 glad_glEvalMesh1 2162 typedef void (APIENTRYP PFNGLEVALPOINT1PROC)(GLint i); 2163 GLAPI PFNGLEVALPOINT1PROC glad_glEvalPoint1; 2164 #define glEvalPoint1 glad_glEvalPoint1 2165 typedef void (APIENTRYP PFNGLEVALMESH2PROC)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); 2166 GLAPI PFNGLEVALMESH2PROC glad_glEvalMesh2; 2167 #define glEvalMesh2 glad_glEvalMesh2 2168 typedef void (APIENTRYP PFNGLEVALPOINT2PROC)(GLint i, GLint j); 2169 GLAPI PFNGLEVALPOINT2PROC glad_glEvalPoint2; 2170 #define glEvalPoint2 glad_glEvalPoint2 2171 typedef void (APIENTRYP PFNGLALPHAFUNCPROC)(GLenum func, GLfloat ref); 2172 GLAPI PFNGLALPHAFUNCPROC glad_glAlphaFunc; 2173 #define glAlphaFunc glad_glAlphaFunc 2174 typedef void (APIENTRYP PFNGLPIXELZOOMPROC)(GLfloat xfactor, GLfloat yfactor); 2175 GLAPI PFNGLPIXELZOOMPROC glad_glPixelZoom; 2176 #define glPixelZoom glad_glPixelZoom 2177 typedef void (APIENTRYP PFNGLPIXELTRANSFERFPROC)(GLenum pname, GLfloat param); 2178 GLAPI PFNGLPIXELTRANSFERFPROC glad_glPixelTransferf; 2179 #define glPixelTransferf glad_glPixelTransferf 2180 typedef void (APIENTRYP PFNGLPIXELTRANSFERIPROC)(GLenum pname, GLint param); 2181 GLAPI PFNGLPIXELTRANSFERIPROC glad_glPixelTransferi; 2182 #define glPixelTransferi glad_glPixelTransferi 2183 typedef void (APIENTRYP PFNGLPIXELMAPFVPROC)(GLenum map, GLsizei mapsize, const GLfloat* values); 2184 GLAPI PFNGLPIXELMAPFVPROC glad_glPixelMapfv; 2185 #define glPixelMapfv glad_glPixelMapfv 2186 typedef void (APIENTRYP PFNGLPIXELMAPUIVPROC)(GLenum map, GLsizei mapsize, const GLuint* values); 2187 GLAPI PFNGLPIXELMAPUIVPROC glad_glPixelMapuiv; 2188 #define glPixelMapuiv glad_glPixelMapuiv 2189 typedef void (APIENTRYP PFNGLPIXELMAPUSVPROC)(GLenum map, GLsizei mapsize, const GLushort* values); 2190 GLAPI PFNGLPIXELMAPUSVPROC glad_glPixelMapusv; 2191 #define glPixelMapusv glad_glPixelMapusv 2192 typedef void (APIENTRYP PFNGLCOPYPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); 2193 GLAPI PFNGLCOPYPIXELSPROC glad_glCopyPixels; 2194 #define glCopyPixels glad_glCopyPixels 2195 typedef void (APIENTRYP PFNGLDRAWPIXELSPROC)(GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels); 2196 GLAPI PFNGLDRAWPIXELSPROC glad_glDrawPixels; 2197 #define glDrawPixels glad_glDrawPixels 2198 typedef void (APIENTRYP PFNGLGETCLIPPLANEPROC)(GLenum plane, GLdouble* equation); 2199 GLAPI PFNGLGETCLIPPLANEPROC glad_glGetClipPlane; 2200 #define glGetClipPlane glad_glGetClipPlane 2201 typedef void (APIENTRYP PFNGLGETLIGHTFVPROC)(GLenum light, GLenum pname, GLfloat* params); 2202 GLAPI PFNGLGETLIGHTFVPROC glad_glGetLightfv; 2203 #define glGetLightfv glad_glGetLightfv 2204 typedef void (APIENTRYP PFNGLGETLIGHTIVPROC)(GLenum light, GLenum pname, GLint* params); 2205 GLAPI PFNGLGETLIGHTIVPROC glad_glGetLightiv; 2206 #define glGetLightiv glad_glGetLightiv 2207 typedef void (APIENTRYP PFNGLGETMAPDVPROC)(GLenum target, GLenum query, GLdouble* v); 2208 GLAPI PFNGLGETMAPDVPROC glad_glGetMapdv; 2209 #define glGetMapdv glad_glGetMapdv 2210 typedef void (APIENTRYP PFNGLGETMAPFVPROC)(GLenum target, GLenum query, GLfloat* v); 2211 GLAPI PFNGLGETMAPFVPROC glad_glGetMapfv; 2212 #define glGetMapfv glad_glGetMapfv 2213 typedef void (APIENTRYP PFNGLGETMAPIVPROC)(GLenum target, GLenum query, GLint* v); 2214 GLAPI PFNGLGETMAPIVPROC glad_glGetMapiv; 2215 #define glGetMapiv glad_glGetMapiv 2216 typedef void (APIENTRYP PFNGLGETMATERIALFVPROC)(GLenum face, GLenum pname, GLfloat* params); 2217 GLAPI PFNGLGETMATERIALFVPROC glad_glGetMaterialfv; 2218 #define glGetMaterialfv glad_glGetMaterialfv 2219 typedef void (APIENTRYP PFNGLGETMATERIALIVPROC)(GLenum face, GLenum pname, GLint* params); 2220 GLAPI PFNGLGETMATERIALIVPROC glad_glGetMaterialiv; 2221 #define glGetMaterialiv glad_glGetMaterialiv 2222 typedef void (APIENTRYP PFNGLGETPIXELMAPFVPROC)(GLenum map, GLfloat* values); 2223 GLAPI PFNGLGETPIXELMAPFVPROC glad_glGetPixelMapfv; 2224 #define glGetPixelMapfv glad_glGetPixelMapfv 2225 typedef void (APIENTRYP PFNGLGETPIXELMAPUIVPROC)(GLenum map, GLuint* values); 2226 GLAPI PFNGLGETPIXELMAPUIVPROC glad_glGetPixelMapuiv; 2227 #define glGetPixelMapuiv glad_glGetPixelMapuiv 2228 typedef void (APIENTRYP PFNGLGETPIXELMAPUSVPROC)(GLenum map, GLushort* values); 2229 GLAPI PFNGLGETPIXELMAPUSVPROC glad_glGetPixelMapusv; 2230 #define glGetPixelMapusv glad_glGetPixelMapusv 2231 typedef void (APIENTRYP PFNGLGETPOLYGONSTIPPLEPROC)(GLubyte* mask); 2232 GLAPI PFNGLGETPOLYGONSTIPPLEPROC glad_glGetPolygonStipple; 2233 #define glGetPolygonStipple glad_glGetPolygonStipple 2234 typedef void (APIENTRYP PFNGLGETTEXENVFVPROC)(GLenum target, GLenum pname, GLfloat* params); 2235 GLAPI PFNGLGETTEXENVFVPROC glad_glGetTexEnvfv; 2236 #define glGetTexEnvfv glad_glGetTexEnvfv 2237 typedef void (APIENTRYP PFNGLGETTEXENVIVPROC)(GLenum target, GLenum pname, GLint* params); 2238 GLAPI PFNGLGETTEXENVIVPROC glad_glGetTexEnviv; 2239 #define glGetTexEnviv glad_glGetTexEnviv 2240 typedef void (APIENTRYP PFNGLGETTEXGENDVPROC)(GLenum coord, GLenum pname, GLdouble* params); 2241 GLAPI PFNGLGETTEXGENDVPROC glad_glGetTexGendv; 2242 #define glGetTexGendv glad_glGetTexGendv 2243 typedef void (APIENTRYP PFNGLGETTEXGENFVPROC)(GLenum coord, GLenum pname, GLfloat* params); 2244 GLAPI PFNGLGETTEXGENFVPROC glad_glGetTexGenfv; 2245 #define glGetTexGenfv glad_glGetTexGenfv 2246 typedef void (APIENTRYP PFNGLGETTEXGENIVPROC)(GLenum coord, GLenum pname, GLint* params); 2247 GLAPI PFNGLGETTEXGENIVPROC glad_glGetTexGeniv; 2248 #define glGetTexGeniv glad_glGetTexGeniv 2249 typedef GLboolean (APIENTRYP PFNGLISLISTPROC)(GLuint list); 2250 GLAPI PFNGLISLISTPROC glad_glIsList; 2251 #define glIsList glad_glIsList 2252 typedef void (APIENTRYP PFNGLFRUSTUMPROC)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 2253 GLAPI PFNGLFRUSTUMPROC glad_glFrustum; 2254 #define glFrustum glad_glFrustum 2255 typedef void (APIENTRYP PFNGLLOADIDENTITYPROC)(); 2256 GLAPI PFNGLLOADIDENTITYPROC glad_glLoadIdentity; 2257 #define glLoadIdentity glad_glLoadIdentity 2258 typedef void (APIENTRYP PFNGLLOADMATRIXFPROC)(const GLfloat* m); 2259 GLAPI PFNGLLOADMATRIXFPROC glad_glLoadMatrixf; 2260 #define glLoadMatrixf glad_glLoadMatrixf 2261 typedef void (APIENTRYP PFNGLLOADMATRIXDPROC)(const GLdouble* m); 2262 GLAPI PFNGLLOADMATRIXDPROC glad_glLoadMatrixd; 2263 #define glLoadMatrixd glad_glLoadMatrixd 2264 typedef void (APIENTRYP PFNGLMATRIXMODEPROC)(GLenum mode); 2265 GLAPI PFNGLMATRIXMODEPROC glad_glMatrixMode; 2266 #define glMatrixMode glad_glMatrixMode 2267 typedef void (APIENTRYP PFNGLMULTMATRIXFPROC)(const GLfloat* m); 2268 GLAPI PFNGLMULTMATRIXFPROC glad_glMultMatrixf; 2269 #define glMultMatrixf glad_glMultMatrixf 2270 typedef void (APIENTRYP PFNGLMULTMATRIXDPROC)(const GLdouble* m); 2271 GLAPI PFNGLMULTMATRIXDPROC glad_glMultMatrixd; 2272 #define glMultMatrixd glad_glMultMatrixd 2273 typedef void (APIENTRYP PFNGLORTHOPROC)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 2274 GLAPI PFNGLORTHOPROC glad_glOrtho; 2275 #define glOrtho glad_glOrtho 2276 typedef void (APIENTRYP PFNGLPOPMATRIXPROC)(); 2277 GLAPI PFNGLPOPMATRIXPROC glad_glPopMatrix; 2278 #define glPopMatrix glad_glPopMatrix 2279 typedef void (APIENTRYP PFNGLPUSHMATRIXPROC)(); 2280 GLAPI PFNGLPUSHMATRIXPROC glad_glPushMatrix; 2281 #define glPushMatrix glad_glPushMatrix 2282 typedef void (APIENTRYP PFNGLROTATEDPROC)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 2283 GLAPI PFNGLROTATEDPROC glad_glRotated; 2284 #define glRotated glad_glRotated 2285 typedef void (APIENTRYP PFNGLROTATEFPROC)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 2286 GLAPI PFNGLROTATEFPROC glad_glRotatef; 2287 #define glRotatef glad_glRotatef 2288 typedef void (APIENTRYP PFNGLSCALEDPROC)(GLdouble x, GLdouble y, GLdouble z); 2289 GLAPI PFNGLSCALEDPROC glad_glScaled; 2290 #define glScaled glad_glScaled 2291 typedef void (APIENTRYP PFNGLSCALEFPROC)(GLfloat x, GLfloat y, GLfloat z); 2292 GLAPI PFNGLSCALEFPROC glad_glScalef; 2293 #define glScalef glad_glScalef 2294 typedef void (APIENTRYP PFNGLTRANSLATEDPROC)(GLdouble x, GLdouble y, GLdouble z); 2295 GLAPI PFNGLTRANSLATEDPROC glad_glTranslated; 2296 #define glTranslated glad_glTranslated 2297 typedef void (APIENTRYP PFNGLTRANSLATEFPROC)(GLfloat x, GLfloat y, GLfloat z); 2298 GLAPI PFNGLTRANSLATEFPROC glad_glTranslatef; 2299 #define glTranslatef glad_glTranslatef 2300 #endif 2301 #ifndef GL_VERSION_1_1 2302 #define GL_VERSION_1_1 1 2303 GLAPI int GLAD_GL_VERSION_1_1; 2304 typedef void (APIENTRYP PFNGLDRAWARRAYSPROC)(GLenum mode, GLint first, GLsizei count); 2305 GLAPI PFNGLDRAWARRAYSPROC glad_glDrawArrays; 2306 #define glDrawArrays glad_glDrawArrays 2307 typedef void (APIENTRYP PFNGLDRAWELEMENTSPROC)(GLenum mode, GLsizei count, GLenum type, const void* indices); 2308 GLAPI PFNGLDRAWELEMENTSPROC glad_glDrawElements; 2309 #define glDrawElements glad_glDrawElements 2310 typedef void (APIENTRYP PFNGLGETPOINTERVPROC)(GLenum pname, void** params); 2311 GLAPI PFNGLGETPOINTERVPROC glad_glGetPointerv; 2312 #define glGetPointerv glad_glGetPointerv 2313 typedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC)(GLfloat factor, GLfloat units); 2314 GLAPI PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset; 2315 #define glPolygonOffset glad_glPolygonOffset 2316 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 2317 GLAPI PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D; 2318 #define glCopyTexImage1D glad_glCopyTexImage1D 2319 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 2320 GLAPI PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D; 2321 #define glCopyTexImage2D glad_glCopyTexImage2D 2322 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 2323 GLAPI PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D; 2324 #define glCopyTexSubImage1D glad_glCopyTexSubImage1D 2325 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2326 GLAPI PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D; 2327 #define glCopyTexSubImage2D glad_glCopyTexSubImage2D 2328 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels); 2329 GLAPI PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D; 2330 #define glTexSubImage1D glad_glTexSubImage1D 2331 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels); 2332 GLAPI PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D; 2333 #define glTexSubImage2D glad_glTexSubImage2D 2334 typedef void (APIENTRYP PFNGLBINDTEXTUREPROC)(GLenum target, GLuint texture); 2335 GLAPI PFNGLBINDTEXTUREPROC glad_glBindTexture; 2336 #define glBindTexture glad_glBindTexture 2337 typedef void (APIENTRYP PFNGLDELETETEXTURESPROC)(GLsizei n, const GLuint* textures); 2338 GLAPI PFNGLDELETETEXTURESPROC glad_glDeleteTextures; 2339 #define glDeleteTextures glad_glDeleteTextures 2340 typedef void (APIENTRYP PFNGLGENTEXTURESPROC)(GLsizei n, GLuint* textures); 2341 GLAPI PFNGLGENTEXTURESPROC glad_glGenTextures; 2342 #define glGenTextures glad_glGenTextures 2343 typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC)(GLuint texture); 2344 GLAPI PFNGLISTEXTUREPROC glad_glIsTexture; 2345 #define glIsTexture glad_glIsTexture 2346 typedef void (APIENTRYP PFNGLARRAYELEMENTPROC)(GLint i); 2347 GLAPI PFNGLARRAYELEMENTPROC glad_glArrayElement; 2348 #define glArrayElement glad_glArrayElement 2349 typedef void (APIENTRYP PFNGLCOLORPOINTERPROC)(GLint size, GLenum type, GLsizei stride, const void* pointer); 2350 GLAPI PFNGLCOLORPOINTERPROC glad_glColorPointer; 2351 #define glColorPointer glad_glColorPointer 2352 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEPROC)(GLenum array); 2353 GLAPI PFNGLDISABLECLIENTSTATEPROC glad_glDisableClientState; 2354 #define glDisableClientState glad_glDisableClientState 2355 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERPROC)(GLsizei stride, const void* pointer); 2356 GLAPI PFNGLEDGEFLAGPOINTERPROC glad_glEdgeFlagPointer; 2357 #define glEdgeFlagPointer glad_glEdgeFlagPointer 2358 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEPROC)(GLenum array); 2359 GLAPI PFNGLENABLECLIENTSTATEPROC glad_glEnableClientState; 2360 #define glEnableClientState glad_glEnableClientState 2361 typedef void (APIENTRYP PFNGLINDEXPOINTERPROC)(GLenum type, GLsizei stride, const void* pointer); 2362 GLAPI PFNGLINDEXPOINTERPROC glad_glIndexPointer; 2363 #define glIndexPointer glad_glIndexPointer 2364 typedef void (APIENTRYP PFNGLINTERLEAVEDARRAYSPROC)(GLenum format, GLsizei stride, const void* pointer); 2365 GLAPI PFNGLINTERLEAVEDARRAYSPROC glad_glInterleavedArrays; 2366 #define glInterleavedArrays glad_glInterleavedArrays 2367 typedef void (APIENTRYP PFNGLNORMALPOINTERPROC)(GLenum type, GLsizei stride, const void* pointer); 2368 GLAPI PFNGLNORMALPOINTERPROC glad_glNormalPointer; 2369 #define glNormalPointer glad_glNormalPointer 2370 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERPROC)(GLint size, GLenum type, GLsizei stride, const void* pointer); 2371 GLAPI PFNGLTEXCOORDPOINTERPROC glad_glTexCoordPointer; 2372 #define glTexCoordPointer glad_glTexCoordPointer 2373 typedef void (APIENTRYP PFNGLVERTEXPOINTERPROC)(GLint size, GLenum type, GLsizei stride, const void* pointer); 2374 GLAPI PFNGLVERTEXPOINTERPROC glad_glVertexPointer; 2375 #define glVertexPointer glad_glVertexPointer 2376 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTPROC)(GLsizei n, const GLuint* textures, GLboolean* residences); 2377 GLAPI PFNGLARETEXTURESRESIDENTPROC glad_glAreTexturesResident; 2378 #define glAreTexturesResident glad_glAreTexturesResident 2379 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESPROC)(GLsizei n, const GLuint* textures, const GLfloat* priorities); 2380 GLAPI PFNGLPRIORITIZETEXTURESPROC glad_glPrioritizeTextures; 2381 #define glPrioritizeTextures glad_glPrioritizeTextures 2382 typedef void (APIENTRYP PFNGLINDEXUBPROC)(GLubyte c); 2383 GLAPI PFNGLINDEXUBPROC glad_glIndexub; 2384 #define glIndexub glad_glIndexub 2385 typedef void (APIENTRYP PFNGLINDEXUBVPROC)(const GLubyte* c); 2386 GLAPI PFNGLINDEXUBVPROC glad_glIndexubv; 2387 #define glIndexubv glad_glIndexubv 2388 typedef void (APIENTRYP PFNGLPOPCLIENTATTRIBPROC)(); 2389 GLAPI PFNGLPOPCLIENTATTRIBPROC glad_glPopClientAttrib; 2390 #define glPopClientAttrib glad_glPopClientAttrib 2391 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBPROC)(GLbitfield mask); 2392 GLAPI PFNGLPUSHCLIENTATTRIBPROC glad_glPushClientAttrib; 2393 #define glPushClientAttrib glad_glPushClientAttrib 2394 #endif 2395 #ifndef GL_VERSION_1_2 2396 #define GL_VERSION_1_2 1 2397 GLAPI int GLAD_GL_VERSION_1_2; 2398 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void* indices); 2399 GLAPI PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements; 2400 #define glDrawRangeElements glad_glDrawRangeElements 2401 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); 2402 GLAPI PFNGLTEXIMAGE3DPROC glad_glTexImage3D; 2403 #define glTexImage3D glad_glTexImage3D 2404 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); 2405 GLAPI PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D; 2406 #define glTexSubImage3D glad_glTexSubImage3D 2407 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2408 GLAPI PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D; 2409 #define glCopyTexSubImage3D glad_glCopyTexSubImage3D 2410 #endif 2411 #ifndef GL_VERSION_1_3 2412 #define GL_VERSION_1_3 1 2413 GLAPI int GLAD_GL_VERSION_1_3; 2414 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture); 2415 GLAPI PFNGLACTIVETEXTUREPROC glad_glActiveTexture; 2416 #define glActiveTexture glad_glActiveTexture 2417 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC)(GLfloat value, GLboolean invert); 2418 GLAPI PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage; 2419 #define glSampleCoverage glad_glSampleCoverage 2420 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data); 2421 GLAPI PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D; 2422 #define glCompressedTexImage3D glad_glCompressedTexImage3D 2423 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); 2424 GLAPI PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D; 2425 #define glCompressedTexImage2D glad_glCompressedTexImage2D 2426 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data); 2427 GLAPI PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D; 2428 #define glCompressedTexImage1D glad_glCompressedTexImage1D 2429 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); 2430 GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D; 2431 #define glCompressedTexSubImage3D glad_glCompressedTexSubImage3D 2432 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); 2433 GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D; 2434 #define glCompressedTexSubImage2D glad_glCompressedTexSubImage2D 2435 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data); 2436 GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D; 2437 #define glCompressedTexSubImage1D glad_glCompressedTexSubImage1D 2438 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC)(GLenum target, GLint level, void* img); 2439 GLAPI PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage; 2440 #define glGetCompressedTexImage glad_glGetCompressedTexImage 2441 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC)(GLenum texture); 2442 GLAPI PFNGLCLIENTACTIVETEXTUREPROC glad_glClientActiveTexture; 2443 #define glClientActiveTexture glad_glClientActiveTexture 2444 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC)(GLenum target, GLdouble s); 2445 GLAPI PFNGLMULTITEXCOORD1DPROC glad_glMultiTexCoord1d; 2446 #define glMultiTexCoord1d glad_glMultiTexCoord1d 2447 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC)(GLenum target, const GLdouble* v); 2448 GLAPI PFNGLMULTITEXCOORD1DVPROC glad_glMultiTexCoord1dv; 2449 #define glMultiTexCoord1dv glad_glMultiTexCoord1dv 2450 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC)(GLenum target, GLfloat s); 2451 GLAPI PFNGLMULTITEXCOORD1FPROC glad_glMultiTexCoord1f; 2452 #define glMultiTexCoord1f glad_glMultiTexCoord1f 2453 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC)(GLenum target, const GLfloat* v); 2454 GLAPI PFNGLMULTITEXCOORD1FVPROC glad_glMultiTexCoord1fv; 2455 #define glMultiTexCoord1fv glad_glMultiTexCoord1fv 2456 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC)(GLenum target, GLint s); 2457 GLAPI PFNGLMULTITEXCOORD1IPROC glad_glMultiTexCoord1i; 2458 #define glMultiTexCoord1i glad_glMultiTexCoord1i 2459 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC)(GLenum target, const GLint* v); 2460 GLAPI PFNGLMULTITEXCOORD1IVPROC glad_glMultiTexCoord1iv; 2461 #define glMultiTexCoord1iv glad_glMultiTexCoord1iv 2462 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC)(GLenum target, GLshort s); 2463 GLAPI PFNGLMULTITEXCOORD1SPROC glad_glMultiTexCoord1s; 2464 #define glMultiTexCoord1s glad_glMultiTexCoord1s 2465 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC)(GLenum target, const GLshort* v); 2466 GLAPI PFNGLMULTITEXCOORD1SVPROC glad_glMultiTexCoord1sv; 2467 #define glMultiTexCoord1sv glad_glMultiTexCoord1sv 2468 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC)(GLenum target, GLdouble s, GLdouble t); 2469 GLAPI PFNGLMULTITEXCOORD2DPROC glad_glMultiTexCoord2d; 2470 #define glMultiTexCoord2d glad_glMultiTexCoord2d 2471 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC)(GLenum target, const GLdouble* v); 2472 GLAPI PFNGLMULTITEXCOORD2DVPROC glad_glMultiTexCoord2dv; 2473 #define glMultiTexCoord2dv glad_glMultiTexCoord2dv 2474 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC)(GLenum target, GLfloat s, GLfloat t); 2475 GLAPI PFNGLMULTITEXCOORD2FPROC glad_glMultiTexCoord2f; 2476 #define glMultiTexCoord2f glad_glMultiTexCoord2f 2477 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC)(GLenum target, const GLfloat* v); 2478 GLAPI PFNGLMULTITEXCOORD2FVPROC glad_glMultiTexCoord2fv; 2479 #define glMultiTexCoord2fv glad_glMultiTexCoord2fv 2480 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC)(GLenum target, GLint s, GLint t); 2481 GLAPI PFNGLMULTITEXCOORD2IPROC glad_glMultiTexCoord2i; 2482 #define glMultiTexCoord2i glad_glMultiTexCoord2i 2483 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC)(GLenum target, const GLint* v); 2484 GLAPI PFNGLMULTITEXCOORD2IVPROC glad_glMultiTexCoord2iv; 2485 #define glMultiTexCoord2iv glad_glMultiTexCoord2iv 2486 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC)(GLenum target, GLshort s, GLshort t); 2487 GLAPI PFNGLMULTITEXCOORD2SPROC glad_glMultiTexCoord2s; 2488 #define glMultiTexCoord2s glad_glMultiTexCoord2s 2489 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC)(GLenum target, const GLshort* v); 2490 GLAPI PFNGLMULTITEXCOORD2SVPROC glad_glMultiTexCoord2sv; 2491 #define glMultiTexCoord2sv glad_glMultiTexCoord2sv 2492 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC)(GLenum target, GLdouble s, GLdouble t, GLdouble r); 2493 GLAPI PFNGLMULTITEXCOORD3DPROC glad_glMultiTexCoord3d; 2494 #define glMultiTexCoord3d glad_glMultiTexCoord3d 2495 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC)(GLenum target, const GLdouble* v); 2496 GLAPI PFNGLMULTITEXCOORD3DVPROC glad_glMultiTexCoord3dv; 2497 #define glMultiTexCoord3dv glad_glMultiTexCoord3dv 2498 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC)(GLenum target, GLfloat s, GLfloat t, GLfloat r); 2499 GLAPI PFNGLMULTITEXCOORD3FPROC glad_glMultiTexCoord3f; 2500 #define glMultiTexCoord3f glad_glMultiTexCoord3f 2501 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC)(GLenum target, const GLfloat* v); 2502 GLAPI PFNGLMULTITEXCOORD3FVPROC glad_glMultiTexCoord3fv; 2503 #define glMultiTexCoord3fv glad_glMultiTexCoord3fv 2504 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC)(GLenum target, GLint s, GLint t, GLint r); 2505 GLAPI PFNGLMULTITEXCOORD3IPROC glad_glMultiTexCoord3i; 2506 #define glMultiTexCoord3i glad_glMultiTexCoord3i 2507 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC)(GLenum target, const GLint* v); 2508 GLAPI PFNGLMULTITEXCOORD3IVPROC glad_glMultiTexCoord3iv; 2509 #define glMultiTexCoord3iv glad_glMultiTexCoord3iv 2510 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC)(GLenum target, GLshort s, GLshort t, GLshort r); 2511 GLAPI PFNGLMULTITEXCOORD3SPROC glad_glMultiTexCoord3s; 2512 #define glMultiTexCoord3s glad_glMultiTexCoord3s 2513 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC)(GLenum target, const GLshort* v); 2514 GLAPI PFNGLMULTITEXCOORD3SVPROC glad_glMultiTexCoord3sv; 2515 #define glMultiTexCoord3sv glad_glMultiTexCoord3sv 2516 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2517 GLAPI PFNGLMULTITEXCOORD4DPROC glad_glMultiTexCoord4d; 2518 #define glMultiTexCoord4d glad_glMultiTexCoord4d 2519 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC)(GLenum target, const GLdouble* v); 2520 GLAPI PFNGLMULTITEXCOORD4DVPROC glad_glMultiTexCoord4dv; 2521 #define glMultiTexCoord4dv glad_glMultiTexCoord4dv 2522 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2523 GLAPI PFNGLMULTITEXCOORD4FPROC glad_glMultiTexCoord4f; 2524 #define glMultiTexCoord4f glad_glMultiTexCoord4f 2525 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC)(GLenum target, const GLfloat* v); 2526 GLAPI PFNGLMULTITEXCOORD4FVPROC glad_glMultiTexCoord4fv; 2527 #define glMultiTexCoord4fv glad_glMultiTexCoord4fv 2528 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC)(GLenum target, GLint s, GLint t, GLint r, GLint q); 2529 GLAPI PFNGLMULTITEXCOORD4IPROC glad_glMultiTexCoord4i; 2530 #define glMultiTexCoord4i glad_glMultiTexCoord4i 2531 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC)(GLenum target, const GLint* v); 2532 GLAPI PFNGLMULTITEXCOORD4IVPROC glad_glMultiTexCoord4iv; 2533 #define glMultiTexCoord4iv glad_glMultiTexCoord4iv 2534 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 2535 GLAPI PFNGLMULTITEXCOORD4SPROC glad_glMultiTexCoord4s; 2536 #define glMultiTexCoord4s glad_glMultiTexCoord4s 2537 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC)(GLenum target, const GLshort* v); 2538 GLAPI PFNGLMULTITEXCOORD4SVPROC glad_glMultiTexCoord4sv; 2539 #define glMultiTexCoord4sv glad_glMultiTexCoord4sv 2540 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC)(const GLfloat* m); 2541 GLAPI PFNGLLOADTRANSPOSEMATRIXFPROC glad_glLoadTransposeMatrixf; 2542 #define glLoadTransposeMatrixf glad_glLoadTransposeMatrixf 2543 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC)(const GLdouble* m); 2544 GLAPI PFNGLLOADTRANSPOSEMATRIXDPROC glad_glLoadTransposeMatrixd; 2545 #define glLoadTransposeMatrixd glad_glLoadTransposeMatrixd 2546 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC)(const GLfloat* m); 2547 GLAPI PFNGLMULTTRANSPOSEMATRIXFPROC glad_glMultTransposeMatrixf; 2548 #define glMultTransposeMatrixf glad_glMultTransposeMatrixf 2549 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC)(const GLdouble* m); 2550 GLAPI PFNGLMULTTRANSPOSEMATRIXDPROC glad_glMultTransposeMatrixd; 2551 #define glMultTransposeMatrixd glad_glMultTransposeMatrixd 2552 #endif 2553 #ifndef GL_VERSION_1_4 2554 #define GL_VERSION_1_4 1 2555 GLAPI int GLAD_GL_VERSION_1_4; 2556 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 2557 GLAPI PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate; 2558 #define glBlendFuncSeparate glad_glBlendFuncSeparate 2559 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC)(GLenum mode, const GLint* first, const GLsizei* count, GLsizei drawcount); 2560 GLAPI PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays; 2561 #define glMultiDrawArrays glad_glMultiDrawArrays 2562 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC)(GLenum mode, const GLsizei* count, GLenum type, const void** indices, GLsizei drawcount); 2563 GLAPI PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements; 2564 #define glMultiDrawElements glad_glMultiDrawElements 2565 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC)(GLenum pname, GLfloat param); 2566 GLAPI PFNGLPOINTPARAMETERFPROC glad_glPointParameterf; 2567 #define glPointParameterf glad_glPointParameterf 2568 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC)(GLenum pname, const GLfloat* params); 2569 GLAPI PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv; 2570 #define glPointParameterfv glad_glPointParameterfv 2571 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC)(GLenum pname, GLint param); 2572 GLAPI PFNGLPOINTPARAMETERIPROC glad_glPointParameteri; 2573 #define glPointParameteri glad_glPointParameteri 2574 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC)(GLenum pname, const GLint* params); 2575 GLAPI PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv; 2576 #define glPointParameteriv glad_glPointParameteriv 2577 typedef void (APIENTRYP PFNGLFOGCOORDFPROC)(GLfloat coord); 2578 GLAPI PFNGLFOGCOORDFPROC glad_glFogCoordf; 2579 #define glFogCoordf glad_glFogCoordf 2580 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC)(const GLfloat* coord); 2581 GLAPI PFNGLFOGCOORDFVPROC glad_glFogCoordfv; 2582 #define glFogCoordfv glad_glFogCoordfv 2583 typedef void (APIENTRYP PFNGLFOGCOORDDPROC)(GLdouble coord); 2584 GLAPI PFNGLFOGCOORDDPROC glad_glFogCoordd; 2585 #define glFogCoordd glad_glFogCoordd 2586 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC)(const GLdouble* coord); 2587 GLAPI PFNGLFOGCOORDDVPROC glad_glFogCoorddv; 2588 #define glFogCoorddv glad_glFogCoorddv 2589 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC)(GLenum type, GLsizei stride, const void* pointer); 2590 GLAPI PFNGLFOGCOORDPOINTERPROC glad_glFogCoordPointer; 2591 #define glFogCoordPointer glad_glFogCoordPointer 2592 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC)(GLbyte red, GLbyte green, GLbyte blue); 2593 GLAPI PFNGLSECONDARYCOLOR3BPROC glad_glSecondaryColor3b; 2594 #define glSecondaryColor3b glad_glSecondaryColor3b 2595 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC)(const GLbyte* v); 2596 GLAPI PFNGLSECONDARYCOLOR3BVPROC glad_glSecondaryColor3bv; 2597 #define glSecondaryColor3bv glad_glSecondaryColor3bv 2598 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC)(GLdouble red, GLdouble green, GLdouble blue); 2599 GLAPI PFNGLSECONDARYCOLOR3DPROC glad_glSecondaryColor3d; 2600 #define glSecondaryColor3d glad_glSecondaryColor3d 2601 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC)(const GLdouble* v); 2602 GLAPI PFNGLSECONDARYCOLOR3DVPROC glad_glSecondaryColor3dv; 2603 #define glSecondaryColor3dv glad_glSecondaryColor3dv 2604 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC)(GLfloat red, GLfloat green, GLfloat blue); 2605 GLAPI PFNGLSECONDARYCOLOR3FPROC glad_glSecondaryColor3f; 2606 #define glSecondaryColor3f glad_glSecondaryColor3f 2607 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC)(const GLfloat* v); 2608 GLAPI PFNGLSECONDARYCOLOR3FVPROC glad_glSecondaryColor3fv; 2609 #define glSecondaryColor3fv glad_glSecondaryColor3fv 2610 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC)(GLint red, GLint green, GLint blue); 2611 GLAPI PFNGLSECONDARYCOLOR3IPROC glad_glSecondaryColor3i; 2612 #define glSecondaryColor3i glad_glSecondaryColor3i 2613 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC)(const GLint* v); 2614 GLAPI PFNGLSECONDARYCOLOR3IVPROC glad_glSecondaryColor3iv; 2615 #define glSecondaryColor3iv glad_glSecondaryColor3iv 2616 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC)(GLshort red, GLshort green, GLshort blue); 2617 GLAPI PFNGLSECONDARYCOLOR3SPROC glad_glSecondaryColor3s; 2618 #define glSecondaryColor3s glad_glSecondaryColor3s 2619 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC)(const GLshort* v); 2620 GLAPI PFNGLSECONDARYCOLOR3SVPROC glad_glSecondaryColor3sv; 2621 #define glSecondaryColor3sv glad_glSecondaryColor3sv 2622 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC)(GLubyte red, GLubyte green, GLubyte blue); 2623 GLAPI PFNGLSECONDARYCOLOR3UBPROC glad_glSecondaryColor3ub; 2624 #define glSecondaryColor3ub glad_glSecondaryColor3ub 2625 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC)(const GLubyte* v); 2626 GLAPI PFNGLSECONDARYCOLOR3UBVPROC glad_glSecondaryColor3ubv; 2627 #define glSecondaryColor3ubv glad_glSecondaryColor3ubv 2628 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC)(GLuint red, GLuint green, GLuint blue); 2629 GLAPI PFNGLSECONDARYCOLOR3UIPROC glad_glSecondaryColor3ui; 2630 #define glSecondaryColor3ui glad_glSecondaryColor3ui 2631 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC)(const GLuint* v); 2632 GLAPI PFNGLSECONDARYCOLOR3UIVPROC glad_glSecondaryColor3uiv; 2633 #define glSecondaryColor3uiv glad_glSecondaryColor3uiv 2634 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC)(GLushort red, GLushort green, GLushort blue); 2635 GLAPI PFNGLSECONDARYCOLOR3USPROC glad_glSecondaryColor3us; 2636 #define glSecondaryColor3us glad_glSecondaryColor3us 2637 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC)(const GLushort* v); 2638 GLAPI PFNGLSECONDARYCOLOR3USVPROC glad_glSecondaryColor3usv; 2639 #define glSecondaryColor3usv glad_glSecondaryColor3usv 2640 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC)(GLint size, GLenum type, GLsizei stride, const void* pointer); 2641 GLAPI PFNGLSECONDARYCOLORPOINTERPROC glad_glSecondaryColorPointer; 2642 #define glSecondaryColorPointer glad_glSecondaryColorPointer 2643 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC)(GLdouble x, GLdouble y); 2644 GLAPI PFNGLWINDOWPOS2DPROC glad_glWindowPos2d; 2645 #define glWindowPos2d glad_glWindowPos2d 2646 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC)(const GLdouble* v); 2647 GLAPI PFNGLWINDOWPOS2DVPROC glad_glWindowPos2dv; 2648 #define glWindowPos2dv glad_glWindowPos2dv 2649 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC)(GLfloat x, GLfloat y); 2650 GLAPI PFNGLWINDOWPOS2FPROC glad_glWindowPos2f; 2651 #define glWindowPos2f glad_glWindowPos2f 2652 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC)(const GLfloat* v); 2653 GLAPI PFNGLWINDOWPOS2FVPROC glad_glWindowPos2fv; 2654 #define glWindowPos2fv glad_glWindowPos2fv 2655 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC)(GLint x, GLint y); 2656 GLAPI PFNGLWINDOWPOS2IPROC glad_glWindowPos2i; 2657 #define glWindowPos2i glad_glWindowPos2i 2658 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC)(const GLint* v); 2659 GLAPI PFNGLWINDOWPOS2IVPROC glad_glWindowPos2iv; 2660 #define glWindowPos2iv glad_glWindowPos2iv 2661 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC)(GLshort x, GLshort y); 2662 GLAPI PFNGLWINDOWPOS2SPROC glad_glWindowPos2s; 2663 #define glWindowPos2s glad_glWindowPos2s 2664 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC)(const GLshort* v); 2665 GLAPI PFNGLWINDOWPOS2SVPROC glad_glWindowPos2sv; 2666 #define glWindowPos2sv glad_glWindowPos2sv 2667 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC)(GLdouble x, GLdouble y, GLdouble z); 2668 GLAPI PFNGLWINDOWPOS3DPROC glad_glWindowPos3d; 2669 #define glWindowPos3d glad_glWindowPos3d 2670 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC)(const GLdouble* v); 2671 GLAPI PFNGLWINDOWPOS3DVPROC glad_glWindowPos3dv; 2672 #define glWindowPos3dv glad_glWindowPos3dv 2673 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC)(GLfloat x, GLfloat y, GLfloat z); 2674 GLAPI PFNGLWINDOWPOS3FPROC glad_glWindowPos3f; 2675 #define glWindowPos3f glad_glWindowPos3f 2676 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC)(const GLfloat* v); 2677 GLAPI PFNGLWINDOWPOS3FVPROC glad_glWindowPos3fv; 2678 #define glWindowPos3fv glad_glWindowPos3fv 2679 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC)(GLint x, GLint y, GLint z); 2680 GLAPI PFNGLWINDOWPOS3IPROC glad_glWindowPos3i; 2681 #define glWindowPos3i glad_glWindowPos3i 2682 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC)(const GLint* v); 2683 GLAPI PFNGLWINDOWPOS3IVPROC glad_glWindowPos3iv; 2684 #define glWindowPos3iv glad_glWindowPos3iv 2685 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC)(GLshort x, GLshort y, GLshort z); 2686 GLAPI PFNGLWINDOWPOS3SPROC glad_glWindowPos3s; 2687 #define glWindowPos3s glad_glWindowPos3s 2688 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC)(const GLshort* v); 2689 GLAPI PFNGLWINDOWPOS3SVPROC glad_glWindowPos3sv; 2690 #define glWindowPos3sv glad_glWindowPos3sv 2691 typedef void (APIENTRYP PFNGLBLENDCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 2692 GLAPI PFNGLBLENDCOLORPROC glad_glBlendColor; 2693 #define glBlendColor glad_glBlendColor 2694 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC)(GLenum mode); 2695 GLAPI PFNGLBLENDEQUATIONPROC glad_glBlendEquation; 2696 #define glBlendEquation glad_glBlendEquation 2697 #endif 2698 #ifndef GL_VERSION_1_5 2699 #define GL_VERSION_1_5 1 2700 GLAPI int GLAD_GL_VERSION_1_5; 2701 typedef void (APIENTRYP PFNGLGENQUERIESPROC)(GLsizei n, GLuint* ids); 2702 GLAPI PFNGLGENQUERIESPROC glad_glGenQueries; 2703 #define glGenQueries glad_glGenQueries 2704 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC)(GLsizei n, const GLuint* ids); 2705 GLAPI PFNGLDELETEQUERIESPROC glad_glDeleteQueries; 2706 #define glDeleteQueries glad_glDeleteQueries 2707 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC)(GLuint id); 2708 GLAPI PFNGLISQUERYPROC glad_glIsQuery; 2709 #define glIsQuery glad_glIsQuery 2710 typedef void (APIENTRYP PFNGLBEGINQUERYPROC)(GLenum target, GLuint id); 2711 GLAPI PFNGLBEGINQUERYPROC glad_glBeginQuery; 2712 #define glBeginQuery glad_glBeginQuery 2713 typedef void (APIENTRYP PFNGLENDQUERYPROC)(GLenum target); 2714 GLAPI PFNGLENDQUERYPROC glad_glEndQuery; 2715 #define glEndQuery glad_glEndQuery 2716 typedef void (APIENTRYP PFNGLGETQUERYIVPROC)(GLenum target, GLenum pname, GLint* params); 2717 GLAPI PFNGLGETQUERYIVPROC glad_glGetQueryiv; 2718 #define glGetQueryiv glad_glGetQueryiv 2719 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC)(GLuint id, GLenum pname, GLint* params); 2720 GLAPI PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv; 2721 #define glGetQueryObjectiv glad_glGetQueryObjectiv 2722 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC)(GLuint id, GLenum pname, GLuint* params); 2723 GLAPI PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv; 2724 #define glGetQueryObjectuiv glad_glGetQueryObjectuiv 2725 typedef void (APIENTRYP PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); 2726 GLAPI PFNGLBINDBUFFERPROC glad_glBindBuffer; 2727 #define glBindBuffer glad_glBindBuffer 2728 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC)(GLsizei n, const GLuint* buffers); 2729 GLAPI PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers; 2730 #define glDeleteBuffers glad_glDeleteBuffers 2731 typedef void (APIENTRYP PFNGLGENBUFFERSPROC)(GLsizei n, GLuint* buffers); 2732 GLAPI PFNGLGENBUFFERSPROC glad_glGenBuffers; 2733 #define glGenBuffers glad_glGenBuffers 2734 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC)(GLuint buffer); 2735 GLAPI PFNGLISBUFFERPROC glad_glIsBuffer; 2736 #define glIsBuffer glad_glIsBuffer 2737 typedef void (APIENTRYP PFNGLBUFFERDATAPROC)(GLenum target, GLsizeiptr size, const void* data, GLenum usage); 2738 GLAPI PFNGLBUFFERDATAPROC glad_glBufferData; 2739 #define glBufferData glad_glBufferData 2740 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, const void* data); 2741 GLAPI PFNGLBUFFERSUBDATAPROC glad_glBufferSubData; 2742 #define glBufferSubData glad_glBufferSubData 2743 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, void* data); 2744 GLAPI PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData; 2745 #define glGetBufferSubData glad_glGetBufferSubData 2746 typedef void* (APIENTRYP PFNGLMAPBUFFERPROC)(GLenum target, GLenum access); 2747 GLAPI PFNGLMAPBUFFERPROC glad_glMapBuffer; 2748 #define glMapBuffer glad_glMapBuffer 2749 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC)(GLenum target); 2750 GLAPI PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer; 2751 #define glUnmapBuffer glad_glUnmapBuffer 2752 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint* params); 2753 GLAPI PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv; 2754 #define glGetBufferParameteriv glad_glGetBufferParameteriv 2755 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC)(GLenum target, GLenum pname, void** params); 2756 GLAPI PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv; 2757 #define glGetBufferPointerv glad_glGetBufferPointerv 2758 #endif 2759 #ifndef GL_VERSION_2_0 2760 #define GL_VERSION_2_0 1 2761 GLAPI int GLAD_GL_VERSION_2_0; 2762 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC)(GLenum modeRGB, GLenum modeAlpha); 2763 GLAPI PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate; 2764 #define glBlendEquationSeparate glad_glBlendEquationSeparate 2765 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC)(GLsizei n, const GLenum* bufs); 2766 GLAPI PFNGLDRAWBUFFERSPROC glad_glDrawBuffers; 2767 #define glDrawBuffers glad_glDrawBuffers 2768 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 2769 GLAPI PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate; 2770 #define glStencilOpSeparate glad_glStencilOpSeparate 2771 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC)(GLenum face, GLenum func, GLint ref, GLuint mask); 2772 GLAPI PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate; 2773 #define glStencilFuncSeparate glad_glStencilFuncSeparate 2774 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC)(GLenum face, GLuint mask); 2775 GLAPI PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate; 2776 #define glStencilMaskSeparate glad_glStencilMaskSeparate 2777 typedef void (APIENTRYP PFNGLATTACHSHADERPROC)(GLuint program, GLuint shader); 2778 GLAPI PFNGLATTACHSHADERPROC glad_glAttachShader; 2779 #define glAttachShader glad_glAttachShader 2780 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC)(GLuint program, GLuint index, const GLchar* name); 2781 GLAPI PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation; 2782 #define glBindAttribLocation glad_glBindAttribLocation 2783 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC)(GLuint shader); 2784 GLAPI PFNGLCOMPILESHADERPROC glad_glCompileShader; 2785 #define glCompileShader glad_glCompileShader 2786 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC)(); 2787 GLAPI PFNGLCREATEPROGRAMPROC glad_glCreateProgram; 2788 #define glCreateProgram glad_glCreateProgram 2789 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC)(GLenum type); 2790 GLAPI PFNGLCREATESHADERPROC glad_glCreateShader; 2791 #define glCreateShader glad_glCreateShader 2792 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC)(GLuint program); 2793 GLAPI PFNGLDELETEPROGRAMPROC glad_glDeleteProgram; 2794 #define glDeleteProgram glad_glDeleteProgram 2795 typedef void (APIENTRYP PFNGLDELETESHADERPROC)(GLuint shader); 2796 GLAPI PFNGLDELETESHADERPROC glad_glDeleteShader; 2797 #define glDeleteShader glad_glDeleteShader 2798 typedef void (APIENTRYP PFNGLDETACHSHADERPROC)(GLuint program, GLuint shader); 2799 GLAPI PFNGLDETACHSHADERPROC glad_glDetachShader; 2800 #define glDetachShader glad_glDetachShader 2801 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC)(GLuint index); 2802 GLAPI PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray; 2803 #define glDisableVertexAttribArray glad_glDisableVertexAttribArray 2804 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC)(GLuint index); 2805 GLAPI PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray; 2806 #define glEnableVertexAttribArray glad_glEnableVertexAttribArray 2807 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); 2808 GLAPI PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib; 2809 #define glGetActiveAttrib glad_glGetActiveAttrib 2810 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); 2811 GLAPI PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform; 2812 #define glGetActiveUniform glad_glGetActiveUniform 2813 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC)(GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders); 2814 GLAPI PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders; 2815 #define glGetAttachedShaders glad_glGetAttachedShaders 2816 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC)(GLuint program, const GLchar* name); 2817 GLAPI PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation; 2818 #define glGetAttribLocation glad_glGetAttribLocation 2819 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC)(GLuint program, GLenum pname, GLint* params); 2820 GLAPI PFNGLGETPROGRAMIVPROC glad_glGetProgramiv; 2821 #define glGetProgramiv glad_glGetProgramiv 2822 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC)(GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog); 2823 GLAPI PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog; 2824 #define glGetProgramInfoLog glad_glGetProgramInfoLog 2825 typedef void (APIENTRYP PFNGLGETSHADERIVPROC)(GLuint shader, GLenum pname, GLint* params); 2826 GLAPI PFNGLGETSHADERIVPROC glad_glGetShaderiv; 2827 #define glGetShaderiv glad_glGetShaderiv 2828 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC)(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog); 2829 GLAPI PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog; 2830 #define glGetShaderInfoLog glad_glGetShaderInfoLog 2831 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC)(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* source); 2832 GLAPI PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource; 2833 #define glGetShaderSource glad_glGetShaderSource 2834 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC)(GLuint program, const GLchar* name); 2835 GLAPI PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation; 2836 #define glGetUniformLocation glad_glGetUniformLocation 2837 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC)(GLuint program, GLint location, GLfloat* params); 2838 GLAPI PFNGLGETUNIFORMFVPROC glad_glGetUniformfv; 2839 #define glGetUniformfv glad_glGetUniformfv 2840 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC)(GLuint program, GLint location, GLint* params); 2841 GLAPI PFNGLGETUNIFORMIVPROC glad_glGetUniformiv; 2842 #define glGetUniformiv glad_glGetUniformiv 2843 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC)(GLuint index, GLenum pname, GLdouble* params); 2844 GLAPI PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv; 2845 #define glGetVertexAttribdv glad_glGetVertexAttribdv 2846 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC)(GLuint index, GLenum pname, GLfloat* params); 2847 GLAPI PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv; 2848 #define glGetVertexAttribfv glad_glGetVertexAttribfv 2849 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC)(GLuint index, GLenum pname, GLint* params); 2850 GLAPI PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv; 2851 #define glGetVertexAttribiv glad_glGetVertexAttribiv 2852 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint index, GLenum pname, void** pointer); 2853 GLAPI PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv; 2854 #define glGetVertexAttribPointerv glad_glGetVertexAttribPointerv 2855 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC)(GLuint program); 2856 GLAPI PFNGLISPROGRAMPROC glad_glIsProgram; 2857 #define glIsProgram glad_glIsProgram 2858 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC)(GLuint shader); 2859 GLAPI PFNGLISSHADERPROC glad_glIsShader; 2860 #define glIsShader glad_glIsShader 2861 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC)(GLuint program); 2862 GLAPI PFNGLLINKPROGRAMPROC glad_glLinkProgram; 2863 #define glLinkProgram glad_glLinkProgram 2864 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC)(GLuint shader, GLsizei count, const GLchar** string, const GLint* length); 2865 GLAPI PFNGLSHADERSOURCEPROC glad_glShaderSource; 2866 #define glShaderSource glad_glShaderSource 2867 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC)(GLuint program); 2868 GLAPI PFNGLUSEPROGRAMPROC glad_glUseProgram; 2869 #define glUseProgram glad_glUseProgram 2870 typedef void (APIENTRYP PFNGLUNIFORM1FPROC)(GLint location, GLfloat v0); 2871 GLAPI PFNGLUNIFORM1FPROC glad_glUniform1f; 2872 #define glUniform1f glad_glUniform1f 2873 typedef void (APIENTRYP PFNGLUNIFORM2FPROC)(GLint location, GLfloat v0, GLfloat v1); 2874 GLAPI PFNGLUNIFORM2FPROC glad_glUniform2f; 2875 #define glUniform2f glad_glUniform2f 2876 typedef void (APIENTRYP PFNGLUNIFORM3FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 2877 GLAPI PFNGLUNIFORM3FPROC glad_glUniform3f; 2878 #define glUniform3f glad_glUniform3f 2879 typedef void (APIENTRYP PFNGLUNIFORM4FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 2880 GLAPI PFNGLUNIFORM4FPROC glad_glUniform4f; 2881 #define glUniform4f glad_glUniform4f 2882 typedef void (APIENTRYP PFNGLUNIFORM1IPROC)(GLint location, GLint v0); 2883 GLAPI PFNGLUNIFORM1IPROC glad_glUniform1i; 2884 #define glUniform1i glad_glUniform1i 2885 typedef void (APIENTRYP PFNGLUNIFORM2IPROC)(GLint location, GLint v0, GLint v1); 2886 GLAPI PFNGLUNIFORM2IPROC glad_glUniform2i; 2887 #define glUniform2i glad_glUniform2i 2888 typedef void (APIENTRYP PFNGLUNIFORM3IPROC)(GLint location, GLint v0, GLint v1, GLint v2); 2889 GLAPI PFNGLUNIFORM3IPROC glad_glUniform3i; 2890 #define glUniform3i glad_glUniform3i 2891 typedef void (APIENTRYP PFNGLUNIFORM4IPROC)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 2892 GLAPI PFNGLUNIFORM4IPROC glad_glUniform4i; 2893 #define glUniform4i glad_glUniform4i 2894 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC)(GLint location, GLsizei count, const GLfloat* value); 2895 GLAPI PFNGLUNIFORM1FVPROC glad_glUniform1fv; 2896 #define glUniform1fv glad_glUniform1fv 2897 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC)(GLint location, GLsizei count, const GLfloat* value); 2898 GLAPI PFNGLUNIFORM2FVPROC glad_glUniform2fv; 2899 #define glUniform2fv glad_glUniform2fv 2900 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC)(GLint location, GLsizei count, const GLfloat* value); 2901 GLAPI PFNGLUNIFORM3FVPROC glad_glUniform3fv; 2902 #define glUniform3fv glad_glUniform3fv 2903 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC)(GLint location, GLsizei count, const GLfloat* value); 2904 GLAPI PFNGLUNIFORM4FVPROC glad_glUniform4fv; 2905 #define glUniform4fv glad_glUniform4fv 2906 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC)(GLint location, GLsizei count, const GLint* value); 2907 GLAPI PFNGLUNIFORM1IVPROC glad_glUniform1iv; 2908 #define glUniform1iv glad_glUniform1iv 2909 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC)(GLint location, GLsizei count, const GLint* value); 2910 GLAPI PFNGLUNIFORM2IVPROC glad_glUniform2iv; 2911 #define glUniform2iv glad_glUniform2iv 2912 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC)(GLint location, GLsizei count, const GLint* value); 2913 GLAPI PFNGLUNIFORM3IVPROC glad_glUniform3iv; 2914 #define glUniform3iv glad_glUniform3iv 2915 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC)(GLint location, GLsizei count, const GLint* value); 2916 GLAPI PFNGLUNIFORM4IVPROC glad_glUniform4iv; 2917 #define glUniform4iv glad_glUniform4iv 2918 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 2919 GLAPI PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv; 2920 #define glUniformMatrix2fv glad_glUniformMatrix2fv 2921 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 2922 GLAPI PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv; 2923 #define glUniformMatrix3fv glad_glUniformMatrix3fv 2924 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 2925 GLAPI PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv; 2926 #define glUniformMatrix4fv glad_glUniformMatrix4fv 2927 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC)(GLuint program); 2928 GLAPI PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram; 2929 #define glValidateProgram glad_glValidateProgram 2930 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC)(GLuint index, GLdouble x); 2931 GLAPI PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d; 2932 #define glVertexAttrib1d glad_glVertexAttrib1d 2933 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC)(GLuint index, const GLdouble* v); 2934 GLAPI PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv; 2935 #define glVertexAttrib1dv glad_glVertexAttrib1dv 2936 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC)(GLuint index, GLfloat x); 2937 GLAPI PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f; 2938 #define glVertexAttrib1f glad_glVertexAttrib1f 2939 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC)(GLuint index, const GLfloat* v); 2940 GLAPI PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv; 2941 #define glVertexAttrib1fv glad_glVertexAttrib1fv 2942 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC)(GLuint index, GLshort x); 2943 GLAPI PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s; 2944 #define glVertexAttrib1s glad_glVertexAttrib1s 2945 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC)(GLuint index, const GLshort* v); 2946 GLAPI PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv; 2947 #define glVertexAttrib1sv glad_glVertexAttrib1sv 2948 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC)(GLuint index, GLdouble x, GLdouble y); 2949 GLAPI PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d; 2950 #define glVertexAttrib2d glad_glVertexAttrib2d 2951 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC)(GLuint index, const GLdouble* v); 2952 GLAPI PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv; 2953 #define glVertexAttrib2dv glad_glVertexAttrib2dv 2954 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC)(GLuint index, GLfloat x, GLfloat y); 2955 GLAPI PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f; 2956 #define glVertexAttrib2f glad_glVertexAttrib2f 2957 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC)(GLuint index, const GLfloat* v); 2958 GLAPI PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv; 2959 #define glVertexAttrib2fv glad_glVertexAttrib2fv 2960 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC)(GLuint index, GLshort x, GLshort y); 2961 GLAPI PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s; 2962 #define glVertexAttrib2s glad_glVertexAttrib2s 2963 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC)(GLuint index, const GLshort* v); 2964 GLAPI PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv; 2965 #define glVertexAttrib2sv glad_glVertexAttrib2sv 2966 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); 2967 GLAPI PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d; 2968 #define glVertexAttrib3d glad_glVertexAttrib3d 2969 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC)(GLuint index, const GLdouble* v); 2970 GLAPI PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv; 2971 #define glVertexAttrib3dv glad_glVertexAttrib3dv 2972 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z); 2973 GLAPI PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f; 2974 #define glVertexAttrib3f glad_glVertexAttrib3f 2975 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC)(GLuint index, const GLfloat* v); 2976 GLAPI PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv; 2977 #define glVertexAttrib3fv glad_glVertexAttrib3fv 2978 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC)(GLuint index, GLshort x, GLshort y, GLshort z); 2979 GLAPI PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s; 2980 #define glVertexAttrib3s glad_glVertexAttrib3s 2981 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC)(GLuint index, const GLshort* v); 2982 GLAPI PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv; 2983 #define glVertexAttrib3sv glad_glVertexAttrib3sv 2984 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC)(GLuint index, const GLbyte* v); 2985 GLAPI PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv; 2986 #define glVertexAttrib4Nbv glad_glVertexAttrib4Nbv 2987 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC)(GLuint index, const GLint* v); 2988 GLAPI PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv; 2989 #define glVertexAttrib4Niv glad_glVertexAttrib4Niv 2990 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC)(GLuint index, const GLshort* v); 2991 GLAPI PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv; 2992 #define glVertexAttrib4Nsv glad_glVertexAttrib4Nsv 2993 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 2994 GLAPI PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub; 2995 #define glVertexAttrib4Nub glad_glVertexAttrib4Nub 2996 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC)(GLuint index, const GLubyte* v); 2997 GLAPI PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv; 2998 #define glVertexAttrib4Nubv glad_glVertexAttrib4Nubv 2999 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC)(GLuint index, const GLuint* v); 3000 GLAPI PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv; 3001 #define glVertexAttrib4Nuiv glad_glVertexAttrib4Nuiv 3002 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC)(GLuint index, const GLushort* v); 3003 GLAPI PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv; 3004 #define glVertexAttrib4Nusv glad_glVertexAttrib4Nusv 3005 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC)(GLuint index, const GLbyte* v); 3006 GLAPI PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv; 3007 #define glVertexAttrib4bv glad_glVertexAttrib4bv 3008 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 3009 GLAPI PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d; 3010 #define glVertexAttrib4d glad_glVertexAttrib4d 3011 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC)(GLuint index, const GLdouble* v); 3012 GLAPI PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv; 3013 #define glVertexAttrib4dv glad_glVertexAttrib4dv 3014 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 3015 GLAPI PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f; 3016 #define glVertexAttrib4f glad_glVertexAttrib4f 3017 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC)(GLuint index, const GLfloat* v); 3018 GLAPI PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv; 3019 #define glVertexAttrib4fv glad_glVertexAttrib4fv 3020 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC)(GLuint index, const GLint* v); 3021 GLAPI PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv; 3022 #define glVertexAttrib4iv glad_glVertexAttrib4iv 3023 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 3024 GLAPI PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s; 3025 #define glVertexAttrib4s glad_glVertexAttrib4s 3026 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC)(GLuint index, const GLshort* v); 3027 GLAPI PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv; 3028 #define glVertexAttrib4sv glad_glVertexAttrib4sv 3029 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC)(GLuint index, const GLubyte* v); 3030 GLAPI PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv; 3031 #define glVertexAttrib4ubv glad_glVertexAttrib4ubv 3032 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC)(GLuint index, const GLuint* v); 3033 GLAPI PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv; 3034 #define glVertexAttrib4uiv glad_glVertexAttrib4uiv 3035 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC)(GLuint index, const GLushort* v); 3036 GLAPI PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv; 3037 #define glVertexAttrib4usv glad_glVertexAttrib4usv 3038 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* pointer); 3039 GLAPI PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer; 3040 #define glVertexAttribPointer glad_glVertexAttribPointer 3041 #endif 3042 #ifndef GL_VERSION_2_1 3043 #define GL_VERSION_2_1 1 3044 GLAPI int GLAD_GL_VERSION_2_1; 3045 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 3046 GLAPI PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv; 3047 #define glUniformMatrix2x3fv glad_glUniformMatrix2x3fv 3048 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 3049 GLAPI PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv; 3050 #define glUniformMatrix3x2fv glad_glUniformMatrix3x2fv 3051 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 3052 GLAPI PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv; 3053 #define glUniformMatrix2x4fv glad_glUniformMatrix2x4fv 3054 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 3055 GLAPI PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv; 3056 #define glUniformMatrix4x2fv glad_glUniformMatrix4x2fv 3057 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 3058 GLAPI PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv; 3059 #define glUniformMatrix3x4fv glad_glUniformMatrix3x4fv 3060 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); 3061 GLAPI PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv; 3062 #define glUniformMatrix4x3fv glad_glUniformMatrix4x3fv 3063 #endif 3064 #ifndef GL_VERSION_3_0 3065 #define GL_VERSION_3_0 1 3066 GLAPI int GLAD_GL_VERSION_3_0; 3067 typedef void (APIENTRYP PFNGLCOLORMASKIPROC)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 3068 GLAPI PFNGLCOLORMASKIPROC glad_glColorMaski; 3069 #define glColorMaski glad_glColorMaski 3070 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC)(GLenum target, GLuint index, GLboolean* data); 3071 GLAPI PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v; 3072 #define glGetBooleani_v glad_glGetBooleani_v 3073 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC)(GLenum target, GLuint index, GLint* data); 3074 GLAPI PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v; 3075 #define glGetIntegeri_v glad_glGetIntegeri_v 3076 typedef void (APIENTRYP PFNGLENABLEIPROC)(GLenum target, GLuint index); 3077 GLAPI PFNGLENABLEIPROC glad_glEnablei; 3078 #define glEnablei glad_glEnablei 3079 typedef void (APIENTRYP PFNGLDISABLEIPROC)(GLenum target, GLuint index); 3080 GLAPI PFNGLDISABLEIPROC glad_glDisablei; 3081 #define glDisablei glad_glDisablei 3082 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC)(GLenum target, GLuint index); 3083 GLAPI PFNGLISENABLEDIPROC glad_glIsEnabledi; 3084 #define glIsEnabledi glad_glIsEnabledi 3085 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC)(GLenum primitiveMode); 3086 GLAPI PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback; 3087 #define glBeginTransformFeedback glad_glBeginTransformFeedback 3088 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC)(); 3089 GLAPI PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback; 3090 #define glEndTransformFeedback glad_glEndTransformFeedback 3091 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 3092 GLAPI PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange; 3093 #define glBindBufferRange glad_glBindBufferRange 3094 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC)(GLenum target, GLuint index, GLuint buffer); 3095 GLAPI PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase; 3096 #define glBindBufferBase glad_glBindBufferBase 3097 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC)(GLuint program, GLsizei count, const GLchar** varyings, GLenum bufferMode); 3098 GLAPI PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings; 3099 #define glTransformFeedbackVaryings glad_glTransformFeedbackVaryings 3100 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name); 3101 GLAPI PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying; 3102 #define glGetTransformFeedbackVarying glad_glGetTransformFeedbackVarying 3103 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC)(GLenum target, GLenum clamp); 3104 GLAPI PFNGLCLAMPCOLORPROC glad_glClampColor; 3105 #define glClampColor glad_glClampColor 3106 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC)(GLuint id, GLenum mode); 3107 GLAPI PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender; 3108 #define glBeginConditionalRender glad_glBeginConditionalRender 3109 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC)(); 3110 GLAPI PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender; 3111 #define glEndConditionalRender glad_glEndConditionalRender 3112 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer); 3113 GLAPI PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer; 3114 #define glVertexAttribIPointer glad_glVertexAttribIPointer 3115 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC)(GLuint index, GLenum pname, GLint* params); 3116 GLAPI PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv; 3117 #define glGetVertexAttribIiv glad_glGetVertexAttribIiv 3118 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC)(GLuint index, GLenum pname, GLuint* params); 3119 GLAPI PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv; 3120 #define glGetVertexAttribIuiv glad_glGetVertexAttribIuiv 3121 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC)(GLuint index, GLint x); 3122 GLAPI PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i; 3123 #define glVertexAttribI1i glad_glVertexAttribI1i 3124 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC)(GLuint index, GLint x, GLint y); 3125 GLAPI PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i; 3126 #define glVertexAttribI2i glad_glVertexAttribI2i 3127 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC)(GLuint index, GLint x, GLint y, GLint z); 3128 GLAPI PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i; 3129 #define glVertexAttribI3i glad_glVertexAttribI3i 3130 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC)(GLuint index, GLint x, GLint y, GLint z, GLint w); 3131 GLAPI PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i; 3132 #define glVertexAttribI4i glad_glVertexAttribI4i 3133 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC)(GLuint index, GLuint x); 3134 GLAPI PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui; 3135 #define glVertexAttribI1ui glad_glVertexAttribI1ui 3136 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC)(GLuint index, GLuint x, GLuint y); 3137 GLAPI PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui; 3138 #define glVertexAttribI2ui glad_glVertexAttribI2ui 3139 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z); 3140 GLAPI PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui; 3141 #define glVertexAttribI3ui glad_glVertexAttribI3ui 3142 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 3143 GLAPI PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui; 3144 #define glVertexAttribI4ui glad_glVertexAttribI4ui 3145 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC)(GLuint index, const GLint* v); 3146 GLAPI PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv; 3147 #define glVertexAttribI1iv glad_glVertexAttribI1iv 3148 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC)(GLuint index, const GLint* v); 3149 GLAPI PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv; 3150 #define glVertexAttribI2iv glad_glVertexAttribI2iv 3151 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC)(GLuint index, const GLint* v); 3152 GLAPI PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv; 3153 #define glVertexAttribI3iv glad_glVertexAttribI3iv 3154 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC)(GLuint index, const GLint* v); 3155 GLAPI PFNGLVERTEXATTRIBI4IVPROC glad_glVertexAttribI4iv; 3156 #define glVertexAttribI4iv glad_glVertexAttribI4iv 3157 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC)(GLuint index, const GLuint* v); 3158 GLAPI PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv; 3159 #define glVertexAttribI1uiv glad_glVertexAttribI1uiv 3160 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC)(GLuint index, const GLuint* v); 3161 GLAPI PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv; 3162 #define glVertexAttribI2uiv glad_glVertexAttribI2uiv 3163 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC)(GLuint index, const GLuint* v); 3164 GLAPI PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv; 3165 #define glVertexAttribI3uiv glad_glVertexAttribI3uiv 3166 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC)(GLuint index, const GLuint* v); 3167 GLAPI PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv; 3168 #define glVertexAttribI4uiv glad_glVertexAttribI4uiv 3169 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC)(GLuint index, const GLbyte* v); 3170 GLAPI PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv; 3171 #define glVertexAttribI4bv glad_glVertexAttribI4bv 3172 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC)(GLuint index, const GLshort* v); 3173 GLAPI PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv; 3174 #define glVertexAttribI4sv glad_glVertexAttribI4sv 3175 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC)(GLuint index, const GLubyte* v); 3176 GLAPI PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv; 3177 #define glVertexAttribI4ubv glad_glVertexAttribI4ubv 3178 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC)(GLuint index, const GLushort* v); 3179 GLAPI PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv; 3180 #define glVertexAttribI4usv glad_glVertexAttribI4usv 3181 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC)(GLuint program, GLint location, GLuint* params); 3182 GLAPI PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv; 3183 #define glGetUniformuiv glad_glGetUniformuiv 3184 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC)(GLuint program, GLuint color, const GLchar* name); 3185 GLAPI PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation; 3186 #define glBindFragDataLocation glad_glBindFragDataLocation 3187 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC)(GLuint program, const GLchar* name); 3188 GLAPI PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation; 3189 #define glGetFragDataLocation glad_glGetFragDataLocation 3190 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC)(GLint location, GLuint v0); 3191 GLAPI PFNGLUNIFORM1UIPROC glad_glUniform1ui; 3192 #define glUniform1ui glad_glUniform1ui 3193 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC)(GLint location, GLuint v0, GLuint v1); 3194 GLAPI PFNGLUNIFORM2UIPROC glad_glUniform2ui; 3195 #define glUniform2ui glad_glUniform2ui 3196 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2); 3197 GLAPI PFNGLUNIFORM3UIPROC glad_glUniform3ui; 3198 #define glUniform3ui glad_glUniform3ui 3199 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 3200 GLAPI PFNGLUNIFORM4UIPROC glad_glUniform4ui; 3201 #define glUniform4ui glad_glUniform4ui 3202 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC)(GLint location, GLsizei count, const GLuint* value); 3203 GLAPI PFNGLUNIFORM1UIVPROC glad_glUniform1uiv; 3204 #define glUniform1uiv glad_glUniform1uiv 3205 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC)(GLint location, GLsizei count, const GLuint* value); 3206 GLAPI PFNGLUNIFORM2UIVPROC glad_glUniform2uiv; 3207 #define glUniform2uiv glad_glUniform2uiv 3208 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC)(GLint location, GLsizei count, const GLuint* value); 3209 GLAPI PFNGLUNIFORM3UIVPROC glad_glUniform3uiv; 3210 #define glUniform3uiv glad_glUniform3uiv 3211 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC)(GLint location, GLsizei count, const GLuint* value); 3212 GLAPI PFNGLUNIFORM4UIVPROC glad_glUniform4uiv; 3213 #define glUniform4uiv glad_glUniform4uiv 3214 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC)(GLenum target, GLenum pname, const GLint* params); 3215 GLAPI PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv; 3216 #define glTexParameterIiv glad_glTexParameterIiv 3217 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC)(GLenum target, GLenum pname, const GLuint* params); 3218 GLAPI PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv; 3219 #define glTexParameterIuiv glad_glTexParameterIuiv 3220 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC)(GLenum target, GLenum pname, GLint* params); 3221 GLAPI PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv; 3222 #define glGetTexParameterIiv glad_glGetTexParameterIiv 3223 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC)(GLenum target, GLenum pname, GLuint* params); 3224 GLAPI PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv; 3225 #define glGetTexParameterIuiv glad_glGetTexParameterIuiv 3226 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC)(GLenum buffer, GLint drawbuffer, const GLint* value); 3227 GLAPI PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv; 3228 #define glClearBufferiv glad_glClearBufferiv 3229 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC)(GLenum buffer, GLint drawbuffer, const GLuint* value); 3230 GLAPI PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv; 3231 #define glClearBufferuiv glad_glClearBufferuiv 3232 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC)(GLenum buffer, GLint drawbuffer, const GLfloat* value); 3233 GLAPI PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv; 3234 #define glClearBufferfv glad_glClearBufferfv 3235 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 3236 GLAPI PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi; 3237 #define glClearBufferfi glad_glClearBufferfi 3238 typedef const GLubyte* (APIENTRYP PFNGLGETSTRINGIPROC)(GLenum name, GLuint index); 3239 GLAPI PFNGLGETSTRINGIPROC glad_glGetStringi; 3240 #define glGetStringi glad_glGetStringi 3241 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC)(GLuint renderbuffer); 3242 GLAPI PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer; 3243 #define glIsRenderbuffer glad_glIsRenderbuffer 3244 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC)(GLenum target, GLuint renderbuffer); 3245 GLAPI PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer; 3246 #define glBindRenderbuffer glad_glBindRenderbuffer 3247 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC)(GLsizei n, const GLuint* renderbuffers); 3248 GLAPI PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers; 3249 #define glDeleteRenderbuffers glad_glDeleteRenderbuffers 3250 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC)(GLsizei n, GLuint* renderbuffers); 3251 GLAPI PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers; 3252 #define glGenRenderbuffers glad_glGenRenderbuffers 3253 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 3254 GLAPI PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage; 3255 #define glRenderbufferStorage glad_glRenderbufferStorage 3256 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint* params); 3257 GLAPI PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv; 3258 #define glGetRenderbufferParameteriv glad_glGetRenderbufferParameteriv 3259 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC)(GLuint framebuffer); 3260 GLAPI PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer; 3261 #define glIsFramebuffer glad_glIsFramebuffer 3262 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC)(GLenum target, GLuint framebuffer); 3263 GLAPI PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer; 3264 #define glBindFramebuffer glad_glBindFramebuffer 3265 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC)(GLsizei n, const GLuint* framebuffers); 3266 GLAPI PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers; 3267 #define glDeleteFramebuffers glad_glDeleteFramebuffers 3268 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC)(GLsizei n, GLuint* framebuffers); 3269 GLAPI PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers; 3270 #define glGenFramebuffers glad_glGenFramebuffers 3271 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target); 3272 GLAPI PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus; 3273 #define glCheckFramebufferStatus glad_glCheckFramebufferStatus 3274 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 3275 GLAPI PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D; 3276 #define glFramebufferTexture1D glad_glFramebufferTexture1D 3277 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 3278 GLAPI PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D; 3279 #define glFramebufferTexture2D glad_glFramebufferTexture2D 3280 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 3281 GLAPI PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D; 3282 #define glFramebufferTexture3D glad_glFramebufferTexture3D 3283 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 3284 GLAPI PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer; 3285 #define glFramebufferRenderbuffer glad_glFramebufferRenderbuffer 3286 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)(GLenum target, GLenum attachment, GLenum pname, GLint* params); 3287 GLAPI PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv; 3288 #define glGetFramebufferAttachmentParameteriv glad_glGetFramebufferAttachmentParameteriv 3289 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC)(GLenum target); 3290 GLAPI PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap; 3291 #define glGenerateMipmap glad_glGenerateMipmap 3292 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 3293 GLAPI PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer; 3294 #define glBlitFramebuffer glad_glBlitFramebuffer 3295 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 3296 GLAPI PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample; 3297 #define glRenderbufferStorageMultisample glad_glRenderbufferStorageMultisample 3298 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 3299 GLAPI PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer; 3300 #define glFramebufferTextureLayer glad_glFramebufferTextureLayer 3301 typedef void* (APIENTRYP PFNGLMAPBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 3302 GLAPI PFNGLMAPBUFFERRANGEPROC glad_glMapBufferRange; 3303 #define glMapBufferRange glad_glMapBufferRange 3304 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length); 3305 GLAPI PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange; 3306 #define glFlushMappedBufferRange glad_glFlushMappedBufferRange 3307 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC)(GLuint array); 3308 GLAPI PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray; 3309 #define glBindVertexArray glad_glBindVertexArray 3310 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC)(GLsizei n, const GLuint* arrays); 3311 GLAPI PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays; 3312 #define glDeleteVertexArrays glad_glDeleteVertexArrays 3313 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC)(GLsizei n, GLuint* arrays); 3314 GLAPI PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays; 3315 #define glGenVertexArrays glad_glGenVertexArrays 3316 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC)(GLuint array); 3317 GLAPI PFNGLISVERTEXARRAYPROC glad_glIsVertexArray; 3318 #define glIsVertexArray glad_glIsVertexArray 3319 #endif 3320 #ifndef GL_VERSION_3_1 3321 #define GL_VERSION_3_1 1 3322 GLAPI int GLAD_GL_VERSION_3_1; 3323 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); 3324 GLAPI PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced; 3325 #define glDrawArraysInstanced glad_glDrawArraysInstanced 3326 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC)(GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei instancecount); 3327 GLAPI PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced; 3328 #define glDrawElementsInstanced glad_glDrawElementsInstanced 3329 typedef void (APIENTRYP PFNGLTEXBUFFERPROC)(GLenum target, GLenum internalformat, GLuint buffer); 3330 GLAPI PFNGLTEXBUFFERPROC glad_glTexBuffer; 3331 #define glTexBuffer glad_glTexBuffer 3332 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC)(GLuint index); 3333 GLAPI PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex; 3334 #define glPrimitiveRestartIndex glad_glPrimitiveRestartIndex 3335 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 3336 GLAPI PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData; 3337 #define glCopyBufferSubData glad_glCopyBufferSubData 3338 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC)(GLuint program, GLsizei uniformCount, const GLchar** uniformNames, GLuint* uniformIndices); 3339 GLAPI PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices; 3340 #define glGetUniformIndices glad_glGetUniformIndices 3341 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC)(GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params); 3342 GLAPI PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv; 3343 #define glGetActiveUniformsiv glad_glGetActiveUniformsiv 3344 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName); 3345 GLAPI PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName; 3346 #define glGetActiveUniformName glad_glGetActiveUniformName 3347 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC)(GLuint program, const GLchar* uniformBlockName); 3348 GLAPI PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex; 3349 #define glGetUniformBlockIndex glad_glGetUniformBlockIndex 3350 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params); 3351 GLAPI PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv; 3352 #define glGetActiveUniformBlockiv glad_glGetActiveUniformBlockiv 3353 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName); 3354 GLAPI PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_glGetActiveUniformBlockName; 3355 #define glGetActiveUniformBlockName glad_glGetActiveUniformBlockName 3356 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 3357 GLAPI PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding; 3358 #define glUniformBlockBinding glad_glUniformBlockBinding 3359 #endif 3360 #ifndef GL_VERSION_3_2 3361 #define GL_VERSION_3_2 1 3362 GLAPI int GLAD_GL_VERSION_3_2; 3363 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC)(GLenum mode, GLsizei count, GLenum type, const void* indices, GLint basevertex); 3364 GLAPI PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex; 3365 #define glDrawElementsBaseVertex glad_glDrawElementsBaseVertex 3366 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void* indices, GLint basevertex); 3367 GLAPI PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex; 3368 #define glDrawRangeElementsBaseVertex glad_glDrawRangeElementsBaseVertex 3369 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)(GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei instancecount, GLint basevertex); 3370 GLAPI PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex; 3371 #define glDrawElementsInstancedBaseVertex glad_glDrawElementsInstancedBaseVertex 3372 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)(GLenum mode, const GLsizei* count, GLenum type, const void** indices, GLsizei drawcount, const GLint* basevertex); 3373 GLAPI PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex; 3374 #define glMultiDrawElementsBaseVertex glad_glMultiDrawElementsBaseVertex 3375 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC)(GLenum mode); 3376 GLAPI PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex; 3377 #define glProvokingVertex glad_glProvokingVertex 3378 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC)(GLenum condition, GLbitfield flags); 3379 GLAPI PFNGLFENCESYNCPROC glad_glFenceSync; 3380 #define glFenceSync glad_glFenceSync 3381 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC)(GLsync sync); 3382 GLAPI PFNGLISSYNCPROC glad_glIsSync; 3383 #define glIsSync glad_glIsSync 3384 typedef void (APIENTRYP PFNGLDELETESYNCPROC)(GLsync sync); 3385 GLAPI PFNGLDELETESYNCPROC glad_glDeleteSync; 3386 #define glDeleteSync glad_glDeleteSync 3387 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); 3388 GLAPI PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync; 3389 #define glClientWaitSync glad_glClientWaitSync 3390 typedef void (APIENTRYP PFNGLWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); 3391 GLAPI PFNGLWAITSYNCPROC glad_glWaitSync; 3392 #define glWaitSync glad_glWaitSync 3393 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC)(GLenum pname, GLint64* data); 3394 GLAPI PFNGLGETINTEGER64VPROC glad_glGetInteger64v; 3395 #define glGetInteger64v glad_glGetInteger64v 3396 typedef void (APIENTRYP PFNGLGETSYNCIVPROC)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values); 3397 GLAPI PFNGLGETSYNCIVPROC glad_glGetSynciv; 3398 #define glGetSynciv glad_glGetSynciv 3399 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC)(GLenum target, GLuint index, GLint64* data); 3400 GLAPI PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v; 3401 #define glGetInteger64i_v glad_glGetInteger64i_v 3402 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC)(GLenum target, GLenum pname, GLint64* params); 3403 GLAPI PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v; 3404 #define glGetBufferParameteri64v glad_glGetBufferParameteri64v 3405 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level); 3406 GLAPI PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture; 3407 #define glFramebufferTexture glad_glFramebufferTexture 3408 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 3409 GLAPI PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample; 3410 #define glTexImage2DMultisample glad_glTexImage2DMultisample 3411 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 3412 GLAPI PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample; 3413 #define glTexImage3DMultisample glad_glTexImage3DMultisample 3414 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC)(GLenum pname, GLuint index, GLfloat* val); 3415 GLAPI PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv; 3416 #define glGetMultisamplefv glad_glGetMultisamplefv 3417 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC)(GLuint maskNumber, GLbitfield mask); 3418 GLAPI PFNGLSAMPLEMASKIPROC glad_glSampleMaski; 3419 #define glSampleMaski glad_glSampleMaski 3420 #endif 3421 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 3422 #define GL_SINGLE_COLOR_EXT 0x81F9 3423 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA 3424 #define GL_MULTISAMPLE_ARB 0x809D 3425 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E 3426 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F 3427 #define GL_SAMPLE_COVERAGE_ARB 0x80A0 3428 #define GL_SAMPLE_BUFFERS_ARB 0x80A8 3429 #define GL_SAMPLES_ARB 0x80A9 3430 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA 3431 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB 3432 #define GL_MULTISAMPLE_BIT_ARB 0x20000000 3433 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 3434 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 3435 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 3436 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 3437 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 3438 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 3439 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261 3440 #ifndef GL_EXT_separate_specular_color 3441 #define GL_EXT_separate_specular_color 1 3442 GLAPI int GLAD_GL_EXT_separate_specular_color; 3443 #endif 3444 #ifndef GL_ARB_multisample 3445 #define GL_ARB_multisample 1 3446 GLAPI int GLAD_GL_ARB_multisample; 3447 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC)(GLfloat value, GLboolean invert); 3448 GLAPI PFNGLSAMPLECOVERAGEARBPROC glad_glSampleCoverageARB; 3449 #define glSampleCoverageARB glad_glSampleCoverageARB 3450 #endif 3451 #ifndef GL_ARB_robustness 3452 #define GL_ARB_robustness 1 3453 GLAPI int GLAD_GL_ARB_robustness; 3454 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC)(); 3455 GLAPI PFNGLGETGRAPHICSRESETSTATUSARBPROC glad_glGetGraphicsResetStatusARB; 3456 #define glGetGraphicsResetStatusARB glad_glGetGraphicsResetStatusARB 3457 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC)(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void* img); 3458 GLAPI PFNGLGETNTEXIMAGEARBPROC glad_glGetnTexImageARB; 3459 #define glGetnTexImageARB glad_glGetnTexImageARB 3460 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void* data); 3461 GLAPI PFNGLREADNPIXELSARBPROC glad_glReadnPixelsARB; 3462 #define glReadnPixelsARB glad_glReadnPixelsARB 3463 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC)(GLenum target, GLint lod, GLsizei bufSize, void* img); 3464 GLAPI PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC glad_glGetnCompressedTexImageARB; 3465 #define glGetnCompressedTexImageARB glad_glGetnCompressedTexImageARB 3466 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLfloat* params); 3467 GLAPI PFNGLGETNUNIFORMFVARBPROC glad_glGetnUniformfvARB; 3468 #define glGetnUniformfvARB glad_glGetnUniformfvARB 3469 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLint* params); 3470 GLAPI PFNGLGETNUNIFORMIVARBPROC glad_glGetnUniformivARB; 3471 #define glGetnUniformivARB glad_glGetnUniformivARB 3472 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLuint* params); 3473 GLAPI PFNGLGETNUNIFORMUIVARBPROC glad_glGetnUniformuivARB; 3474 #define glGetnUniformuivARB glad_glGetnUniformuivARB 3475 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC)(GLuint program, GLint location, GLsizei bufSize, GLdouble* params); 3476 GLAPI PFNGLGETNUNIFORMDVARBPROC glad_glGetnUniformdvARB; 3477 #define glGetnUniformdvARB glad_glGetnUniformdvARB 3478 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC)(GLenum target, GLenum query, GLsizei bufSize, GLdouble* v); 3479 GLAPI PFNGLGETNMAPDVARBPROC glad_glGetnMapdvARB; 3480 #define glGetnMapdvARB glad_glGetnMapdvARB 3481 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC)(GLenum target, GLenum query, GLsizei bufSize, GLfloat* v); 3482 GLAPI PFNGLGETNMAPFVARBPROC glad_glGetnMapfvARB; 3483 #define glGetnMapfvARB glad_glGetnMapfvARB 3484 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC)(GLenum target, GLenum query, GLsizei bufSize, GLint* v); 3485 GLAPI PFNGLGETNMAPIVARBPROC glad_glGetnMapivARB; 3486 #define glGetnMapivARB glad_glGetnMapivARB 3487 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC)(GLenum map, GLsizei bufSize, GLfloat* values); 3488 GLAPI PFNGLGETNPIXELMAPFVARBPROC glad_glGetnPixelMapfvARB; 3489 #define glGetnPixelMapfvARB glad_glGetnPixelMapfvARB 3490 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC)(GLenum map, GLsizei bufSize, GLuint* values); 3491 GLAPI PFNGLGETNPIXELMAPUIVARBPROC glad_glGetnPixelMapuivARB; 3492 #define glGetnPixelMapuivARB glad_glGetnPixelMapuivARB 3493 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC)(GLenum map, GLsizei bufSize, GLushort* values); 3494 GLAPI PFNGLGETNPIXELMAPUSVARBPROC glad_glGetnPixelMapusvARB; 3495 #define glGetnPixelMapusvARB glad_glGetnPixelMapusvARB 3496 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC)(GLsizei bufSize, GLubyte* pattern); 3497 GLAPI PFNGLGETNPOLYGONSTIPPLEARBPROC glad_glGetnPolygonStippleARB; 3498 #define glGetnPolygonStippleARB glad_glGetnPolygonStippleARB 3499 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* table); 3500 GLAPI PFNGLGETNCOLORTABLEARBPROC glad_glGetnColorTableARB; 3501 #define glGetnColorTableARB glad_glGetnColorTableARB 3502 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* image); 3503 GLAPI PFNGLGETNCONVOLUTIONFILTERARBPROC glad_glGetnConvolutionFilterARB; 3504 #define glGetnConvolutionFilterARB glad_glGetnConvolutionFilterARB 3505 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC)(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void* row, GLsizei columnBufSize, void* column, void* span); 3506 GLAPI PFNGLGETNSEPARABLEFILTERARBPROC glad_glGetnSeparableFilterARB; 3507 #define glGetnSeparableFilterARB glad_glGetnSeparableFilterARB 3508 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values); 3509 GLAPI PFNGLGETNHISTOGRAMARBPROC glad_glGetnHistogramARB; 3510 #define glGetnHistogramARB glad_glGetnHistogramARB 3511 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values); 3512 GLAPI PFNGLGETNMINMAXARBPROC glad_glGetnMinmaxARB; 3513 #define glGetnMinmaxARB glad_glGetnMinmaxARB 3514 #endif 3515 3516 #ifdef __cplusplus 3517 } 3518 #endif 3519 3520 #endif 3521