Platformer in OpenGL
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

3520 líneas
171 KiB

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