🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2135 lines
106 KiB

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