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