nuklear 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.travis.yml +7 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +29 -0
- data/LICENSE.txt +21 -0
- data/README.md +196 -0
- data/Rakefile +26 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/examples/arial.ttf +0 -0
- data/examples/calculator.rb +102 -0
- data/examples/hello_nuklear.rb +182 -0
- data/examples/lib/opengl_font.rb +32 -0
- data/examples/lib/opengl_init.rb +4 -0
- data/examples/lib/sdl2_init.rb +6 -0
- data/examples/lib/sdl2_input.rb +81 -0
- data/examples/lib/window.rb +47 -0
- data/ext/freetype/extconf.rb +26 -0
- data/ext/nuklear/extconf.rb +14 -0
- data/ext/nuklear/nkrb.c +79 -0
- data/ext/nuklear/nkrb.h +89 -0
- data/ext/nuklear/nkrb_buffer.c +80 -0
- data/ext/nuklear/nkrb_context.c +241 -0
- data/ext/nuklear/nkrb_font.c +80 -0
- data/ext/nuklear/nkrb_renderer.c +114 -0
- data/ext/nuklear/nkrb_style.c +61 -0
- data/ext/nuklear/nkrb_style_color.c +126 -0
- data/ext/nuklear/nkrb_style_image.c +32 -0
- data/ext/nuklear/nkrb_ui.c +32 -0
- data/ext/nuklear/nkrb_ui_builder.c +29 -0
- data/ext/nuklear/nkrb_ui_button.c +55 -0
- data/ext/nuklear/nkrb_ui_color_picker.c +20 -0
- data/ext/nuklear/nkrb_ui_combo.c +73 -0
- data/ext/nuklear/nkrb_ui_container.c +7 -0
- data/ext/nuklear/nkrb_ui_edit_string.c +38 -0
- data/ext/nuklear/nkrb_ui_group.c +27 -0
- data/ext/nuklear/nkrb_ui_label.c +30 -0
- data/ext/nuklear/nkrb_ui_layout.c +125 -0
- data/ext/nuklear/nkrb_ui_menu.c +49 -0
- data/ext/nuklear/nkrb_ui_menu_item.c +30 -0
- data/ext/nuklear/nkrb_ui_menubar.c +18 -0
- data/ext/nuklear/nkrb_ui_popup.c +24 -0
- data/ext/nuklear/nkrb_ui_progress.c +19 -0
- data/ext/nuklear/nkrb_ui_property.c +20 -0
- data/ext/nuklear/nkrb_ui_selectables.c +53 -0
- data/ext/nuklear/nkrb_ui_slider.c +19 -0
- data/ext/nuklear/nkrb_ui_tree.c +29 -0
- data/ext/nuklear/nkrb_ui_widget.c +7 -0
- data/ext/nuklear/nkrb_ui_window.c +43 -0
- data/ext/nuklear/nuklear.h +23378 -0
- data/ext/nuklear_renderer_opengl2/KHR/khrplatform.h +285 -0
- data/ext/nuklear_renderer_opengl2/extconf.rb +13 -0
- data/ext/nuklear_renderer_opengl2/glad.c +1432 -0
- data/ext/nuklear_renderer_opengl2/glad.h +2747 -0
- data/ext/nuklear_renderer_opengl2/nuklear_renderer_opengl2.c +197 -0
- data/ext/nuklear_renderer_opengl4/KHR/khrplatform.h +285 -0
- data/ext/nuklear_renderer_opengl4/extconf.rb +13 -0
- data/ext/nuklear_renderer_opengl4/glad.c +1782 -0
- data/ext/nuklear_renderer_opengl4/glad.h +3687 -0
- data/ext/nuklear_renderer_opengl4/nuklear_renderer_opengl4.c +255 -0
- data/lib/nuklear/context.rb +49 -0
- data/lib/nuklear/dsl.rb +46 -0
- data/lib/nuklear/event_buffer.rb +23 -0
- data/lib/nuklear/renderer/opengl24.rb +13 -0
- data/lib/nuklear/renderer.rb +108 -0
- data/lib/nuklear/style/color.rb +24 -0
- data/lib/nuklear/style/image.rb +9 -0
- data/lib/nuklear/style.rb +8 -0
- data/lib/nuklear/test_case.rb +30 -0
- data/lib/nuklear/ui/base.rb +34 -0
- data/lib/nuklear/ui/button.rb +77 -0
- data/lib/nuklear/ui/checkbox.rb +39 -0
- data/lib/nuklear/ui/col.rb +21 -0
- data/lib/nuklear/ui/color_picker.rb +31 -0
- data/lib/nuklear/ui/combo_box.rb +42 -0
- data/lib/nuklear/ui/container.rb +80 -0
- data/lib/nuklear/ui/edit_string.rb +48 -0
- data/lib/nuklear/ui/enableable.rb +29 -0
- data/lib/nuklear/ui/events.rb +23 -0
- data/lib/nuklear/ui/group.rb +31 -0
- data/lib/nuklear/ui/label.rb +21 -0
- data/lib/nuklear/ui/menu.rb +43 -0
- data/lib/nuklear/ui/menu_bar.rb +19 -0
- data/lib/nuklear/ui/menu_item.rb +34 -0
- data/lib/nuklear/ui/option.rb +17 -0
- data/lib/nuklear/ui/option_group.rb +22 -0
- data/lib/nuklear/ui/popup.rb +37 -0
- data/lib/nuklear/ui/progress.rb +33 -0
- data/lib/nuklear/ui/property.rb +28 -0
- data/lib/nuklear/ui/row.rb +28 -0
- data/lib/nuklear/ui/select_list.rb +31 -0
- data/lib/nuklear/ui/selectable.rb +21 -0
- data/lib/nuklear/ui/slider.rb +26 -0
- data/lib/nuklear/ui/text_align.rb +14 -0
- data/lib/nuklear/ui/tree.rb +62 -0
- data/lib/nuklear/ui/window.rb +175 -0
- data/lib/nuklear/ui.rb +33 -0
- data/lib/nuklear/version.rb +3 -0
- data/lib/nuklear.rb +26 -0
- data/nuklear.gemspec +41 -0
- metadata +233 -0
@@ -0,0 +1,1782 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
OpenGL loader generated by glad 0.1.14a0 on Fri Jun 16 17:10:56 2017.
|
4
|
+
|
5
|
+
Language/Generator: C/C++
|
6
|
+
Specification: gl
|
7
|
+
APIs: gl=4.5
|
8
|
+
Profile: core
|
9
|
+
Extensions:
|
10
|
+
|
11
|
+
Loader: True
|
12
|
+
Local files: False
|
13
|
+
Omit khrplatform: False
|
14
|
+
|
15
|
+
Commandline:
|
16
|
+
--profile="core" --api="gl=4.5" --generator="c" --spec="gl" --extensions=""
|
17
|
+
Online:
|
18
|
+
http://glad.dav1d.de/#profile=core&language=c&specification=gl&loader=on&api=gl%3D4.5
|
19
|
+
*/
|
20
|
+
|
21
|
+
#include <stdio.h>
|
22
|
+
#include <stdlib.h>
|
23
|
+
#include <string.h>
|
24
|
+
#include "glad.h"
|
25
|
+
|
26
|
+
static void* get_proc(const char *namez);
|
27
|
+
|
28
|
+
#ifdef _WIN32
|
29
|
+
#include <windows.h>
|
30
|
+
static HMODULE libGL;
|
31
|
+
|
32
|
+
typedef void* (APIENTRYP PFNWGLGETPROCADDRESSPROC_PRIVATE)(const char*);
|
33
|
+
static PFNWGLGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr;
|
34
|
+
|
35
|
+
static
|
36
|
+
int open_gl(void) {
|
37
|
+
libGL = LoadLibraryW(L"opengl32.dll");
|
38
|
+
if(libGL != NULL) {
|
39
|
+
gladGetProcAddressPtr = (PFNWGLGETPROCADDRESSPROC_PRIVATE)GetProcAddress(
|
40
|
+
libGL, "wglGetProcAddress");
|
41
|
+
return gladGetProcAddressPtr != NULL;
|
42
|
+
}
|
43
|
+
|
44
|
+
return 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
static
|
48
|
+
void close_gl(void) {
|
49
|
+
if(libGL != NULL) {
|
50
|
+
FreeLibrary(libGL);
|
51
|
+
libGL = NULL;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
#else
|
55
|
+
#include <dlfcn.h>
|
56
|
+
static void* libGL;
|
57
|
+
|
58
|
+
#ifndef __APPLE__
|
59
|
+
typedef void* (APIENTRYP PFNGLXGETPROCADDRESSPROC_PRIVATE)(const char*);
|
60
|
+
static PFNGLXGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr;
|
61
|
+
#endif
|
62
|
+
|
63
|
+
static
|
64
|
+
int open_gl(void) {
|
65
|
+
#ifdef __APPLE__
|
66
|
+
static const char *NAMES[] = {
|
67
|
+
"../Frameworks/OpenGL.framework/OpenGL",
|
68
|
+
"/Library/Frameworks/OpenGL.framework/OpenGL",
|
69
|
+
"/System/Library/Frameworks/OpenGL.framework/OpenGL",
|
70
|
+
"/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL"
|
71
|
+
};
|
72
|
+
#else
|
73
|
+
static const char *NAMES[] = {"libGL.so.1", "libGL.so"};
|
74
|
+
#endif
|
75
|
+
|
76
|
+
unsigned int index = 0;
|
77
|
+
for(index = 0; index < (sizeof(NAMES) / sizeof(NAMES[0])); index++) {
|
78
|
+
libGL = dlopen(NAMES[index], RTLD_NOW | RTLD_GLOBAL);
|
79
|
+
|
80
|
+
if(libGL != NULL) {
|
81
|
+
#ifdef __APPLE__
|
82
|
+
return 1;
|
83
|
+
#else
|
84
|
+
gladGetProcAddressPtr = (PFNGLXGETPROCADDRESSPROC_PRIVATE)dlsym(libGL,
|
85
|
+
"glXGetProcAddressARB");
|
86
|
+
return gladGetProcAddressPtr != NULL;
|
87
|
+
#endif
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
return 0;
|
92
|
+
}
|
93
|
+
|
94
|
+
static
|
95
|
+
void close_gl() {
|
96
|
+
if(libGL != NULL) {
|
97
|
+
dlclose(libGL);
|
98
|
+
libGL = NULL;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
#endif
|
102
|
+
|
103
|
+
static
|
104
|
+
void* get_proc(const char *namez) {
|
105
|
+
void* result = NULL;
|
106
|
+
if(libGL == NULL) return NULL;
|
107
|
+
|
108
|
+
#ifndef __APPLE__
|
109
|
+
if(gladGetProcAddressPtr != NULL) {
|
110
|
+
result = gladGetProcAddressPtr(namez);
|
111
|
+
}
|
112
|
+
#endif
|
113
|
+
if(result == NULL) {
|
114
|
+
#ifdef _WIN32
|
115
|
+
result = (void*)GetProcAddress(libGL, namez);
|
116
|
+
#else
|
117
|
+
result = dlsym(libGL, namez);
|
118
|
+
#endif
|
119
|
+
}
|
120
|
+
|
121
|
+
return result;
|
122
|
+
}
|
123
|
+
|
124
|
+
int gladLoadGL(void) {
|
125
|
+
int status = 0;
|
126
|
+
|
127
|
+
if(open_gl()) {
|
128
|
+
status = gladLoadGLLoader(&get_proc);
|
129
|
+
close_gl();
|
130
|
+
}
|
131
|
+
|
132
|
+
return status;
|
133
|
+
}
|
134
|
+
|
135
|
+
struct gladGLversionStruct GLVersion;
|
136
|
+
|
137
|
+
#if defined(GL_ES_VERSION_3_0) || defined(GL_VERSION_3_0)
|
138
|
+
#define _GLAD_IS_SOME_NEW_VERSION 1
|
139
|
+
#endif
|
140
|
+
|
141
|
+
static int max_loaded_major;
|
142
|
+
static int max_loaded_minor;
|
143
|
+
|
144
|
+
static const char *exts = NULL;
|
145
|
+
static int num_exts_i = 0;
|
146
|
+
static const char **exts_i = NULL;
|
147
|
+
|
148
|
+
static int get_exts(void) {
|
149
|
+
#ifdef _GLAD_IS_SOME_NEW_VERSION
|
150
|
+
if(max_loaded_major < 3) {
|
151
|
+
#endif
|
152
|
+
exts = (const char *)glGetString(GL_EXTENSIONS);
|
153
|
+
#ifdef _GLAD_IS_SOME_NEW_VERSION
|
154
|
+
} else {
|
155
|
+
unsigned int index;
|
156
|
+
|
157
|
+
num_exts_i = 0;
|
158
|
+
glGetIntegerv(GL_NUM_EXTENSIONS, &num_exts_i);
|
159
|
+
if (num_exts_i > 0) {
|
160
|
+
exts_i = (const char **)realloc((void *)exts_i, (size_t)num_exts_i * (sizeof *exts_i));
|
161
|
+
}
|
162
|
+
|
163
|
+
if (exts_i == NULL) {
|
164
|
+
return 0;
|
165
|
+
}
|
166
|
+
|
167
|
+
for(index = 0; index < (unsigned)num_exts_i; index++) {
|
168
|
+
exts_i[index] = (const char*)glGetStringi(GL_EXTENSIONS, index);
|
169
|
+
}
|
170
|
+
}
|
171
|
+
#endif
|
172
|
+
return 1;
|
173
|
+
}
|
174
|
+
|
175
|
+
static void free_exts(void) {
|
176
|
+
if (exts_i != NULL) {
|
177
|
+
free((void *)exts_i);
|
178
|
+
exts_i = NULL;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
static int has_ext(const char *ext) {
|
183
|
+
#ifdef _GLAD_IS_SOME_NEW_VERSION
|
184
|
+
if(max_loaded_major < 3) {
|
185
|
+
#endif
|
186
|
+
const char *extensions;
|
187
|
+
const char *loc;
|
188
|
+
const char *terminator;
|
189
|
+
extensions = exts;
|
190
|
+
if(extensions == NULL || ext == NULL) {
|
191
|
+
return 0;
|
192
|
+
}
|
193
|
+
|
194
|
+
while(1) {
|
195
|
+
loc = strstr(extensions, ext);
|
196
|
+
if(loc == NULL) {
|
197
|
+
return 0;
|
198
|
+
}
|
199
|
+
|
200
|
+
terminator = loc + strlen(ext);
|
201
|
+
if((loc == extensions || *(loc - 1) == ' ') &&
|
202
|
+
(*terminator == ' ' || *terminator == '\0')) {
|
203
|
+
return 1;
|
204
|
+
}
|
205
|
+
extensions = terminator;
|
206
|
+
}
|
207
|
+
#ifdef _GLAD_IS_SOME_NEW_VERSION
|
208
|
+
} else {
|
209
|
+
int index;
|
210
|
+
|
211
|
+
for(index = 0; index < num_exts_i; index++) {
|
212
|
+
const char *e = exts_i[index];
|
213
|
+
|
214
|
+
if(strcmp(e, ext) == 0) {
|
215
|
+
return 1;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
#endif
|
220
|
+
|
221
|
+
return 0;
|
222
|
+
}
|
223
|
+
int GLAD_GL_VERSION_1_0;
|
224
|
+
int GLAD_GL_VERSION_1_1;
|
225
|
+
int GLAD_GL_VERSION_1_2;
|
226
|
+
int GLAD_GL_VERSION_1_3;
|
227
|
+
int GLAD_GL_VERSION_1_4;
|
228
|
+
int GLAD_GL_VERSION_1_5;
|
229
|
+
int GLAD_GL_VERSION_2_0;
|
230
|
+
int GLAD_GL_VERSION_2_1;
|
231
|
+
int GLAD_GL_VERSION_3_0;
|
232
|
+
int GLAD_GL_VERSION_3_1;
|
233
|
+
int GLAD_GL_VERSION_3_2;
|
234
|
+
int GLAD_GL_VERSION_3_3;
|
235
|
+
int GLAD_GL_VERSION_4_0;
|
236
|
+
int GLAD_GL_VERSION_4_1;
|
237
|
+
int GLAD_GL_VERSION_4_2;
|
238
|
+
int GLAD_GL_VERSION_4_3;
|
239
|
+
int GLAD_GL_VERSION_4_4;
|
240
|
+
int GLAD_GL_VERSION_4_5;
|
241
|
+
PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D;
|
242
|
+
PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui;
|
243
|
+
PFNGLVERTEXARRAYELEMENTBUFFERPROC glad_glVertexArrayElementBuffer;
|
244
|
+
PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate;
|
245
|
+
PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC glad_glTextureStorage3DMultisample;
|
246
|
+
PFNGLTEXTUREPARAMETERFVPROC glad_glTextureParameterfv;
|
247
|
+
PFNGLMINSAMPLESHADINGPROC glad_glMinSampleShading;
|
248
|
+
PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer;
|
249
|
+
PFNGLUNIFORMSUBROUTINESUIVPROC glad_glUniformSubroutinesuiv;
|
250
|
+
PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D;
|
251
|
+
PFNGLTEXCOORDP3UIVPROC glad_glTexCoordP3uiv;
|
252
|
+
PFNGLGETDOUBLEI_VPROC glad_glGetDoublei_v;
|
253
|
+
PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv;
|
254
|
+
PFNGLVERTEXARRAYVERTEXBUFFERSPROC glad_glVertexArrayVertexBuffers;
|
255
|
+
PFNGLBINDSAMPLERPROC glad_glBindSampler;
|
256
|
+
PFNGLLINEWIDTHPROC glad_glLineWidth;
|
257
|
+
PFNGLCOLORP3UIVPROC glad_glColorP3uiv;
|
258
|
+
PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v;
|
259
|
+
PFNGLCOMPILESHADERPROC glad_glCompileShader;
|
260
|
+
PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying;
|
261
|
+
PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC glad_glCompressedTextureSubImage3D;
|
262
|
+
PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC glad_glGetCompressedTextureImage;
|
263
|
+
PFNGLGETNMAPFVPROC glad_glGetnMapfv;
|
264
|
+
PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC glad_glTransformFeedbackBufferRange;
|
265
|
+
PFNGLGETTEXTUREIMAGEPROC glad_glGetTextureImage;
|
266
|
+
PFNGLDEPTHRANGEFPROC glad_glDepthRangef;
|
267
|
+
PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer;
|
268
|
+
PFNGLMULTITEXCOORDP3UIPROC glad_glMultiTexCoordP3ui;
|
269
|
+
PFNGLGETNAMEDBUFFERPARAMETERIVPROC glad_glGetNamedBufferParameteriv;
|
270
|
+
PFNGLVERTEXP4UIPROC glad_glVertexP4ui;
|
271
|
+
PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC glad_glDrawElementsInstancedBaseInstance;
|
272
|
+
PFNGLENABLEIPROC glad_glEnablei;
|
273
|
+
PFNGLVERTEXATTRIBP4UIPROC glad_glVertexAttribP4ui;
|
274
|
+
PFNGLCREATESHADERPROC glad_glCreateShader;
|
275
|
+
PFNGLISBUFFERPROC glad_glIsBuffer;
|
276
|
+
PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv;
|
277
|
+
PFNGLPROGRAMUNIFORMMATRIX2DVPROC glad_glProgramUniformMatrix2dv;
|
278
|
+
PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers;
|
279
|
+
PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D;
|
280
|
+
PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D;
|
281
|
+
PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f;
|
282
|
+
PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate;
|
283
|
+
PFNGLPROGRAMUNIFORMMATRIX4FVPROC glad_glProgramUniformMatrix4fv;
|
284
|
+
PFNGLCLEARNAMEDFRAMEBUFFERFIPROC glad_glClearNamedFramebufferfi;
|
285
|
+
PFNGLGETQUERYBUFFEROBJECTUIVPROC glad_glGetQueryBufferObjectuiv;
|
286
|
+
PFNGLHINTPROC glad_glHint;
|
287
|
+
PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s;
|
288
|
+
PFNGLSAMPLEMASKIPROC glad_glSampleMaski;
|
289
|
+
PFNGLVERTEXP2UIPROC glad_glVertexP2ui;
|
290
|
+
PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv;
|
291
|
+
PFNGLDEBUGMESSAGECONTROLPROC glad_glDebugMessageControl;
|
292
|
+
PFNGLPOINTSIZEPROC glad_glPointSize;
|
293
|
+
PFNGLBINDTEXTUREUNITPROC glad_glBindTextureUnit;
|
294
|
+
PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv;
|
295
|
+
PFNGLDELETEPROGRAMPROC glad_glDeleteProgram;
|
296
|
+
PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv;
|
297
|
+
PFNGLTEXSTORAGE2DPROC glad_glTexStorage2D;
|
298
|
+
PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage;
|
299
|
+
PFNGLWAITSYNCPROC glad_glWaitSync;
|
300
|
+
PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv;
|
301
|
+
PFNGLUNIFORM3IPROC glad_glUniform3i;
|
302
|
+
PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv;
|
303
|
+
PFNGLPROGRAMUNIFORM1UIPROC glad_glProgramUniform1ui;
|
304
|
+
PFNGLBLENDEQUATIONSEPARATEIPROC glad_glBlendEquationSeparatei;
|
305
|
+
PFNGLGETNMAPIVPROC glad_glGetnMapiv;
|
306
|
+
PFNGLTEXTUREBARRIERPROC glad_glTextureBarrier;
|
307
|
+
PFNGLUNIFORM3DPROC glad_glUniform3d;
|
308
|
+
PFNGLUNIFORM3FPROC glad_glUniform3f;
|
309
|
+
PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv;
|
310
|
+
PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv;
|
311
|
+
PFNGLTEXCOORDP2UIPROC glad_glTexCoordP2ui;
|
312
|
+
PFNGLCOLORMASKIPROC glad_glColorMaski;
|
313
|
+
PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi;
|
314
|
+
PFNGLDRAWARRAYSINDIRECTPROC glad_glDrawArraysIndirect;
|
315
|
+
PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays;
|
316
|
+
PFNGLPAUSETRANSFORMFEEDBACKPROC glad_glPauseTransformFeedback;
|
317
|
+
PFNGLMULTITEXCOORDP2UIPROC glad_glMultiTexCoordP2ui;
|
318
|
+
PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC glad_glProgramUniformMatrix3x2dv;
|
319
|
+
PFNGLCOPYNAMEDBUFFERSUBDATAPROC glad_glCopyNamedBufferSubData;
|
320
|
+
PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glad_glProgramUniformMatrix3x2fv;
|
321
|
+
PFNGLGETSAMPLERPARAMETERIIVPROC glad_glGetSamplerParameterIiv;
|
322
|
+
PFNGLGETFRAGDATAINDEXPROC glad_glGetFragDataIndex;
|
323
|
+
PFNGLVERTEXATTRIBL4DPROC glad_glVertexAttribL4d;
|
324
|
+
PFNGLBINDIMAGETEXTUREPROC glad_glBindImageTexture;
|
325
|
+
PFNGLTEXTUREPARAMETERIVPROC glad_glTextureParameteriv;
|
326
|
+
PFNGLGETQUERYBUFFEROBJECTI64VPROC glad_glGetQueryBufferObjecti64v;
|
327
|
+
PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv;
|
328
|
+
PFNGLACTIVESHADERPROGRAMPROC glad_glActiveShaderProgram;
|
329
|
+
PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv;
|
330
|
+
PFNGLUNIFORMMATRIX3DVPROC glad_glUniformMatrix3dv;
|
331
|
+
PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC glad_glProgramUniformMatrix3x4dv;
|
332
|
+
PFNGLNAMEDFRAMEBUFFERTEXTUREPROC glad_glNamedFramebufferTexture;
|
333
|
+
PFNGLGETTEXTUREPARAMETERFVPROC glad_glGetTextureParameterfv;
|
334
|
+
PFNGLINVALIDATEBUFFERSUBDATAPROC glad_glInvalidateBufferSubData;
|
335
|
+
PFNGLRESUMETRANSFORMFEEDBACKPROC glad_glResumeTransformFeedback;
|
336
|
+
PFNGLMULTITEXCOORDP4UIPROC glad_glMultiTexCoordP4ui;
|
337
|
+
PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glad_glProgramUniformMatrix4x3fv;
|
338
|
+
PFNGLVIEWPORTARRAYVPROC glad_glViewportArrayv;
|
339
|
+
PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers;
|
340
|
+
PFNGLDRAWARRAYSPROC glad_glDrawArrays;
|
341
|
+
PFNGLUNIFORM1UIPROC glad_glUniform1ui;
|
342
|
+
PFNGLPROGRAMUNIFORM2UIVPROC glad_glProgramUniform2uiv;
|
343
|
+
PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i;
|
344
|
+
PFNGLTEXCOORDP3UIPROC glad_glTexCoordP3ui;
|
345
|
+
PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d;
|
346
|
+
PFNGLCLEARPROC glad_glClear;
|
347
|
+
PFNGLPROGRAMPARAMETERIPROC glad_glProgramParameteri;
|
348
|
+
PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName;
|
349
|
+
PFNGLMEMORYBARRIERPROC glad_glMemoryBarrier;
|
350
|
+
PFNGLGETGRAPHICSRESETSTATUSPROC glad_glGetGraphicsResetStatus;
|
351
|
+
PFNGLISENABLEDPROC glad_glIsEnabled;
|
352
|
+
PFNGLSTENCILOPPROC glad_glStencilOp;
|
353
|
+
PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D;
|
354
|
+
PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv;
|
355
|
+
PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub;
|
356
|
+
PFNGLMAPNAMEDBUFFERRANGEPROC glad_glMapNamedBufferRange;
|
357
|
+
PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation;
|
358
|
+
PFNGLGETTEXTUREPARAMETERIIVPROC glad_glGetTextureParameterIiv;
|
359
|
+
PFNGLTEXIMAGE1DPROC glad_glTexImage1D;
|
360
|
+
PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv;
|
361
|
+
PFNGLVERTEXARRAYATTRIBIFORMATPROC glad_glVertexArrayAttribIFormat;
|
362
|
+
PFNGLVERTEXARRAYVERTEXBUFFERPROC glad_glVertexArrayVertexBuffer;
|
363
|
+
PFNGLGETTEXIMAGEPROC glad_glGetTexImage;
|
364
|
+
PFNGLGETQUERYOBJECTI64VPROC glad_glGetQueryObjecti64v;
|
365
|
+
PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers;
|
366
|
+
PFNGLCREATETEXTURESPROC glad_glCreateTextures;
|
367
|
+
PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC glad_glTransformFeedbackBufferBase;
|
368
|
+
PFNGLCLEARTEXSUBIMAGEPROC glad_glClearTexSubImage;
|
369
|
+
PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders;
|
370
|
+
PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer;
|
371
|
+
PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays;
|
372
|
+
PFNGLBINDVERTEXBUFFERSPROC glad_glBindVertexBuffers;
|
373
|
+
PFNGLPROGRAMUNIFORM1UIVPROC glad_glProgramUniform1uiv;
|
374
|
+
PFNGLISVERTEXARRAYPROC glad_glIsVertexArray;
|
375
|
+
PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray;
|
376
|
+
PFNGLPROGRAMUNIFORM2IVPROC glad_glProgramUniform2iv;
|
377
|
+
PFNGLGETQUERYIVPROC glad_glGetQueryiv;
|
378
|
+
PFNGLGETTRANSFORMFEEDBACKIVPROC glad_glGetTransformFeedbackiv;
|
379
|
+
PFNGLBLITNAMEDFRAMEBUFFERPROC glad_glBlitNamedFramebuffer;
|
380
|
+
PFNGLVERTEXARRAYATTRIBLFORMATPROC glad_glVertexArrayAttribLFormat;
|
381
|
+
PFNGLCREATEQUERIESPROC glad_glCreateQueries;
|
382
|
+
PFNGLGETSAMPLERPARAMETERFVPROC glad_glGetSamplerParameterfv;
|
383
|
+
PFNGLSHADERSTORAGEBLOCKBINDINGPROC glad_glShaderStorageBlockBinding;
|
384
|
+
PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC glad_glProgramUniformMatrix4x2dv;
|
385
|
+
PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices;
|
386
|
+
PFNGLISSHADERPROC glad_glIsShader;
|
387
|
+
PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv;
|
388
|
+
PFNGLBEGINQUERYINDEXEDPROC glad_glBeginQueryIndexed;
|
389
|
+
PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv;
|
390
|
+
PFNGLENABLEPROC glad_glEnable;
|
391
|
+
PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv;
|
392
|
+
PFNGLVERTEXARRAYATTRIBBINDINGPROC glad_glVertexArrayAttribBinding;
|
393
|
+
PFNGLTEXTURESTORAGE1DPROC glad_glTextureStorage1D;
|
394
|
+
PFNGLMEMORYBARRIERBYREGIONPROC glad_glMemoryBarrierByRegion;
|
395
|
+
PFNGLBLENDEQUATIONIPROC glad_glBlendEquationi;
|
396
|
+
PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation;
|
397
|
+
PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv;
|
398
|
+
PFNGLGETTEXTUREPARAMETERIVPROC glad_glGetTextureParameteriv;
|
399
|
+
PFNGLGETPROGRAMINTERFACEIVPROC glad_glGetProgramInterfaceiv;
|
400
|
+
PFNGLUNIFORM2DVPROC glad_glUniform2dv;
|
401
|
+
PFNGLMAPNAMEDBUFFERPROC glad_glMapNamedBuffer;
|
402
|
+
PFNGLMULTITEXCOORDP3UIVPROC glad_glMultiTexCoordP3uiv;
|
403
|
+
PFNGLVERTEXATTRIBP3UIPROC glad_glVertexAttribP3ui;
|
404
|
+
PFNGLVERTEXATTRIBL1DVPROC glad_glVertexAttribL1dv;
|
405
|
+
PFNGLTEXTUREBUFFERRANGEPROC glad_glTextureBufferRange;
|
406
|
+
PFNGLGETNUNIFORMDVPROC glad_glGetnUniformdv;
|
407
|
+
PFNGLPROGRAMUNIFORM3UIPROC glad_glProgramUniform3ui;
|
408
|
+
PFNGLVERTEXBINDINGDIVISORPROC glad_glVertexBindingDivisor;
|
409
|
+
PFNGLGETUNIFORMFVPROC glad_glGetUniformfv;
|
410
|
+
PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv;
|
411
|
+
PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glad_glProgramUniformMatrix2x3fv;
|
412
|
+
PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv;
|
413
|
+
PFNGLVERTEXARRAYBINDINGDIVISORPROC glad_glVertexArrayBindingDivisor;
|
414
|
+
PFNGLDRAWBUFFERPROC glad_glDrawBuffer;
|
415
|
+
PFNGLENDQUERYINDEXEDPROC glad_glEndQueryIndexed;
|
416
|
+
PFNGLGETNPIXELMAPUSVPROC glad_glGetnPixelMapusv;
|
417
|
+
PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv;
|
418
|
+
PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced;
|
419
|
+
PFNGLPROGRAMUNIFORM1IPROC glad_glProgramUniform1i;
|
420
|
+
PFNGLPATCHPARAMETERIPROC glad_glPatchParameteri;
|
421
|
+
PFNGLPROGRAMUNIFORM1DPROC glad_glProgramUniform1d;
|
422
|
+
PFNGLPROGRAMUNIFORM1FPROC glad_glProgramUniform1f;
|
423
|
+
PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC glad_glGetNamedFramebufferParameteriv;
|
424
|
+
PFNGLFLUSHPROC glad_glFlush;
|
425
|
+
PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv;
|
426
|
+
PFNGLPROGRAMUNIFORM3IVPROC glad_glProgramUniform3iv;
|
427
|
+
PFNGLGETDEBUGMESSAGELOGPROC glad_glGetDebugMessageLog;
|
428
|
+
PFNGLNAMEDRENDERBUFFERSTORAGEPROC glad_glNamedRenderbufferStorage;
|
429
|
+
PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetNamedFramebufferAttachmentParameteriv;
|
430
|
+
PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv;
|
431
|
+
PFNGLFENCESYNCPROC glad_glFenceSync;
|
432
|
+
PFNGLCOLORP3UIPROC glad_glColorP3ui;
|
433
|
+
PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC glad_glDrawElementsInstancedBaseVertexBaseInstance;
|
434
|
+
PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv;
|
435
|
+
PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender;
|
436
|
+
PFNGLVALIDATEPROGRAMPIPELINEPROC glad_glValidateProgramPipeline;
|
437
|
+
PFNGLGETNMINMAXPROC glad_glGetnMinmax;
|
438
|
+
PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv;
|
439
|
+
PFNGLMULTITEXCOORDP4UIVPROC glad_glMultiTexCoordP4uiv;
|
440
|
+
PFNGLTEXSTORAGE3DMULTISAMPLEPROC glad_glTexStorage3DMultisample;
|
441
|
+
PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate;
|
442
|
+
PFNGLDISABLEVERTEXARRAYATTRIBPROC glad_glDisableVertexArrayAttrib;
|
443
|
+
PFNGLGENSAMPLERSPROC glad_glGenSamplers;
|
444
|
+
PFNGLCLAMPCOLORPROC glad_glClampColor;
|
445
|
+
PFNGLUNIFORM4IVPROC glad_glUniform4iv;
|
446
|
+
PFNGLCLEARSTENCILPROC glad_glClearStencil;
|
447
|
+
PFNGLTEXCOORDP1UIVPROC glad_glTexCoordP1uiv;
|
448
|
+
PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC glad_glGetNamedRenderbufferParameteriv;
|
449
|
+
PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC glad_glDrawTransformFeedbackInstanced;
|
450
|
+
PFNGLGENTEXTURESPROC glad_glGenTextures;
|
451
|
+
PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC glad_glTextureStorage2DMultisample;
|
452
|
+
PFNGLDRAWTRANSFORMFEEDBACKPROC glad_glDrawTransformFeedback;
|
453
|
+
PFNGLUNIFORM1DVPROC glad_glUniform1dv;
|
454
|
+
PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv;
|
455
|
+
PFNGLGETTRANSFORMFEEDBACKI_VPROC glad_glGetTransformFeedbacki_v;
|
456
|
+
PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv;
|
457
|
+
PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC glad_glClearNamedFramebufferuiv;
|
458
|
+
PFNGLISSYNCPROC glad_glIsSync;
|
459
|
+
PFNGLCLEARNAMEDFRAMEBUFFERIVPROC glad_glClearNamedFramebufferiv;
|
460
|
+
PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_glGetActiveUniformBlockName;
|
461
|
+
PFNGLUNIFORM2IPROC glad_glUniform2i;
|
462
|
+
PFNGLUNIFORM2FPROC glad_glUniform2f;
|
463
|
+
PFNGLUNIFORM2DPROC glad_glUniform2d;
|
464
|
+
PFNGLTEXCOORDP4UIPROC glad_glTexCoordP4ui;
|
465
|
+
PFNGLGETPROGRAMIVPROC glad_glGetProgramiv;
|
466
|
+
PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer;
|
467
|
+
PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer;
|
468
|
+
PFNGLPROGRAMUNIFORM4FVPROC glad_glProgramUniform4fv;
|
469
|
+
PFNGLGETOBJECTPTRLABELPROC glad_glGetObjectPtrLabel;
|
470
|
+
PFNGLTEXTUREPARAMETERIPROC glad_glTextureParameteri;
|
471
|
+
PFNGLTEXTUREPARAMETERFPROC glad_glTextureParameterf;
|
472
|
+
PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange;
|
473
|
+
PFNGLPROGRAMUNIFORM2FVPROC glad_glProgramUniform2fv;
|
474
|
+
PFNGLUNIFORMMATRIX2X3DVPROC glad_glUniformMatrix2x3dv;
|
475
|
+
PFNGLPROGRAMUNIFORMMATRIX4DVPROC glad_glProgramUniformMatrix4dv;
|
476
|
+
PFNGLVERTEXATTRIBL3DPROC glad_glVertexAttribL3d;
|
477
|
+
PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC glad_glProgramUniformMatrix2x4dv;
|
478
|
+
PFNGLDISPATCHCOMPUTEPROC glad_glDispatchCompute;
|
479
|
+
PFNGLGENQUERIESPROC glad_glGenQueries;
|
480
|
+
PFNGLVERTEXATTRIBP1UIPROC glad_glVertexAttribP1ui;
|
481
|
+
PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D;
|
482
|
+
PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v;
|
483
|
+
PFNGLDELETESAMPLERSPROC glad_glDeleteSamplers;
|
484
|
+
PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D;
|
485
|
+
PFNGLGETTEXTURESUBIMAGEPROC glad_glGetTextureSubImage;
|
486
|
+
PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer;
|
487
|
+
PFNGLISENABLEDIPROC glad_glIsEnabledi;
|
488
|
+
PFNGLBINDBUFFERSRANGEPROC glad_glBindBuffersRange;
|
489
|
+
PFNGLSECONDARYCOLORP3UIPROC glad_glSecondaryColorP3ui;
|
490
|
+
PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_glBindFragDataLocationIndexed;
|
491
|
+
PFNGLCOPYIMAGESUBDATAPROC glad_glCopyImageSubData;
|
492
|
+
PFNGLUNIFORM2IVPROC glad_glUniform2iv;
|
493
|
+
PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv;
|
494
|
+
PFNGLUNIFORM4UIVPROC glad_glUniform4uiv;
|
495
|
+
PFNGLPROGRAMUNIFORM2DVPROC glad_glProgramUniform2dv;
|
496
|
+
PFNGLTEXTURESUBIMAGE3DPROC glad_glTextureSubImage3D;
|
497
|
+
PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D;
|
498
|
+
PFNGLGETSHADERIVPROC glad_glGetShaderiv;
|
499
|
+
PFNGLPROGRAMUNIFORMMATRIX3FVPROC glad_glProgramUniformMatrix3fv;
|
500
|
+
PFNGLOBJECTPTRLABELPROC glad_glObjectPtrLabel;
|
501
|
+
PFNGLINVALIDATEFRAMEBUFFERPROC glad_glInvalidateFramebuffer;
|
502
|
+
PFNGLBINDTEXTURESPROC glad_glBindTextures;
|
503
|
+
PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation;
|
504
|
+
PFNGLNAMEDBUFFERSTORAGEPROC glad_glNamedBufferStorage;
|
505
|
+
PFNGLSCISSORARRAYVPROC glad_glScissorArrayv;
|
506
|
+
PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset;
|
507
|
+
PFNGLGETDOUBLEVPROC glad_glGetDoublev;
|
508
|
+
PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d;
|
509
|
+
PFNGLUNIFORM4DVPROC glad_glUniform4dv;
|
510
|
+
PFNGLPROGRAMUNIFORM3DVPROC glad_glProgramUniform3dv;
|
511
|
+
PFNGLGETUNIFORMIVPROC glad_glGetUniformiv;
|
512
|
+
PFNGLINVALIDATEBUFFERDATAPROC glad_glInvalidateBufferData;
|
513
|
+
PFNGLGETNCOLORTABLEPROC glad_glGetnColorTable;
|
514
|
+
PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC glad_glCompressedTextureSubImage1D;
|
515
|
+
PFNGLMULTITEXCOORDP1UIVPROC glad_glMultiTexCoordP1uiv;
|
516
|
+
PFNGLUNIFORM3FVPROC glad_glUniform3fv;
|
517
|
+
PFNGLMULTIDRAWELEMENTSINDIRECTPROC glad_glMultiDrawElementsIndirect;
|
518
|
+
PFNGLDEPTHRANGEPROC glad_glDepthRange;
|
519
|
+
PFNGLINVALIDATESUBFRAMEBUFFERPROC glad_glInvalidateSubFramebuffer;
|
520
|
+
PFNGLMAPBUFFERPROC glad_glMapBuffer;
|
521
|
+
PFNGLCLEARTEXIMAGEPROC glad_glClearTexImage;
|
522
|
+
PFNGLVERTEXATTRIBLFORMATPROC glad_glVertexAttribLFormat;
|
523
|
+
PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D;
|
524
|
+
PFNGLDELETESYNCPROC glad_glDeleteSync;
|
525
|
+
PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D;
|
526
|
+
PFNGLGETTRANSFORMFEEDBACKI64_VPROC glad_glGetTransformFeedbacki64_v;
|
527
|
+
PFNGLUNIFORMMATRIX4DVPROC glad_glUniformMatrix4dv;
|
528
|
+
PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv;
|
529
|
+
PFNGLUNIFORMMATRIX4X2DVPROC glad_glUniformMatrix4x2dv;
|
530
|
+
PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements;
|
531
|
+
PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv;
|
532
|
+
PFNGLUNIFORM3IVPROC glad_glUniform3iv;
|
533
|
+
PFNGLPOLYGONMODEPROC glad_glPolygonMode;
|
534
|
+
PFNGLDRAWBUFFERSPROC glad_glDrawBuffers;
|
535
|
+
PFNGLGETNHISTOGRAMPROC glad_glGetnHistogram;
|
536
|
+
PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv;
|
537
|
+
PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC glad_glNamedFramebufferReadBuffer;
|
538
|
+
PFNGLPROGRAMUNIFORM4IVPROC glad_glProgramUniform4iv;
|
539
|
+
PFNGLGETPROGRAMBINARYPROC glad_glGetProgramBinary;
|
540
|
+
PFNGLUSEPROGRAMPROC glad_glUseProgram;
|
541
|
+
PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog;
|
542
|
+
PFNGLBINDTRANSFORMFEEDBACKPROC glad_glBindTransformFeedback;
|
543
|
+
PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray;
|
544
|
+
PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers;
|
545
|
+
PFNGLGENERATETEXTUREMIPMAPPROC glad_glGenerateTextureMipmap;
|
546
|
+
PFNGLSAMPLERPARAMETERIIVPROC glad_glSamplerParameterIiv;
|
547
|
+
PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex;
|
548
|
+
PFNGLNAMEDBUFFERSUBDATAPROC glad_glNamedBufferSubData;
|
549
|
+
PFNGLTEXTURESTORAGE2DPROC glad_glTextureStorage2D;
|
550
|
+
PFNGLGETNCONVOLUTIONFILTERPROC glad_glGetnConvolutionFilter;
|
551
|
+
PFNGLUNIFORM2UIVPROC glad_glUniform2uiv;
|
552
|
+
PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D;
|
553
|
+
PFNGLFINISHPROC glad_glFinish;
|
554
|
+
PFNGLDEPTHRANGEINDEXEDPROC glad_glDepthRangeIndexed;
|
555
|
+
PFNGLDELETESHADERPROC glad_glDeleteShader;
|
556
|
+
PFNGLGETINTERNALFORMATI64VPROC glad_glGetInternalformati64v;
|
557
|
+
PFNGLCOPYTEXTURESUBIMAGE1DPROC glad_glCopyTextureSubImage1D;
|
558
|
+
PFNGLPUSHDEBUGGROUPPROC glad_glPushDebugGroup;
|
559
|
+
PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv;
|
560
|
+
PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC glad_glGetProgramResourceLocationIndex;
|
561
|
+
PFNGLTEXTUREPARAMETERIUIVPROC glad_glTextureParameterIuiv;
|
562
|
+
PFNGLVIEWPORTPROC glad_glViewport;
|
563
|
+
PFNGLUNIFORM1UIVPROC glad_glUniform1uiv;
|
564
|
+
PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings;
|
565
|
+
PFNGLUNIFORM2UIPROC glad_glUniform2ui;
|
566
|
+
PFNGLGETNMAPDVPROC glad_glGetnMapdv;
|
567
|
+
PFNGLDEBUGMESSAGECALLBACKPROC glad_glDebugMessageCallback;
|
568
|
+
PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i;
|
569
|
+
PFNGLINVALIDATETEXIMAGEPROC glad_glInvalidateTexImage;
|
570
|
+
PFNGLVERTEXATTRIBFORMATPROC glad_glVertexAttribFormat;
|
571
|
+
PFNGLCLEARDEPTHPROC glad_glClearDepth;
|
572
|
+
PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv;
|
573
|
+
PFNGLTEXPARAMETERFPROC glad_glTexParameterf;
|
574
|
+
PFNGLVERTEXATTRIBBINDINGPROC glad_glVertexAttribBinding;
|
575
|
+
PFNGLTEXPARAMETERIPROC glad_glTexParameteri;
|
576
|
+
PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC glad_glGetActiveSubroutineUniformiv;
|
577
|
+
PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource;
|
578
|
+
PFNGLGETNTEXIMAGEPROC glad_glGetnTexImage;
|
579
|
+
PFNGLTEXBUFFERPROC glad_glTexBuffer;
|
580
|
+
PFNGLPIXELSTOREIPROC glad_glPixelStorei;
|
581
|
+
PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram;
|
582
|
+
PFNGLPIXELSTOREFPROC glad_glPixelStoref;
|
583
|
+
PFNGLCREATEBUFFERSPROC glad_glCreateBuffers;
|
584
|
+
PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v;
|
585
|
+
PFNGLCLIPCONTROLPROC glad_glClipControl;
|
586
|
+
PFNGLMULTITEXCOORDP2UIVPROC glad_glMultiTexCoordP2uiv;
|
587
|
+
PFNGLGENPROGRAMPIPELINESPROC glad_glGenProgramPipelines;
|
588
|
+
PFNGLGETINTERNALFORMATIVPROC glad_glGetInternalformativ;
|
589
|
+
PFNGLCOPYTEXTURESUBIMAGE3DPROC glad_glCopyTextureSubImage3D;
|
590
|
+
PFNGLVERTEXATTRIBP1UIVPROC glad_glVertexAttribP1uiv;
|
591
|
+
PFNGLLINKPROGRAMPROC glad_glLinkProgram;
|
592
|
+
PFNGLBINDTEXTUREPROC glad_glBindTexture;
|
593
|
+
PFNGLMULTIDRAWARRAYSINDIRECTPROC glad_glMultiDrawArraysIndirect;
|
594
|
+
PFNGLGETOBJECTLABELPROC glad_glGetObjectLabel;
|
595
|
+
PFNGLGETPROGRAMPIPELINEINFOLOGPROC glad_glGetProgramPipelineInfoLog;
|
596
|
+
PFNGLGETSTRINGPROC glad_glGetString;
|
597
|
+
PFNGLVERTEXATTRIBP2UIVPROC glad_glVertexAttribP2uiv;
|
598
|
+
PFNGLDETACHSHADERPROC glad_glDetachShader;
|
599
|
+
PFNGLPROGRAMUNIFORM3IPROC glad_glProgramUniform3i;
|
600
|
+
PFNGLUNIFORMMATRIX3X4DVPROC glad_glUniformMatrix3x4dv;
|
601
|
+
PFNGLENDQUERYPROC glad_glEndQuery;
|
602
|
+
PFNGLNORMALP3UIPROC glad_glNormalP3ui;
|
603
|
+
PFNGLFRAMEBUFFERPARAMETERIPROC glad_glFramebufferParameteri;
|
604
|
+
PFNGLGETPROGRAMRESOURCENAMEPROC glad_glGetProgramResourceName;
|
605
|
+
PFNGLUNIFORMMATRIX4X3DVPROC glad_glUniformMatrix4x3dv;
|
606
|
+
PFNGLDEPTHRANGEARRAYVPROC glad_glDepthRangeArrayv;
|
607
|
+
PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui;
|
608
|
+
PFNGLGETPROGRAMRESOURCELOCATIONPROC glad_glGetProgramResourceLocation;
|
609
|
+
PFNGLDELETETEXTURESPROC glad_glDeleteTextures;
|
610
|
+
PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC glad_glGetActiveAtomicCounterBufferiv;
|
611
|
+
PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate;
|
612
|
+
PFNGLDELETEQUERIESPROC glad_glDeleteQueries;
|
613
|
+
PFNGLNORMALP3UIVPROC glad_glNormalP3uiv;
|
614
|
+
PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f;
|
615
|
+
PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d;
|
616
|
+
PFNGLVIEWPORTINDEXEDFVPROC glad_glViewportIndexedfv;
|
617
|
+
PFNGLBINDBUFFERSBASEPROC glad_glBindBuffersBase;
|
618
|
+
PFNGLVERTEXATTRIBL4DVPROC glad_glVertexAttribL4dv;
|
619
|
+
PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv;
|
620
|
+
PFNGLCREATEVERTEXARRAYSPROC glad_glCreateVertexArrays;
|
621
|
+
PFNGLPROGRAMUNIFORM1DVPROC glad_glProgramUniform1dv;
|
622
|
+
PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s;
|
623
|
+
PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex;
|
624
|
+
PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage;
|
625
|
+
PFNGLSAMPLERPARAMETERIPROC glad_glSamplerParameteri;
|
626
|
+
PFNGLCLEARBUFFERSUBDATAPROC glad_glClearBufferSubData;
|
627
|
+
PFNGLSAMPLERPARAMETERFPROC glad_glSamplerParameterf;
|
628
|
+
PFNGLTEXSTORAGE1DPROC glad_glTexStorage1D;
|
629
|
+
PFNGLUNIFORM1FPROC glad_glUniform1f;
|
630
|
+
PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv;
|
631
|
+
PFNGLUNIFORM1DPROC glad_glUniform1d;
|
632
|
+
PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage;
|
633
|
+
PFNGLGETNCOMPRESSEDTEXIMAGEPROC glad_glGetnCompressedTexImage;
|
634
|
+
PFNGLUNIFORM1IPROC glad_glUniform1i;
|
635
|
+
PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib;
|
636
|
+
PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D;
|
637
|
+
PFNGLDISABLEPROC glad_glDisable;
|
638
|
+
PFNGLLOGICOPPROC glad_glLogicOp;
|
639
|
+
PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glad_glProgramUniformMatrix3x4fv;
|
640
|
+
PFNGLGETTEXTUREPARAMETERIUIVPROC glad_glGetTextureParameterIuiv;
|
641
|
+
PFNGLPROGRAMUNIFORM4UIVPROC glad_glProgramUniform4uiv;
|
642
|
+
PFNGLUNIFORM4UIPROC glad_glUniform4ui;
|
643
|
+
PFNGLCOPYTEXTURESUBIMAGE2DPROC glad_glCopyTextureSubImage2D;
|
644
|
+
PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer;
|
645
|
+
PFNGLCULLFACEPROC glad_glCullFace;
|
646
|
+
PFNGLPROGRAMUNIFORM4IPROC glad_glProgramUniform4i;
|
647
|
+
PFNGLPROGRAMUNIFORM4FPROC glad_glProgramUniform4f;
|
648
|
+
PFNGLVIEWPORTINDEXEDFPROC glad_glViewportIndexedf;
|
649
|
+
PFNGLPROGRAMUNIFORM4DPROC glad_glProgramUniform4d;
|
650
|
+
PFNGLTEXTUREPARAMETERIIVPROC glad_glTextureParameterIiv;
|
651
|
+
PFNGLGETSTRINGIPROC glad_glGetStringi;
|
652
|
+
PFNGLTEXTURESUBIMAGE2DPROC glad_glTextureSubImage2D;
|
653
|
+
PFNGLSCISSORINDEXEDPROC glad_glScissorIndexed;
|
654
|
+
PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC glad_glDrawTransformFeedbackStream;
|
655
|
+
PFNGLATTACHSHADERPROC glad_glAttachShader;
|
656
|
+
PFNGLQUERYCOUNTERPROC glad_glQueryCounter;
|
657
|
+
PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex;
|
658
|
+
PFNGLSHADERBINARYPROC glad_glShaderBinary;
|
659
|
+
PFNGLUNMAPNAMEDBUFFERPROC glad_glUnmapNamedBuffer;
|
660
|
+
PFNGLDRAWELEMENTSPROC glad_glDrawElements;
|
661
|
+
PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glNamedRenderbufferStorageMultisample;
|
662
|
+
PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv;
|
663
|
+
PFNGLCLEARNAMEDBUFFERDATAPROC glad_glClearNamedBufferData;
|
664
|
+
PFNGLUNIFORM1IVPROC glad_glUniform1iv;
|
665
|
+
PFNGLCREATESHADERPROGRAMVPROC glad_glCreateShaderProgramv;
|
666
|
+
PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv;
|
667
|
+
PFNGLREADBUFFERPROC glad_glReadBuffer;
|
668
|
+
PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv;
|
669
|
+
PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced;
|
670
|
+
PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap;
|
671
|
+
PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC glad_glCompressedTextureSubImage2D;
|
672
|
+
PFNGLPROGRAMUNIFORMMATRIX2FVPROC glad_glProgramUniformMatrix2fv;
|
673
|
+
PFNGLSAMPLERPARAMETERIVPROC glad_glSamplerParameteriv;
|
674
|
+
PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f;
|
675
|
+
PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv;
|
676
|
+
PFNGLPOINTPARAMETERIPROC glad_glPointParameteri;
|
677
|
+
PFNGLBLENDCOLORPROC glad_glBlendColor;
|
678
|
+
PFNGLSAMPLERPARAMETERIUIVPROC glad_glSamplerParameterIuiv;
|
679
|
+
PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC glad_glCheckNamedFramebufferStatus;
|
680
|
+
PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer;
|
681
|
+
PFNGLPOINTPARAMETERFPROC glad_glPointParameterf;
|
682
|
+
PFNGLPROGRAMUNIFORM1IVPROC glad_glProgramUniform1iv;
|
683
|
+
PFNGLGETVERTEXARRAYIVPROC glad_glGetVertexArrayiv;
|
684
|
+
PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s;
|
685
|
+
PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer;
|
686
|
+
PFNGLVERTEXATTRIBP4UIVPROC glad_glVertexAttribP4uiv;
|
687
|
+
PFNGLGETPROGRAMSTAGEIVPROC glad_glGetProgramStageiv;
|
688
|
+
PFNGLISPROGRAMPROC glad_glIsProgram;
|
689
|
+
PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv;
|
690
|
+
PFNGLTEXTURESTORAGE3DPROC glad_glTextureStorage3D;
|
691
|
+
PFNGLUNIFORMMATRIX3X2DVPROC glad_glUniformMatrix3x2dv;
|
692
|
+
PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv;
|
693
|
+
PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC glad_glProgramUniformMatrix2x3dv;
|
694
|
+
PFNGLISTRANSFORMFEEDBACKPROC glad_glIsTransformFeedback;
|
695
|
+
PFNGLUNIFORM4IPROC glad_glUniform4i;
|
696
|
+
PFNGLACTIVETEXTUREPROC glad_glActiveTexture;
|
697
|
+
PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray;
|
698
|
+
PFNGLISPROGRAMPIPELINEPROC glad_glIsProgramPipeline;
|
699
|
+
PFNGLREADPIXELSPROC glad_glReadPixels;
|
700
|
+
PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv;
|
701
|
+
PFNGLUNIFORM4FPROC glad_glUniform4f;
|
702
|
+
PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample;
|
703
|
+
PFNGLCREATEPROGRAMPIPELINESPROC glad_glCreateProgramPipelines;
|
704
|
+
PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv;
|
705
|
+
PFNGLVERTEXATTRIBLPOINTERPROC glad_glVertexAttribLPointer;
|
706
|
+
PFNGLGETNUNIFORMFVPROC glad_glGetnUniformfv;
|
707
|
+
PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex;
|
708
|
+
PFNGLVERTEXATTRIBL2DVPROC glad_glVertexAttribL2dv;
|
709
|
+
PFNGLENABLEVERTEXARRAYATTRIBPROC glad_glEnableVertexArrayAttrib;
|
710
|
+
PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC glad_glDrawTransformFeedbackStreamInstanced;
|
711
|
+
PFNGLGETACTIVESUBROUTINENAMEPROC glad_glGetActiveSubroutineName;
|
712
|
+
PFNGLVERTEXATTRIBL2DPROC glad_glVertexAttribL2d;
|
713
|
+
PFNGLSTENCILFUNCPROC glad_glStencilFunc;
|
714
|
+
PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC glad_glInvalidateNamedFramebufferData;
|
715
|
+
PFNGLPOPDEBUGGROUPPROC glad_glPopDebugGroup;
|
716
|
+
PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding;
|
717
|
+
PFNGLGETVERTEXARRAYINDEXEDIVPROC glad_glGetVertexArrayIndexediv;
|
718
|
+
PFNGLCOLORP4UIPROC glad_glColorP4ui;
|
719
|
+
PFNGLUSEPROGRAMSTAGESPROC glad_glUseProgramStages;
|
720
|
+
PFNGLPROGRAMUNIFORM3FPROC glad_glProgramUniform3f;
|
721
|
+
PFNGLPROGRAMUNIFORM3DPROC glad_glProgramUniform3d;
|
722
|
+
PFNGLVERTEXATTRIBI4IVPROC glad_glVertexAttribI4iv;
|
723
|
+
PFNGLGETPROGRAMPIPELINEIVPROC glad_glGetProgramPipelineiv;
|
724
|
+
PFNGLTEXSTORAGE3DPROC glad_glTexStorage3D;
|
725
|
+
PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC glad_glNamedFramebufferDrawBuffer;
|
726
|
+
PFNGLGETQUERYINDEXEDIVPROC glad_glGetQueryIndexediv;
|
727
|
+
PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog;
|
728
|
+
PFNGLOBJECTLABELPROC glad_glObjectLabel;
|
729
|
+
PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i;
|
730
|
+
PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData;
|
731
|
+
PFNGLGETVERTEXATTRIBLDVPROC glad_glGetVertexAttribLdv;
|
732
|
+
PFNGLGETNUNIFORMUIVPROC glad_glGetnUniformuiv;
|
733
|
+
PFNGLGETQUERYBUFFEROBJECTIVPROC glad_glGetQueryBufferObjectiv;
|
734
|
+
PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate;
|
735
|
+
PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui;
|
736
|
+
PFNGLGENBUFFERSPROC glad_glGenBuffers;
|
737
|
+
PFNGLGETSUBROUTINEINDEXPROC glad_glGetSubroutineIndex;
|
738
|
+
PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv;
|
739
|
+
PFNGLGETNPOLYGONSTIPPLEPROC glad_glGetnPolygonStipple;
|
740
|
+
PFNGLBLENDFUNCPROC glad_glBlendFunc;
|
741
|
+
PFNGLCREATEPROGRAMPROC glad_glCreateProgram;
|
742
|
+
PFNGLTEXIMAGE3DPROC glad_glTexImage3D;
|
743
|
+
PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer;
|
744
|
+
PFNGLCLEARNAMEDFRAMEBUFFERFVPROC glad_glClearNamedFramebufferfv;
|
745
|
+
PFNGLGETNAMEDBUFFERSUBDATAPROC glad_glGetNamedBufferSubData;
|
746
|
+
PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex;
|
747
|
+
PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC glad_glFlushMappedNamedBufferRange;
|
748
|
+
PFNGLINVALIDATETEXSUBIMAGEPROC glad_glInvalidateTexSubImage;
|
749
|
+
PFNGLBINDIMAGETEXTURESPROC glad_glBindImageTextures;
|
750
|
+
PFNGLGETINTEGER64VPROC glad_glGetInteger64v;
|
751
|
+
PFNGLBINDPROGRAMPIPELINEPROC glad_glBindProgramPipeline;
|
752
|
+
PFNGLSCISSORPROC glad_glScissor;
|
753
|
+
PFNGLTEXCOORDP4UIVPROC glad_glTexCoordP4uiv;
|
754
|
+
PFNGLGETBOOLEANVPROC glad_glGetBooleanv;
|
755
|
+
PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC glad_glNamedFramebufferRenderbuffer;
|
756
|
+
PFNGLVERTEXP2UIVPROC glad_glVertexP2uiv;
|
757
|
+
PFNGLUNIFORM3UIVPROC glad_glUniform3uiv;
|
758
|
+
PFNGLCLEARCOLORPROC glad_glClearColor;
|
759
|
+
PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv;
|
760
|
+
PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv;
|
761
|
+
PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v;
|
762
|
+
PFNGLPROGRAMUNIFORM4DVPROC glad_glProgramUniform4dv;
|
763
|
+
PFNGLCOLORP4UIVPROC glad_glColorP4uiv;
|
764
|
+
PFNGLGETTEXTURELEVELPARAMETERIVPROC glad_glGetTextureLevelParameteriv;
|
765
|
+
PFNGLGETNUNIFORMIVPROC glad_glGetnUniformiv;
|
766
|
+
PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv;
|
767
|
+
PFNGLUNIFORM3UIPROC glad_glUniform3ui;
|
768
|
+
PFNGLPROGRAMUNIFORM3UIVPROC glad_glProgramUniform3uiv;
|
769
|
+
PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv;
|
770
|
+
PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv;
|
771
|
+
PFNGLUNIFORM2FVPROC glad_glUniform2fv;
|
772
|
+
PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC glad_glGetActiveSubroutineUniformName;
|
773
|
+
PFNGLGETPROGRAMRESOURCEINDEXPROC glad_glGetProgramResourceIndex;
|
774
|
+
PFNGLDRAWELEMENTSINDIRECTPROC glad_glDrawElementsIndirect;
|
775
|
+
PFNGLGETTEXTURELEVELPARAMETERFVPROC glad_glGetTextureLevelParameterfv;
|
776
|
+
PFNGLGETNAMEDBUFFERPOINTERVPROC glad_glGetNamedBufferPointerv;
|
777
|
+
PFNGLDISPATCHCOMPUTEINDIRECTPROC glad_glDispatchComputeIndirect;
|
778
|
+
PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC glad_glInvalidateNamedFramebufferSubData;
|
779
|
+
PFNGLGETSAMPLERPARAMETERIUIVPROC glad_glGetSamplerParameterIuiv;
|
780
|
+
PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange;
|
781
|
+
PFNGLTEXTURESUBIMAGE1DPROC glad_glTextureSubImage1D;
|
782
|
+
PFNGLVERTEXATTRIBL3DVPROC glad_glVertexAttribL3dv;
|
783
|
+
PFNGLGETUNIFORMDVPROC glad_glGetUniformdv;
|
784
|
+
PFNGLGETQUERYBUFFEROBJECTUI64VPROC glad_glGetQueryBufferObjectui64v;
|
785
|
+
PFNGLCLEARDEPTHFPROC glad_glClearDepthf;
|
786
|
+
PFNGLCREATERENDERBUFFERSPROC glad_glCreateRenderbuffers;
|
787
|
+
PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv;
|
788
|
+
PFNGLGENTRANSFORMFEEDBACKSPROC glad_glGenTransformFeedbacks;
|
789
|
+
PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv;
|
790
|
+
PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv;
|
791
|
+
PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC glad_glProgramUniformMatrix4x3dv;
|
792
|
+
PFNGLDEPTHFUNCPROC glad_glDepthFunc;
|
793
|
+
PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D;
|
794
|
+
PFNGLPROGRAMBINARYPROC glad_glProgramBinary;
|
795
|
+
PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv;
|
796
|
+
PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv;
|
797
|
+
PFNGLMULTITEXCOORDP1UIPROC glad_glMultiTexCoordP1ui;
|
798
|
+
PFNGLBUFFERSTORAGEPROC glad_glBufferStorage;
|
799
|
+
PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync;
|
800
|
+
PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui;
|
801
|
+
PFNGLGETFLOATI_VPROC glad_glGetFloati_v;
|
802
|
+
PFNGLCOLORMASKPROC glad_glColorMask;
|
803
|
+
PFNGLTEXTUREBUFFERPROC glad_glTextureBuffer;
|
804
|
+
PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv;
|
805
|
+
PFNGLBLENDEQUATIONPROC glad_glBlendEquation;
|
806
|
+
PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation;
|
807
|
+
PFNGLUNIFORMMATRIX2X4DVPROC glad_glUniformMatrix2x4dv;
|
808
|
+
PFNGLVERTEXARRAYATTRIBFORMATPROC glad_glVertexArrayAttribFormat;
|
809
|
+
PFNGLREADNPIXELSPROC glad_glReadnPixels;
|
810
|
+
PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC glad_glNamedFramebufferDrawBuffers;
|
811
|
+
PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback;
|
812
|
+
PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv;
|
813
|
+
PFNGLGETUNIFORMSUBROUTINEUIVPROC glad_glGetUniformSubroutineuiv;
|
814
|
+
PFNGLUNIFORM4FVPROC glad_glUniform4fv;
|
815
|
+
PFNGLBINDVERTEXBUFFERPROC glad_glBindVertexBuffer;
|
816
|
+
PFNGLDEBUGMESSAGEINSERTPROC glad_glDebugMessageInsert;
|
817
|
+
PFNGLCREATESAMPLERSPROC glad_glCreateSamplers;
|
818
|
+
PFNGLGETPROGRAMRESOURCEIVPROC glad_glGetProgramResourceiv;
|
819
|
+
PFNGLCLEARBUFFERDATAPROC glad_glClearBufferData;
|
820
|
+
PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback;
|
821
|
+
PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv;
|
822
|
+
PFNGLISSAMPLERPROC glad_glIsSampler;
|
823
|
+
PFNGLVERTEXP3UIPROC glad_glVertexP3ui;
|
824
|
+
PFNGLVERTEXATTRIBDIVISORPROC glad_glVertexAttribDivisor;
|
825
|
+
PFNGLBINDSAMPLERSPROC glad_glBindSamplers;
|
826
|
+
PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D;
|
827
|
+
PFNGLDELETETRANSFORMFEEDBACKSPROC glad_glDeleteTransformFeedbacks;
|
828
|
+
PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D;
|
829
|
+
PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex;
|
830
|
+
PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus;
|
831
|
+
PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender;
|
832
|
+
PFNGLVERTEXP3UIVPROC glad_glVertexP3uiv;
|
833
|
+
PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation;
|
834
|
+
PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv;
|
835
|
+
PFNGLUNIFORMMATRIX2DVPROC glad_glUniformMatrix2dv;
|
836
|
+
PFNGLBLENDFUNCIPROC glad_glBlendFunci;
|
837
|
+
PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv;
|
838
|
+
PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements;
|
839
|
+
PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv;
|
840
|
+
PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase;
|
841
|
+
PFNGLBUFFERSUBDATAPROC glad_glBufferSubData;
|
842
|
+
PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv;
|
843
|
+
PFNGLMAPBUFFERRANGEPROC glad_glMapBufferRange;
|
844
|
+
PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture;
|
845
|
+
PFNGLBLENDFUNCSEPARATEIPROC glad_glBlendFuncSeparatei;
|
846
|
+
PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glad_glProgramUniformMatrix4x2fv;
|
847
|
+
PFNGLVERTEXATTRIBL1DPROC glad_glVertexAttribL1d;
|
848
|
+
PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays;
|
849
|
+
PFNGLVERTEXP4UIVPROC glad_glVertexP4uiv;
|
850
|
+
PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv;
|
851
|
+
PFNGLGETSHADERPRECISIONFORMATPROC glad_glGetShaderPrecisionFormat;
|
852
|
+
PFNGLTEXTUREVIEWPROC glad_glTextureView;
|
853
|
+
PFNGLDISABLEIPROC glad_glDisablei;
|
854
|
+
PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glad_glProgramUniformMatrix2x4fv;
|
855
|
+
PFNGLSHADERSOURCEPROC glad_glShaderSource;
|
856
|
+
PFNGLGETNSEPARABLEFILTERPROC glad_glGetnSeparableFilter;
|
857
|
+
PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers;
|
858
|
+
PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv;
|
859
|
+
PFNGLRELEASESHADERCOMPILERPROC glad_glReleaseShaderCompiler;
|
860
|
+
PFNGLVERTEXATTRIBIFORMATPROC glad_glVertexAttribIFormat;
|
861
|
+
PFNGLCREATEFRAMEBUFFERSPROC glad_glCreateFramebuffers;
|
862
|
+
PFNGLGETSYNCIVPROC glad_glGetSynciv;
|
863
|
+
PFNGLGETNPIXELMAPFVPROC glad_glGetnPixelMapfv;
|
864
|
+
PFNGLTEXCOORDP2UIVPROC glad_glTexCoordP2uiv;
|
865
|
+
PFNGLPATCHPARAMETERFVPROC glad_glPatchParameterfv;
|
866
|
+
PFNGLPROGRAMUNIFORM2IPROC glad_glProgramUniform2i;
|
867
|
+
PFNGLGETNAMEDBUFFERPARAMETERI64VPROC glad_glGetNamedBufferParameteri64v;
|
868
|
+
PFNGLBEGINQUERYPROC glad_glBeginQuery;
|
869
|
+
PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv;
|
870
|
+
PFNGLBINDBUFFERPROC glad_glBindBuffer;
|
871
|
+
PFNGLTEXSTORAGE2DMULTISAMPLEPROC glad_glTexStorage2DMultisample;
|
872
|
+
PFNGLPROGRAMUNIFORM2DPROC glad_glProgramUniform2d;
|
873
|
+
PFNGLPROGRAMUNIFORM2FPROC glad_glProgramUniform2f;
|
874
|
+
PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv;
|
875
|
+
PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv;
|
876
|
+
PFNGLBUFFERDATAPROC glad_glBufferData;
|
877
|
+
PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv;
|
878
|
+
PFNGLTEXCOORDP1UIPROC glad_glTexCoordP1ui;
|
879
|
+
PFNGLGETERRORPROC glad_glGetError;
|
880
|
+
PFNGLCREATETRANSFORMFEEDBACKSPROC glad_glCreateTransformFeedbacks;
|
881
|
+
PFNGLVERTEXATTRIBP2UIPROC glad_glVertexAttribP2ui;
|
882
|
+
PFNGLGETFLOATVPROC glad_glGetFloatv;
|
883
|
+
PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D;
|
884
|
+
PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv;
|
885
|
+
PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv;
|
886
|
+
PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i;
|
887
|
+
PFNGLVERTEXATTRIBP3UIVPROC glad_glVertexAttribP3uiv;
|
888
|
+
PFNGLUNIFORM4DPROC glad_glUniform4d;
|
889
|
+
PFNGLSECONDARYCOLORP3UIVPROC glad_glSecondaryColorP3uiv;
|
890
|
+
PFNGLGETINTEGERVPROC glad_glGetIntegerv;
|
891
|
+
PFNGLGETVERTEXARRAYINDEXED64IVPROC glad_glGetVertexArrayIndexed64iv;
|
892
|
+
PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv;
|
893
|
+
PFNGLPROGRAMUNIFORMMATRIX3DVPROC glad_glProgramUniformMatrix3dv;
|
894
|
+
PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D;
|
895
|
+
PFNGLISQUERYPROC glad_glIsQuery;
|
896
|
+
PFNGLPROGRAMUNIFORM2UIPROC glad_glProgramUniform2ui;
|
897
|
+
PFNGLPROGRAMUNIFORM4UIPROC glad_glProgramUniform4ui;
|
898
|
+
PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv;
|
899
|
+
PFNGLTEXIMAGE2DPROC glad_glTexImage2D;
|
900
|
+
PFNGLSTENCILMASKPROC glad_glStencilMask;
|
901
|
+
PFNGLSAMPLERPARAMETERFVPROC glad_glSamplerParameterfv;
|
902
|
+
PFNGLISTEXTUREPROC glad_glIsTexture;
|
903
|
+
PFNGLNAMEDBUFFERDATAPROC glad_glNamedBufferData;
|
904
|
+
PFNGLUNIFORM1FVPROC glad_glUniform1fv;
|
905
|
+
PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv;
|
906
|
+
PFNGLCLEARNAMEDBUFFERSUBDATAPROC glad_glClearNamedBufferSubData;
|
907
|
+
PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv;
|
908
|
+
PFNGLSCISSORINDEXEDVPROC glad_glScissorIndexedv;
|
909
|
+
PFNGLUNIFORM3DVPROC glad_glUniform3dv;
|
910
|
+
PFNGLGETNPIXELMAPUIVPROC glad_glGetnPixelMapuiv;
|
911
|
+
PFNGLPROGRAMUNIFORM3FVPROC glad_glProgramUniform3fv;
|
912
|
+
PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC glad_glGetSubroutineUniformLocation;
|
913
|
+
PFNGLGETFRAMEBUFFERPARAMETERIVPROC glad_glGetFramebufferParameteriv;
|
914
|
+
PFNGLGETSAMPLERPARAMETERIVPROC glad_glGetSamplerParameteriv;
|
915
|
+
PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC glad_glGetCompressedTextureSubImage;
|
916
|
+
PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData;
|
917
|
+
PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv;
|
918
|
+
PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d;
|
919
|
+
PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f;
|
920
|
+
PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv;
|
921
|
+
PFNGLGETQUERYOBJECTUI64VPROC glad_glGetQueryObjectui64v;
|
922
|
+
PFNGLDEPTHMASKPROC glad_glDepthMask;
|
923
|
+
PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s;
|
924
|
+
PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample;
|
925
|
+
PFNGLPROGRAMUNIFORM1FVPROC glad_glProgramUniform1fv;
|
926
|
+
PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex;
|
927
|
+
PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample;
|
928
|
+
PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform;
|
929
|
+
PFNGLFRONTFACEPROC glad_glFrontFace;
|
930
|
+
PFNGLTEXBUFFERRANGEPROC glad_glTexBufferRange;
|
931
|
+
PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC glad_glNamedFramebufferTextureLayer;
|
932
|
+
PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC glad_glNamedFramebufferParameteri;
|
933
|
+
PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC glad_glDrawArraysInstancedBaseInstance;
|
934
|
+
PFNGLDELETEPROGRAMPIPELINESPROC glad_glDeleteProgramPipelines;
|
935
|
+
static void load_GL_VERSION_1_0(GLADloadproc load) {
|
936
|
+
if(!GLAD_GL_VERSION_1_0) return;
|
937
|
+
glad_glCullFace = (PFNGLCULLFACEPROC)load("glCullFace");
|
938
|
+
glad_glFrontFace = (PFNGLFRONTFACEPROC)load("glFrontFace");
|
939
|
+
glad_glHint = (PFNGLHINTPROC)load("glHint");
|
940
|
+
glad_glLineWidth = (PFNGLLINEWIDTHPROC)load("glLineWidth");
|
941
|
+
glad_glPointSize = (PFNGLPOINTSIZEPROC)load("glPointSize");
|
942
|
+
glad_glPolygonMode = (PFNGLPOLYGONMODEPROC)load("glPolygonMode");
|
943
|
+
glad_glScissor = (PFNGLSCISSORPROC)load("glScissor");
|
944
|
+
glad_glTexParameterf = (PFNGLTEXPARAMETERFPROC)load("glTexParameterf");
|
945
|
+
glad_glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)load("glTexParameterfv");
|
946
|
+
glad_glTexParameteri = (PFNGLTEXPARAMETERIPROC)load("glTexParameteri");
|
947
|
+
glad_glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)load("glTexParameteriv");
|
948
|
+
glad_glTexImage1D = (PFNGLTEXIMAGE1DPROC)load("glTexImage1D");
|
949
|
+
glad_glTexImage2D = (PFNGLTEXIMAGE2DPROC)load("glTexImage2D");
|
950
|
+
glad_glDrawBuffer = (PFNGLDRAWBUFFERPROC)load("glDrawBuffer");
|
951
|
+
glad_glClear = (PFNGLCLEARPROC)load("glClear");
|
952
|
+
glad_glClearColor = (PFNGLCLEARCOLORPROC)load("glClearColor");
|
953
|
+
glad_glClearStencil = (PFNGLCLEARSTENCILPROC)load("glClearStencil");
|
954
|
+
glad_glClearDepth = (PFNGLCLEARDEPTHPROC)load("glClearDepth");
|
955
|
+
glad_glStencilMask = (PFNGLSTENCILMASKPROC)load("glStencilMask");
|
956
|
+
glad_glColorMask = (PFNGLCOLORMASKPROC)load("glColorMask");
|
957
|
+
glad_glDepthMask = (PFNGLDEPTHMASKPROC)load("glDepthMask");
|
958
|
+
glad_glDisable = (PFNGLDISABLEPROC)load("glDisable");
|
959
|
+
glad_glEnable = (PFNGLENABLEPROC)load("glEnable");
|
960
|
+
glad_glFinish = (PFNGLFINISHPROC)load("glFinish");
|
961
|
+
glad_glFlush = (PFNGLFLUSHPROC)load("glFlush");
|
962
|
+
glad_glBlendFunc = (PFNGLBLENDFUNCPROC)load("glBlendFunc");
|
963
|
+
glad_glLogicOp = (PFNGLLOGICOPPROC)load("glLogicOp");
|
964
|
+
glad_glStencilFunc = (PFNGLSTENCILFUNCPROC)load("glStencilFunc");
|
965
|
+
glad_glStencilOp = (PFNGLSTENCILOPPROC)load("glStencilOp");
|
966
|
+
glad_glDepthFunc = (PFNGLDEPTHFUNCPROC)load("glDepthFunc");
|
967
|
+
glad_glPixelStoref = (PFNGLPIXELSTOREFPROC)load("glPixelStoref");
|
968
|
+
glad_glPixelStorei = (PFNGLPIXELSTOREIPROC)load("glPixelStorei");
|
969
|
+
glad_glReadBuffer = (PFNGLREADBUFFERPROC)load("glReadBuffer");
|
970
|
+
glad_glReadPixels = (PFNGLREADPIXELSPROC)load("glReadPixels");
|
971
|
+
glad_glGetBooleanv = (PFNGLGETBOOLEANVPROC)load("glGetBooleanv");
|
972
|
+
glad_glGetDoublev = (PFNGLGETDOUBLEVPROC)load("glGetDoublev");
|
973
|
+
glad_glGetError = (PFNGLGETERRORPROC)load("glGetError");
|
974
|
+
glad_glGetFloatv = (PFNGLGETFLOATVPROC)load("glGetFloatv");
|
975
|
+
glad_glGetIntegerv = (PFNGLGETINTEGERVPROC)load("glGetIntegerv");
|
976
|
+
glad_glGetString = (PFNGLGETSTRINGPROC)load("glGetString");
|
977
|
+
glad_glGetTexImage = (PFNGLGETTEXIMAGEPROC)load("glGetTexImage");
|
978
|
+
glad_glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)load("glGetTexParameterfv");
|
979
|
+
glad_glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)load("glGetTexParameteriv");
|
980
|
+
glad_glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)load("glGetTexLevelParameterfv");
|
981
|
+
glad_glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)load("glGetTexLevelParameteriv");
|
982
|
+
glad_glIsEnabled = (PFNGLISENABLEDPROC)load("glIsEnabled");
|
983
|
+
glad_glDepthRange = (PFNGLDEPTHRANGEPROC)load("glDepthRange");
|
984
|
+
glad_glViewport = (PFNGLVIEWPORTPROC)load("glViewport");
|
985
|
+
}
|
986
|
+
static void load_GL_VERSION_1_1(GLADloadproc load) {
|
987
|
+
if(!GLAD_GL_VERSION_1_1) return;
|
988
|
+
glad_glDrawArrays = (PFNGLDRAWARRAYSPROC)load("glDrawArrays");
|
989
|
+
glad_glDrawElements = (PFNGLDRAWELEMENTSPROC)load("glDrawElements");
|
990
|
+
glad_glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)load("glPolygonOffset");
|
991
|
+
glad_glCopyTexImage1D = (PFNGLCOPYTEXIMAGE1DPROC)load("glCopyTexImage1D");
|
992
|
+
glad_glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)load("glCopyTexImage2D");
|
993
|
+
glad_glCopyTexSubImage1D = (PFNGLCOPYTEXSUBIMAGE1DPROC)load("glCopyTexSubImage1D");
|
994
|
+
glad_glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)load("glCopyTexSubImage2D");
|
995
|
+
glad_glTexSubImage1D = (PFNGLTEXSUBIMAGE1DPROC)load("glTexSubImage1D");
|
996
|
+
glad_glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)load("glTexSubImage2D");
|
997
|
+
glad_glBindTexture = (PFNGLBINDTEXTUREPROC)load("glBindTexture");
|
998
|
+
glad_glDeleteTextures = (PFNGLDELETETEXTURESPROC)load("glDeleteTextures");
|
999
|
+
glad_glGenTextures = (PFNGLGENTEXTURESPROC)load("glGenTextures");
|
1000
|
+
glad_glIsTexture = (PFNGLISTEXTUREPROC)load("glIsTexture");
|
1001
|
+
}
|
1002
|
+
static void load_GL_VERSION_1_2(GLADloadproc load) {
|
1003
|
+
if(!GLAD_GL_VERSION_1_2) return;
|
1004
|
+
glad_glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)load("glDrawRangeElements");
|
1005
|
+
glad_glTexImage3D = (PFNGLTEXIMAGE3DPROC)load("glTexImage3D");
|
1006
|
+
glad_glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)load("glTexSubImage3D");
|
1007
|
+
glad_glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)load("glCopyTexSubImage3D");
|
1008
|
+
}
|
1009
|
+
static void load_GL_VERSION_1_3(GLADloadproc load) {
|
1010
|
+
if(!GLAD_GL_VERSION_1_3) return;
|
1011
|
+
glad_glActiveTexture = (PFNGLACTIVETEXTUREPROC)load("glActiveTexture");
|
1012
|
+
glad_glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)load("glSampleCoverage");
|
1013
|
+
glad_glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)load("glCompressedTexImage3D");
|
1014
|
+
glad_glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)load("glCompressedTexImage2D");
|
1015
|
+
glad_glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)load("glCompressedTexImage1D");
|
1016
|
+
glad_glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)load("glCompressedTexSubImage3D");
|
1017
|
+
glad_glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)load("glCompressedTexSubImage2D");
|
1018
|
+
glad_glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)load("glCompressedTexSubImage1D");
|
1019
|
+
glad_glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)load("glGetCompressedTexImage");
|
1020
|
+
}
|
1021
|
+
static void load_GL_VERSION_1_4(GLADloadproc load) {
|
1022
|
+
if(!GLAD_GL_VERSION_1_4) return;
|
1023
|
+
glad_glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)load("glBlendFuncSeparate");
|
1024
|
+
glad_glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)load("glMultiDrawArrays");
|
1025
|
+
glad_glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)load("glMultiDrawElements");
|
1026
|
+
glad_glPointParameterf = (PFNGLPOINTPARAMETERFPROC)load("glPointParameterf");
|
1027
|
+
glad_glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)load("glPointParameterfv");
|
1028
|
+
glad_glPointParameteri = (PFNGLPOINTPARAMETERIPROC)load("glPointParameteri");
|
1029
|
+
glad_glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)load("glPointParameteriv");
|
1030
|
+
glad_glBlendColor = (PFNGLBLENDCOLORPROC)load("glBlendColor");
|
1031
|
+
glad_glBlendEquation = (PFNGLBLENDEQUATIONPROC)load("glBlendEquation");
|
1032
|
+
}
|
1033
|
+
static void load_GL_VERSION_1_5(GLADloadproc load) {
|
1034
|
+
if(!GLAD_GL_VERSION_1_5) return;
|
1035
|
+
glad_glGenQueries = (PFNGLGENQUERIESPROC)load("glGenQueries");
|
1036
|
+
glad_glDeleteQueries = (PFNGLDELETEQUERIESPROC)load("glDeleteQueries");
|
1037
|
+
glad_glIsQuery = (PFNGLISQUERYPROC)load("glIsQuery");
|
1038
|
+
glad_glBeginQuery = (PFNGLBEGINQUERYPROC)load("glBeginQuery");
|
1039
|
+
glad_glEndQuery = (PFNGLENDQUERYPROC)load("glEndQuery");
|
1040
|
+
glad_glGetQueryiv = (PFNGLGETQUERYIVPROC)load("glGetQueryiv");
|
1041
|
+
glad_glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)load("glGetQueryObjectiv");
|
1042
|
+
glad_glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)load("glGetQueryObjectuiv");
|
1043
|
+
glad_glBindBuffer = (PFNGLBINDBUFFERPROC)load("glBindBuffer");
|
1044
|
+
glad_glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)load("glDeleteBuffers");
|
1045
|
+
glad_glGenBuffers = (PFNGLGENBUFFERSPROC)load("glGenBuffers");
|
1046
|
+
glad_glIsBuffer = (PFNGLISBUFFERPROC)load("glIsBuffer");
|
1047
|
+
glad_glBufferData = (PFNGLBUFFERDATAPROC)load("glBufferData");
|
1048
|
+
glad_glBufferSubData = (PFNGLBUFFERSUBDATAPROC)load("glBufferSubData");
|
1049
|
+
glad_glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)load("glGetBufferSubData");
|
1050
|
+
glad_glMapBuffer = (PFNGLMAPBUFFERPROC)load("glMapBuffer");
|
1051
|
+
glad_glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)load("glUnmapBuffer");
|
1052
|
+
glad_glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)load("glGetBufferParameteriv");
|
1053
|
+
glad_glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)load("glGetBufferPointerv");
|
1054
|
+
}
|
1055
|
+
static void load_GL_VERSION_2_0(GLADloadproc load) {
|
1056
|
+
if(!GLAD_GL_VERSION_2_0) return;
|
1057
|
+
glad_glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)load("glBlendEquationSeparate");
|
1058
|
+
glad_glDrawBuffers = (PFNGLDRAWBUFFERSPROC)load("glDrawBuffers");
|
1059
|
+
glad_glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)load("glStencilOpSeparate");
|
1060
|
+
glad_glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)load("glStencilFuncSeparate");
|
1061
|
+
glad_glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)load("glStencilMaskSeparate");
|
1062
|
+
glad_glAttachShader = (PFNGLATTACHSHADERPROC)load("glAttachShader");
|
1063
|
+
glad_glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)load("glBindAttribLocation");
|
1064
|
+
glad_glCompileShader = (PFNGLCOMPILESHADERPROC)load("glCompileShader");
|
1065
|
+
glad_glCreateProgram = (PFNGLCREATEPROGRAMPROC)load("glCreateProgram");
|
1066
|
+
glad_glCreateShader = (PFNGLCREATESHADERPROC)load("glCreateShader");
|
1067
|
+
glad_glDeleteProgram = (PFNGLDELETEPROGRAMPROC)load("glDeleteProgram");
|
1068
|
+
glad_glDeleteShader = (PFNGLDELETESHADERPROC)load("glDeleteShader");
|
1069
|
+
glad_glDetachShader = (PFNGLDETACHSHADERPROC)load("glDetachShader");
|
1070
|
+
glad_glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)load("glDisableVertexAttribArray");
|
1071
|
+
glad_glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)load("glEnableVertexAttribArray");
|
1072
|
+
glad_glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)load("glGetActiveAttrib");
|
1073
|
+
glad_glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)load("glGetActiveUniform");
|
1074
|
+
glad_glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)load("glGetAttachedShaders");
|
1075
|
+
glad_glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)load("glGetAttribLocation");
|
1076
|
+
glad_glGetProgramiv = (PFNGLGETPROGRAMIVPROC)load("glGetProgramiv");
|
1077
|
+
glad_glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)load("glGetProgramInfoLog");
|
1078
|
+
glad_glGetShaderiv = (PFNGLGETSHADERIVPROC)load("glGetShaderiv");
|
1079
|
+
glad_glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)load("glGetShaderInfoLog");
|
1080
|
+
glad_glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)load("glGetShaderSource");
|
1081
|
+
glad_glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)load("glGetUniformLocation");
|
1082
|
+
glad_glGetUniformfv = (PFNGLGETUNIFORMFVPROC)load("glGetUniformfv");
|
1083
|
+
glad_glGetUniformiv = (PFNGLGETUNIFORMIVPROC)load("glGetUniformiv");
|
1084
|
+
glad_glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)load("glGetVertexAttribdv");
|
1085
|
+
glad_glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)load("glGetVertexAttribfv");
|
1086
|
+
glad_glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)load("glGetVertexAttribiv");
|
1087
|
+
glad_glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)load("glGetVertexAttribPointerv");
|
1088
|
+
glad_glIsProgram = (PFNGLISPROGRAMPROC)load("glIsProgram");
|
1089
|
+
glad_glIsShader = (PFNGLISSHADERPROC)load("glIsShader");
|
1090
|
+
glad_glLinkProgram = (PFNGLLINKPROGRAMPROC)load("glLinkProgram");
|
1091
|
+
glad_glShaderSource = (PFNGLSHADERSOURCEPROC)load("glShaderSource");
|
1092
|
+
glad_glUseProgram = (PFNGLUSEPROGRAMPROC)load("glUseProgram");
|
1093
|
+
glad_glUniform1f = (PFNGLUNIFORM1FPROC)load("glUniform1f");
|
1094
|
+
glad_glUniform2f = (PFNGLUNIFORM2FPROC)load("glUniform2f");
|
1095
|
+
glad_glUniform3f = (PFNGLUNIFORM3FPROC)load("glUniform3f");
|
1096
|
+
glad_glUniform4f = (PFNGLUNIFORM4FPROC)load("glUniform4f");
|
1097
|
+
glad_glUniform1i = (PFNGLUNIFORM1IPROC)load("glUniform1i");
|
1098
|
+
glad_glUniform2i = (PFNGLUNIFORM2IPROC)load("glUniform2i");
|
1099
|
+
glad_glUniform3i = (PFNGLUNIFORM3IPROC)load("glUniform3i");
|
1100
|
+
glad_glUniform4i = (PFNGLUNIFORM4IPROC)load("glUniform4i");
|
1101
|
+
glad_glUniform1fv = (PFNGLUNIFORM1FVPROC)load("glUniform1fv");
|
1102
|
+
glad_glUniform2fv = (PFNGLUNIFORM2FVPROC)load("glUniform2fv");
|
1103
|
+
glad_glUniform3fv = (PFNGLUNIFORM3FVPROC)load("glUniform3fv");
|
1104
|
+
glad_glUniform4fv = (PFNGLUNIFORM4FVPROC)load("glUniform4fv");
|
1105
|
+
glad_glUniform1iv = (PFNGLUNIFORM1IVPROC)load("glUniform1iv");
|
1106
|
+
glad_glUniform2iv = (PFNGLUNIFORM2IVPROC)load("glUniform2iv");
|
1107
|
+
glad_glUniform3iv = (PFNGLUNIFORM3IVPROC)load("glUniform3iv");
|
1108
|
+
glad_glUniform4iv = (PFNGLUNIFORM4IVPROC)load("glUniform4iv");
|
1109
|
+
glad_glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)load("glUniformMatrix2fv");
|
1110
|
+
glad_glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)load("glUniformMatrix3fv");
|
1111
|
+
glad_glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)load("glUniformMatrix4fv");
|
1112
|
+
glad_glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)load("glValidateProgram");
|
1113
|
+
glad_glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)load("glVertexAttrib1d");
|
1114
|
+
glad_glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)load("glVertexAttrib1dv");
|
1115
|
+
glad_glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)load("glVertexAttrib1f");
|
1116
|
+
glad_glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)load("glVertexAttrib1fv");
|
1117
|
+
glad_glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)load("glVertexAttrib1s");
|
1118
|
+
glad_glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)load("glVertexAttrib1sv");
|
1119
|
+
glad_glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)load("glVertexAttrib2d");
|
1120
|
+
glad_glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)load("glVertexAttrib2dv");
|
1121
|
+
glad_glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)load("glVertexAttrib2f");
|
1122
|
+
glad_glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)load("glVertexAttrib2fv");
|
1123
|
+
glad_glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)load("glVertexAttrib2s");
|
1124
|
+
glad_glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)load("glVertexAttrib2sv");
|
1125
|
+
glad_glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)load("glVertexAttrib3d");
|
1126
|
+
glad_glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)load("glVertexAttrib3dv");
|
1127
|
+
glad_glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)load("glVertexAttrib3f");
|
1128
|
+
glad_glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)load("glVertexAttrib3fv");
|
1129
|
+
glad_glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)load("glVertexAttrib3s");
|
1130
|
+
glad_glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)load("glVertexAttrib3sv");
|
1131
|
+
glad_glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)load("glVertexAttrib4Nbv");
|
1132
|
+
glad_glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)load("glVertexAttrib4Niv");
|
1133
|
+
glad_glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)load("glVertexAttrib4Nsv");
|
1134
|
+
glad_glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)load("glVertexAttrib4Nub");
|
1135
|
+
glad_glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)load("glVertexAttrib4Nubv");
|
1136
|
+
glad_glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)load("glVertexAttrib4Nuiv");
|
1137
|
+
glad_glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)load("glVertexAttrib4Nusv");
|
1138
|
+
glad_glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)load("glVertexAttrib4bv");
|
1139
|
+
glad_glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)load("glVertexAttrib4d");
|
1140
|
+
glad_glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)load("glVertexAttrib4dv");
|
1141
|
+
glad_glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)load("glVertexAttrib4f");
|
1142
|
+
glad_glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)load("glVertexAttrib4fv");
|
1143
|
+
glad_glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)load("glVertexAttrib4iv");
|
1144
|
+
glad_glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)load("glVertexAttrib4s");
|
1145
|
+
glad_glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)load("glVertexAttrib4sv");
|
1146
|
+
glad_glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)load("glVertexAttrib4ubv");
|
1147
|
+
glad_glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)load("glVertexAttrib4uiv");
|
1148
|
+
glad_glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)load("glVertexAttrib4usv");
|
1149
|
+
glad_glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)load("glVertexAttribPointer");
|
1150
|
+
}
|
1151
|
+
static void load_GL_VERSION_2_1(GLADloadproc load) {
|
1152
|
+
if(!GLAD_GL_VERSION_2_1) return;
|
1153
|
+
glad_glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)load("glUniformMatrix2x3fv");
|
1154
|
+
glad_glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)load("glUniformMatrix3x2fv");
|
1155
|
+
glad_glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)load("glUniformMatrix2x4fv");
|
1156
|
+
glad_glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)load("glUniformMatrix4x2fv");
|
1157
|
+
glad_glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)load("glUniformMatrix3x4fv");
|
1158
|
+
glad_glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)load("glUniformMatrix4x3fv");
|
1159
|
+
}
|
1160
|
+
static void load_GL_VERSION_3_0(GLADloadproc load) {
|
1161
|
+
if(!GLAD_GL_VERSION_3_0) return;
|
1162
|
+
glad_glColorMaski = (PFNGLCOLORMASKIPROC)load("glColorMaski");
|
1163
|
+
glad_glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)load("glGetBooleani_v");
|
1164
|
+
glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v");
|
1165
|
+
glad_glEnablei = (PFNGLENABLEIPROC)load("glEnablei");
|
1166
|
+
glad_glDisablei = (PFNGLDISABLEIPROC)load("glDisablei");
|
1167
|
+
glad_glIsEnabledi = (PFNGLISENABLEDIPROC)load("glIsEnabledi");
|
1168
|
+
glad_glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)load("glBeginTransformFeedback");
|
1169
|
+
glad_glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)load("glEndTransformFeedback");
|
1170
|
+
glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange");
|
1171
|
+
glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase");
|
1172
|
+
glad_glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)load("glTransformFeedbackVaryings");
|
1173
|
+
glad_glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)load("glGetTransformFeedbackVarying");
|
1174
|
+
glad_glClampColor = (PFNGLCLAMPCOLORPROC)load("glClampColor");
|
1175
|
+
glad_glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)load("glBeginConditionalRender");
|
1176
|
+
glad_glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)load("glEndConditionalRender");
|
1177
|
+
glad_glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)load("glVertexAttribIPointer");
|
1178
|
+
glad_glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)load("glGetVertexAttribIiv");
|
1179
|
+
glad_glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)load("glGetVertexAttribIuiv");
|
1180
|
+
glad_glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)load("glVertexAttribI1i");
|
1181
|
+
glad_glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)load("glVertexAttribI2i");
|
1182
|
+
glad_glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)load("glVertexAttribI3i");
|
1183
|
+
glad_glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)load("glVertexAttribI4i");
|
1184
|
+
glad_glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)load("glVertexAttribI1ui");
|
1185
|
+
glad_glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)load("glVertexAttribI2ui");
|
1186
|
+
glad_glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)load("glVertexAttribI3ui");
|
1187
|
+
glad_glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)load("glVertexAttribI4ui");
|
1188
|
+
glad_glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)load("glVertexAttribI1iv");
|
1189
|
+
glad_glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)load("glVertexAttribI2iv");
|
1190
|
+
glad_glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)load("glVertexAttribI3iv");
|
1191
|
+
glad_glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)load("glVertexAttribI4iv");
|
1192
|
+
glad_glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)load("glVertexAttribI1uiv");
|
1193
|
+
glad_glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)load("glVertexAttribI2uiv");
|
1194
|
+
glad_glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)load("glVertexAttribI3uiv");
|
1195
|
+
glad_glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)load("glVertexAttribI4uiv");
|
1196
|
+
glad_glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)load("glVertexAttribI4bv");
|
1197
|
+
glad_glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)load("glVertexAttribI4sv");
|
1198
|
+
glad_glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)load("glVertexAttribI4ubv");
|
1199
|
+
glad_glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)load("glVertexAttribI4usv");
|
1200
|
+
glad_glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)load("glGetUniformuiv");
|
1201
|
+
glad_glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)load("glBindFragDataLocation");
|
1202
|
+
glad_glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)load("glGetFragDataLocation");
|
1203
|
+
glad_glUniform1ui = (PFNGLUNIFORM1UIPROC)load("glUniform1ui");
|
1204
|
+
glad_glUniform2ui = (PFNGLUNIFORM2UIPROC)load("glUniform2ui");
|
1205
|
+
glad_glUniform3ui = (PFNGLUNIFORM3UIPROC)load("glUniform3ui");
|
1206
|
+
glad_glUniform4ui = (PFNGLUNIFORM4UIPROC)load("glUniform4ui");
|
1207
|
+
glad_glUniform1uiv = (PFNGLUNIFORM1UIVPROC)load("glUniform1uiv");
|
1208
|
+
glad_glUniform2uiv = (PFNGLUNIFORM2UIVPROC)load("glUniform2uiv");
|
1209
|
+
glad_glUniform3uiv = (PFNGLUNIFORM3UIVPROC)load("glUniform3uiv");
|
1210
|
+
glad_glUniform4uiv = (PFNGLUNIFORM4UIVPROC)load("glUniform4uiv");
|
1211
|
+
glad_glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)load("glTexParameterIiv");
|
1212
|
+
glad_glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)load("glTexParameterIuiv");
|
1213
|
+
glad_glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)load("glGetTexParameterIiv");
|
1214
|
+
glad_glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)load("glGetTexParameterIuiv");
|
1215
|
+
glad_glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)load("glClearBufferiv");
|
1216
|
+
glad_glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)load("glClearBufferuiv");
|
1217
|
+
glad_glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)load("glClearBufferfv");
|
1218
|
+
glad_glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)load("glClearBufferfi");
|
1219
|
+
glad_glGetStringi = (PFNGLGETSTRINGIPROC)load("glGetStringi");
|
1220
|
+
glad_glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)load("glIsRenderbuffer");
|
1221
|
+
glad_glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)load("glBindRenderbuffer");
|
1222
|
+
glad_glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)load("glDeleteRenderbuffers");
|
1223
|
+
glad_glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)load("glGenRenderbuffers");
|
1224
|
+
glad_glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)load("glRenderbufferStorage");
|
1225
|
+
glad_glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)load("glGetRenderbufferParameteriv");
|
1226
|
+
glad_glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)load("glIsFramebuffer");
|
1227
|
+
glad_glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)load("glBindFramebuffer");
|
1228
|
+
glad_glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)load("glDeleteFramebuffers");
|
1229
|
+
glad_glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)load("glGenFramebuffers");
|
1230
|
+
glad_glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)load("glCheckFramebufferStatus");
|
1231
|
+
glad_glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)load("glFramebufferTexture1D");
|
1232
|
+
glad_glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)load("glFramebufferTexture2D");
|
1233
|
+
glad_glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)load("glFramebufferTexture3D");
|
1234
|
+
glad_glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)load("glFramebufferRenderbuffer");
|
1235
|
+
glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetFramebufferAttachmentParameteriv");
|
1236
|
+
glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)load("glGenerateMipmap");
|
1237
|
+
glad_glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)load("glBlitFramebuffer");
|
1238
|
+
glad_glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)load("glRenderbufferStorageMultisample");
|
1239
|
+
glad_glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)load("glFramebufferTextureLayer");
|
1240
|
+
glad_glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)load("glMapBufferRange");
|
1241
|
+
glad_glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)load("glFlushMappedBufferRange");
|
1242
|
+
glad_glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)load("glBindVertexArray");
|
1243
|
+
glad_glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)load("glDeleteVertexArrays");
|
1244
|
+
glad_glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)load("glGenVertexArrays");
|
1245
|
+
glad_glIsVertexArray = (PFNGLISVERTEXARRAYPROC)load("glIsVertexArray");
|
1246
|
+
}
|
1247
|
+
static void load_GL_VERSION_3_1(GLADloadproc load) {
|
1248
|
+
if(!GLAD_GL_VERSION_3_1) return;
|
1249
|
+
glad_glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)load("glDrawArraysInstanced");
|
1250
|
+
glad_glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)load("glDrawElementsInstanced");
|
1251
|
+
glad_glTexBuffer = (PFNGLTEXBUFFERPROC)load("glTexBuffer");
|
1252
|
+
glad_glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)load("glPrimitiveRestartIndex");
|
1253
|
+
glad_glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)load("glCopyBufferSubData");
|
1254
|
+
glad_glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)load("glGetUniformIndices");
|
1255
|
+
glad_glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)load("glGetActiveUniformsiv");
|
1256
|
+
glad_glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)load("glGetActiveUniformName");
|
1257
|
+
glad_glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)load("glGetUniformBlockIndex");
|
1258
|
+
glad_glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)load("glGetActiveUniformBlockiv");
|
1259
|
+
glad_glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)load("glGetActiveUniformBlockName");
|
1260
|
+
glad_glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)load("glUniformBlockBinding");
|
1261
|
+
glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange");
|
1262
|
+
glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase");
|
1263
|
+
glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v");
|
1264
|
+
}
|
1265
|
+
static void load_GL_VERSION_3_2(GLADloadproc load) {
|
1266
|
+
if(!GLAD_GL_VERSION_3_2) return;
|
1267
|
+
glad_glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)load("glDrawElementsBaseVertex");
|
1268
|
+
glad_glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)load("glDrawRangeElementsBaseVertex");
|
1269
|
+
glad_glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)load("glDrawElementsInstancedBaseVertex");
|
1270
|
+
glad_glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)load("glMultiDrawElementsBaseVertex");
|
1271
|
+
glad_glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)load("glProvokingVertex");
|
1272
|
+
glad_glFenceSync = (PFNGLFENCESYNCPROC)load("glFenceSync");
|
1273
|
+
glad_glIsSync = (PFNGLISSYNCPROC)load("glIsSync");
|
1274
|
+
glad_glDeleteSync = (PFNGLDELETESYNCPROC)load("glDeleteSync");
|
1275
|
+
glad_glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)load("glClientWaitSync");
|
1276
|
+
glad_glWaitSync = (PFNGLWAITSYNCPROC)load("glWaitSync");
|
1277
|
+
glad_glGetInteger64v = (PFNGLGETINTEGER64VPROC)load("glGetInteger64v");
|
1278
|
+
glad_glGetSynciv = (PFNGLGETSYNCIVPROC)load("glGetSynciv");
|
1279
|
+
glad_glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)load("glGetInteger64i_v");
|
1280
|
+
glad_glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)load("glGetBufferParameteri64v");
|
1281
|
+
glad_glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)load("glFramebufferTexture");
|
1282
|
+
glad_glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)load("glTexImage2DMultisample");
|
1283
|
+
glad_glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)load("glTexImage3DMultisample");
|
1284
|
+
glad_glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)load("glGetMultisamplefv");
|
1285
|
+
glad_glSampleMaski = (PFNGLSAMPLEMASKIPROC)load("glSampleMaski");
|
1286
|
+
}
|
1287
|
+
static void load_GL_VERSION_3_3(GLADloadproc load) {
|
1288
|
+
if(!GLAD_GL_VERSION_3_3) return;
|
1289
|
+
glad_glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)load("glBindFragDataLocationIndexed");
|
1290
|
+
glad_glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)load("glGetFragDataIndex");
|
1291
|
+
glad_glGenSamplers = (PFNGLGENSAMPLERSPROC)load("glGenSamplers");
|
1292
|
+
glad_glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)load("glDeleteSamplers");
|
1293
|
+
glad_glIsSampler = (PFNGLISSAMPLERPROC)load("glIsSampler");
|
1294
|
+
glad_glBindSampler = (PFNGLBINDSAMPLERPROC)load("glBindSampler");
|
1295
|
+
glad_glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)load("glSamplerParameteri");
|
1296
|
+
glad_glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)load("glSamplerParameteriv");
|
1297
|
+
glad_glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)load("glSamplerParameterf");
|
1298
|
+
glad_glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)load("glSamplerParameterfv");
|
1299
|
+
glad_glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)load("glSamplerParameterIiv");
|
1300
|
+
glad_glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)load("glSamplerParameterIuiv");
|
1301
|
+
glad_glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)load("glGetSamplerParameteriv");
|
1302
|
+
glad_glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)load("glGetSamplerParameterIiv");
|
1303
|
+
glad_glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)load("glGetSamplerParameterfv");
|
1304
|
+
glad_glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)load("glGetSamplerParameterIuiv");
|
1305
|
+
glad_glQueryCounter = (PFNGLQUERYCOUNTERPROC)load("glQueryCounter");
|
1306
|
+
glad_glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)load("glGetQueryObjecti64v");
|
1307
|
+
glad_glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)load("glGetQueryObjectui64v");
|
1308
|
+
glad_glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)load("glVertexAttribDivisor");
|
1309
|
+
glad_glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)load("glVertexAttribP1ui");
|
1310
|
+
glad_glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)load("glVertexAttribP1uiv");
|
1311
|
+
glad_glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)load("glVertexAttribP2ui");
|
1312
|
+
glad_glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)load("glVertexAttribP2uiv");
|
1313
|
+
glad_glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)load("glVertexAttribP3ui");
|
1314
|
+
glad_glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)load("glVertexAttribP3uiv");
|
1315
|
+
glad_glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)load("glVertexAttribP4ui");
|
1316
|
+
glad_glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)load("glVertexAttribP4uiv");
|
1317
|
+
glad_glVertexP2ui = (PFNGLVERTEXP2UIPROC)load("glVertexP2ui");
|
1318
|
+
glad_glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)load("glVertexP2uiv");
|
1319
|
+
glad_glVertexP3ui = (PFNGLVERTEXP3UIPROC)load("glVertexP3ui");
|
1320
|
+
glad_glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)load("glVertexP3uiv");
|
1321
|
+
glad_glVertexP4ui = (PFNGLVERTEXP4UIPROC)load("glVertexP4ui");
|
1322
|
+
glad_glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)load("glVertexP4uiv");
|
1323
|
+
glad_glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)load("glTexCoordP1ui");
|
1324
|
+
glad_glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)load("glTexCoordP1uiv");
|
1325
|
+
glad_glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)load("glTexCoordP2ui");
|
1326
|
+
glad_glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)load("glTexCoordP2uiv");
|
1327
|
+
glad_glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)load("glTexCoordP3ui");
|
1328
|
+
glad_glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)load("glTexCoordP3uiv");
|
1329
|
+
glad_glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)load("glTexCoordP4ui");
|
1330
|
+
glad_glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)load("glTexCoordP4uiv");
|
1331
|
+
glad_glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)load("glMultiTexCoordP1ui");
|
1332
|
+
glad_glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)load("glMultiTexCoordP1uiv");
|
1333
|
+
glad_glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)load("glMultiTexCoordP2ui");
|
1334
|
+
glad_glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)load("glMultiTexCoordP2uiv");
|
1335
|
+
glad_glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)load("glMultiTexCoordP3ui");
|
1336
|
+
glad_glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)load("glMultiTexCoordP3uiv");
|
1337
|
+
glad_glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)load("glMultiTexCoordP4ui");
|
1338
|
+
glad_glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)load("glMultiTexCoordP4uiv");
|
1339
|
+
glad_glNormalP3ui = (PFNGLNORMALP3UIPROC)load("glNormalP3ui");
|
1340
|
+
glad_glNormalP3uiv = (PFNGLNORMALP3UIVPROC)load("glNormalP3uiv");
|
1341
|
+
glad_glColorP3ui = (PFNGLCOLORP3UIPROC)load("glColorP3ui");
|
1342
|
+
glad_glColorP3uiv = (PFNGLCOLORP3UIVPROC)load("glColorP3uiv");
|
1343
|
+
glad_glColorP4ui = (PFNGLCOLORP4UIPROC)load("glColorP4ui");
|
1344
|
+
glad_glColorP4uiv = (PFNGLCOLORP4UIVPROC)load("glColorP4uiv");
|
1345
|
+
glad_glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)load("glSecondaryColorP3ui");
|
1346
|
+
glad_glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)load("glSecondaryColorP3uiv");
|
1347
|
+
}
|
1348
|
+
static void load_GL_VERSION_4_0(GLADloadproc load) {
|
1349
|
+
if(!GLAD_GL_VERSION_4_0) return;
|
1350
|
+
glad_glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)load("glMinSampleShading");
|
1351
|
+
glad_glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)load("glBlendEquationi");
|
1352
|
+
glad_glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)load("glBlendEquationSeparatei");
|
1353
|
+
glad_glBlendFunci = (PFNGLBLENDFUNCIPROC)load("glBlendFunci");
|
1354
|
+
glad_glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)load("glBlendFuncSeparatei");
|
1355
|
+
glad_glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)load("glDrawArraysIndirect");
|
1356
|
+
glad_glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)load("glDrawElementsIndirect");
|
1357
|
+
glad_glUniform1d = (PFNGLUNIFORM1DPROC)load("glUniform1d");
|
1358
|
+
glad_glUniform2d = (PFNGLUNIFORM2DPROC)load("glUniform2d");
|
1359
|
+
glad_glUniform3d = (PFNGLUNIFORM3DPROC)load("glUniform3d");
|
1360
|
+
glad_glUniform4d = (PFNGLUNIFORM4DPROC)load("glUniform4d");
|
1361
|
+
glad_glUniform1dv = (PFNGLUNIFORM1DVPROC)load("glUniform1dv");
|
1362
|
+
glad_glUniform2dv = (PFNGLUNIFORM2DVPROC)load("glUniform2dv");
|
1363
|
+
glad_glUniform3dv = (PFNGLUNIFORM3DVPROC)load("glUniform3dv");
|
1364
|
+
glad_glUniform4dv = (PFNGLUNIFORM4DVPROC)load("glUniform4dv");
|
1365
|
+
glad_glUniformMatrix2dv = (PFNGLUNIFORMMATRIX2DVPROC)load("glUniformMatrix2dv");
|
1366
|
+
glad_glUniformMatrix3dv = (PFNGLUNIFORMMATRIX3DVPROC)load("glUniformMatrix3dv");
|
1367
|
+
glad_glUniformMatrix4dv = (PFNGLUNIFORMMATRIX4DVPROC)load("glUniformMatrix4dv");
|
1368
|
+
glad_glUniformMatrix2x3dv = (PFNGLUNIFORMMATRIX2X3DVPROC)load("glUniformMatrix2x3dv");
|
1369
|
+
glad_glUniformMatrix2x4dv = (PFNGLUNIFORMMATRIX2X4DVPROC)load("glUniformMatrix2x4dv");
|
1370
|
+
glad_glUniformMatrix3x2dv = (PFNGLUNIFORMMATRIX3X2DVPROC)load("glUniformMatrix3x2dv");
|
1371
|
+
glad_glUniformMatrix3x4dv = (PFNGLUNIFORMMATRIX3X4DVPROC)load("glUniformMatrix3x4dv");
|
1372
|
+
glad_glUniformMatrix4x2dv = (PFNGLUNIFORMMATRIX4X2DVPROC)load("glUniformMatrix4x2dv");
|
1373
|
+
glad_glUniformMatrix4x3dv = (PFNGLUNIFORMMATRIX4X3DVPROC)load("glUniformMatrix4x3dv");
|
1374
|
+
glad_glGetUniformdv = (PFNGLGETUNIFORMDVPROC)load("glGetUniformdv");
|
1375
|
+
glad_glGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)load("glGetSubroutineUniformLocation");
|
1376
|
+
glad_glGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC)load("glGetSubroutineIndex");
|
1377
|
+
glad_glGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)load("glGetActiveSubroutineUniformiv");
|
1378
|
+
glad_glGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)load("glGetActiveSubroutineUniformName");
|
1379
|
+
glad_glGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC)load("glGetActiveSubroutineName");
|
1380
|
+
glad_glUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC)load("glUniformSubroutinesuiv");
|
1381
|
+
glad_glGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC)load("glGetUniformSubroutineuiv");
|
1382
|
+
glad_glGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC)load("glGetProgramStageiv");
|
1383
|
+
glad_glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)load("glPatchParameteri");
|
1384
|
+
glad_glPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC)load("glPatchParameterfv");
|
1385
|
+
glad_glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)load("glBindTransformFeedback");
|
1386
|
+
glad_glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)load("glDeleteTransformFeedbacks");
|
1387
|
+
glad_glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)load("glGenTransformFeedbacks");
|
1388
|
+
glad_glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)load("glIsTransformFeedback");
|
1389
|
+
glad_glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)load("glPauseTransformFeedback");
|
1390
|
+
glad_glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)load("glResumeTransformFeedback");
|
1391
|
+
glad_glDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC)load("glDrawTransformFeedback");
|
1392
|
+
glad_glDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)load("glDrawTransformFeedbackStream");
|
1393
|
+
glad_glBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC)load("glBeginQueryIndexed");
|
1394
|
+
glad_glEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC)load("glEndQueryIndexed");
|
1395
|
+
glad_glGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC)load("glGetQueryIndexediv");
|
1396
|
+
}
|
1397
|
+
static void load_GL_VERSION_4_1(GLADloadproc load) {
|
1398
|
+
if(!GLAD_GL_VERSION_4_1) return;
|
1399
|
+
glad_glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)load("glReleaseShaderCompiler");
|
1400
|
+
glad_glShaderBinary = (PFNGLSHADERBINARYPROC)load("glShaderBinary");
|
1401
|
+
glad_glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)load("glGetShaderPrecisionFormat");
|
1402
|
+
glad_glDepthRangef = (PFNGLDEPTHRANGEFPROC)load("glDepthRangef");
|
1403
|
+
glad_glClearDepthf = (PFNGLCLEARDEPTHFPROC)load("glClearDepthf");
|
1404
|
+
glad_glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)load("glGetProgramBinary");
|
1405
|
+
glad_glProgramBinary = (PFNGLPROGRAMBINARYPROC)load("glProgramBinary");
|
1406
|
+
glad_glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)load("glProgramParameteri");
|
1407
|
+
glad_glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)load("glUseProgramStages");
|
1408
|
+
glad_glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)load("glActiveShaderProgram");
|
1409
|
+
glad_glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)load("glCreateShaderProgramv");
|
1410
|
+
glad_glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)load("glBindProgramPipeline");
|
1411
|
+
glad_glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)load("glDeleteProgramPipelines");
|
1412
|
+
glad_glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)load("glGenProgramPipelines");
|
1413
|
+
glad_glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)load("glIsProgramPipeline");
|
1414
|
+
glad_glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)load("glGetProgramPipelineiv");
|
1415
|
+
glad_glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)load("glProgramParameteri");
|
1416
|
+
glad_glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)load("glProgramUniform1i");
|
1417
|
+
glad_glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)load("glProgramUniform1iv");
|
1418
|
+
glad_glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)load("glProgramUniform1f");
|
1419
|
+
glad_glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)load("glProgramUniform1fv");
|
1420
|
+
glad_glProgramUniform1d = (PFNGLPROGRAMUNIFORM1DPROC)load("glProgramUniform1d");
|
1421
|
+
glad_glProgramUniform1dv = (PFNGLPROGRAMUNIFORM1DVPROC)load("glProgramUniform1dv");
|
1422
|
+
glad_glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)load("glProgramUniform1ui");
|
1423
|
+
glad_glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)load("glProgramUniform1uiv");
|
1424
|
+
glad_glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)load("glProgramUniform2i");
|
1425
|
+
glad_glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)load("glProgramUniform2iv");
|
1426
|
+
glad_glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)load("glProgramUniform2f");
|
1427
|
+
glad_glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)load("glProgramUniform2fv");
|
1428
|
+
glad_glProgramUniform2d = (PFNGLPROGRAMUNIFORM2DPROC)load("glProgramUniform2d");
|
1429
|
+
glad_glProgramUniform2dv = (PFNGLPROGRAMUNIFORM2DVPROC)load("glProgramUniform2dv");
|
1430
|
+
glad_glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)load("glProgramUniform2ui");
|
1431
|
+
glad_glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)load("glProgramUniform2uiv");
|
1432
|
+
glad_glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)load("glProgramUniform3i");
|
1433
|
+
glad_glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)load("glProgramUniform3iv");
|
1434
|
+
glad_glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)load("glProgramUniform3f");
|
1435
|
+
glad_glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)load("glProgramUniform3fv");
|
1436
|
+
glad_glProgramUniform3d = (PFNGLPROGRAMUNIFORM3DPROC)load("glProgramUniform3d");
|
1437
|
+
glad_glProgramUniform3dv = (PFNGLPROGRAMUNIFORM3DVPROC)load("glProgramUniform3dv");
|
1438
|
+
glad_glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)load("glProgramUniform3ui");
|
1439
|
+
glad_glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)load("glProgramUniform3uiv");
|
1440
|
+
glad_glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)load("glProgramUniform4i");
|
1441
|
+
glad_glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)load("glProgramUniform4iv");
|
1442
|
+
glad_glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)load("glProgramUniform4f");
|
1443
|
+
glad_glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)load("glProgramUniform4fv");
|
1444
|
+
glad_glProgramUniform4d = (PFNGLPROGRAMUNIFORM4DPROC)load("glProgramUniform4d");
|
1445
|
+
glad_glProgramUniform4dv = (PFNGLPROGRAMUNIFORM4DVPROC)load("glProgramUniform4dv");
|
1446
|
+
glad_glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)load("glProgramUniform4ui");
|
1447
|
+
glad_glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)load("glProgramUniform4uiv");
|
1448
|
+
glad_glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)load("glProgramUniformMatrix2fv");
|
1449
|
+
glad_glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)load("glProgramUniformMatrix3fv");
|
1450
|
+
glad_glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)load("glProgramUniformMatrix4fv");
|
1451
|
+
glad_glProgramUniformMatrix2dv = (PFNGLPROGRAMUNIFORMMATRIX2DVPROC)load("glProgramUniformMatrix2dv");
|
1452
|
+
glad_glProgramUniformMatrix3dv = (PFNGLPROGRAMUNIFORMMATRIX3DVPROC)load("glProgramUniformMatrix3dv");
|
1453
|
+
glad_glProgramUniformMatrix4dv = (PFNGLPROGRAMUNIFORMMATRIX4DVPROC)load("glProgramUniformMatrix4dv");
|
1454
|
+
glad_glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)load("glProgramUniformMatrix2x3fv");
|
1455
|
+
glad_glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)load("glProgramUniformMatrix3x2fv");
|
1456
|
+
glad_glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)load("glProgramUniformMatrix2x4fv");
|
1457
|
+
glad_glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)load("glProgramUniformMatrix4x2fv");
|
1458
|
+
glad_glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)load("glProgramUniformMatrix3x4fv");
|
1459
|
+
glad_glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)load("glProgramUniformMatrix4x3fv");
|
1460
|
+
glad_glProgramUniformMatrix2x3dv = (PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC)load("glProgramUniformMatrix2x3dv");
|
1461
|
+
glad_glProgramUniformMatrix3x2dv = (PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC)load("glProgramUniformMatrix3x2dv");
|
1462
|
+
glad_glProgramUniformMatrix2x4dv = (PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC)load("glProgramUniformMatrix2x4dv");
|
1463
|
+
glad_glProgramUniformMatrix4x2dv = (PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC)load("glProgramUniformMatrix4x2dv");
|
1464
|
+
glad_glProgramUniformMatrix3x4dv = (PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC)load("glProgramUniformMatrix3x4dv");
|
1465
|
+
glad_glProgramUniformMatrix4x3dv = (PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC)load("glProgramUniformMatrix4x3dv");
|
1466
|
+
glad_glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)load("glValidateProgramPipeline");
|
1467
|
+
glad_glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)load("glGetProgramPipelineInfoLog");
|
1468
|
+
glad_glVertexAttribL1d = (PFNGLVERTEXATTRIBL1DPROC)load("glVertexAttribL1d");
|
1469
|
+
glad_glVertexAttribL2d = (PFNGLVERTEXATTRIBL2DPROC)load("glVertexAttribL2d");
|
1470
|
+
glad_glVertexAttribL3d = (PFNGLVERTEXATTRIBL3DPROC)load("glVertexAttribL3d");
|
1471
|
+
glad_glVertexAttribL4d = (PFNGLVERTEXATTRIBL4DPROC)load("glVertexAttribL4d");
|
1472
|
+
glad_glVertexAttribL1dv = (PFNGLVERTEXATTRIBL1DVPROC)load("glVertexAttribL1dv");
|
1473
|
+
glad_glVertexAttribL2dv = (PFNGLVERTEXATTRIBL2DVPROC)load("glVertexAttribL2dv");
|
1474
|
+
glad_glVertexAttribL3dv = (PFNGLVERTEXATTRIBL3DVPROC)load("glVertexAttribL3dv");
|
1475
|
+
glad_glVertexAttribL4dv = (PFNGLVERTEXATTRIBL4DVPROC)load("glVertexAttribL4dv");
|
1476
|
+
glad_glVertexAttribLPointer = (PFNGLVERTEXATTRIBLPOINTERPROC)load("glVertexAttribLPointer");
|
1477
|
+
glad_glGetVertexAttribLdv = (PFNGLGETVERTEXATTRIBLDVPROC)load("glGetVertexAttribLdv");
|
1478
|
+
glad_glViewportArrayv = (PFNGLVIEWPORTARRAYVPROC)load("glViewportArrayv");
|
1479
|
+
glad_glViewportIndexedf = (PFNGLVIEWPORTINDEXEDFPROC)load("glViewportIndexedf");
|
1480
|
+
glad_glViewportIndexedfv = (PFNGLVIEWPORTINDEXEDFVPROC)load("glViewportIndexedfv");
|
1481
|
+
glad_glScissorArrayv = (PFNGLSCISSORARRAYVPROC)load("glScissorArrayv");
|
1482
|
+
glad_glScissorIndexed = (PFNGLSCISSORINDEXEDPROC)load("glScissorIndexed");
|
1483
|
+
glad_glScissorIndexedv = (PFNGLSCISSORINDEXEDVPROC)load("glScissorIndexedv");
|
1484
|
+
glad_glDepthRangeArrayv = (PFNGLDEPTHRANGEARRAYVPROC)load("glDepthRangeArrayv");
|
1485
|
+
glad_glDepthRangeIndexed = (PFNGLDEPTHRANGEINDEXEDPROC)load("glDepthRangeIndexed");
|
1486
|
+
glad_glGetFloati_v = (PFNGLGETFLOATI_VPROC)load("glGetFloati_v");
|
1487
|
+
glad_glGetDoublei_v = (PFNGLGETDOUBLEI_VPROC)load("glGetDoublei_v");
|
1488
|
+
}
|
1489
|
+
static void load_GL_VERSION_4_2(GLADloadproc load) {
|
1490
|
+
if(!GLAD_GL_VERSION_4_2) return;
|
1491
|
+
glad_glDrawArraysInstancedBaseInstance = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)load("glDrawArraysInstancedBaseInstance");
|
1492
|
+
glad_glDrawElementsInstancedBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)load("glDrawElementsInstancedBaseInstance");
|
1493
|
+
glad_glDrawElementsInstancedBaseVertexBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)load("glDrawElementsInstancedBaseVertexBaseInstance");
|
1494
|
+
glad_glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)load("glGetInternalformativ");
|
1495
|
+
glad_glGetActiveAtomicCounterBufferiv = (PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)load("glGetActiveAtomicCounterBufferiv");
|
1496
|
+
glad_glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)load("glBindImageTexture");
|
1497
|
+
glad_glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)load("glMemoryBarrier");
|
1498
|
+
glad_glTexStorage1D = (PFNGLTEXSTORAGE1DPROC)load("glTexStorage1D");
|
1499
|
+
glad_glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)load("glTexStorage2D");
|
1500
|
+
glad_glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)load("glTexStorage3D");
|
1501
|
+
glad_glDrawTransformFeedbackInstanced = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)load("glDrawTransformFeedbackInstanced");
|
1502
|
+
glad_glDrawTransformFeedbackStreamInstanced = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)load("glDrawTransformFeedbackStreamInstanced");
|
1503
|
+
}
|
1504
|
+
static void load_GL_VERSION_4_3(GLADloadproc load) {
|
1505
|
+
if(!GLAD_GL_VERSION_4_3) return;
|
1506
|
+
glad_glClearBufferData = (PFNGLCLEARBUFFERDATAPROC)load("glClearBufferData");
|
1507
|
+
glad_glClearBufferSubData = (PFNGLCLEARBUFFERSUBDATAPROC)load("glClearBufferSubData");
|
1508
|
+
glad_glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)load("glDispatchCompute");
|
1509
|
+
glad_glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)load("glDispatchComputeIndirect");
|
1510
|
+
glad_glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)load("glCopyImageSubData");
|
1511
|
+
glad_glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)load("glFramebufferParameteri");
|
1512
|
+
glad_glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)load("glGetFramebufferParameteriv");
|
1513
|
+
glad_glGetInternalformati64v = (PFNGLGETINTERNALFORMATI64VPROC)load("glGetInternalformati64v");
|
1514
|
+
glad_glInvalidateTexSubImage = (PFNGLINVALIDATETEXSUBIMAGEPROC)load("glInvalidateTexSubImage");
|
1515
|
+
glad_glInvalidateTexImage = (PFNGLINVALIDATETEXIMAGEPROC)load("glInvalidateTexImage");
|
1516
|
+
glad_glInvalidateBufferSubData = (PFNGLINVALIDATEBUFFERSUBDATAPROC)load("glInvalidateBufferSubData");
|
1517
|
+
glad_glInvalidateBufferData = (PFNGLINVALIDATEBUFFERDATAPROC)load("glInvalidateBufferData");
|
1518
|
+
glad_glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)load("glInvalidateFramebuffer");
|
1519
|
+
glad_glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)load("glInvalidateSubFramebuffer");
|
1520
|
+
glad_glMultiDrawArraysIndirect = (PFNGLMULTIDRAWARRAYSINDIRECTPROC)load("glMultiDrawArraysIndirect");
|
1521
|
+
glad_glMultiDrawElementsIndirect = (PFNGLMULTIDRAWELEMENTSINDIRECTPROC)load("glMultiDrawElementsIndirect");
|
1522
|
+
glad_glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)load("glGetProgramInterfaceiv");
|
1523
|
+
glad_glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)load("glGetProgramResourceIndex");
|
1524
|
+
glad_glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)load("glGetProgramResourceName");
|
1525
|
+
glad_glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)load("glGetProgramResourceiv");
|
1526
|
+
glad_glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)load("glGetProgramResourceLocation");
|
1527
|
+
glad_glGetProgramResourceLocationIndex = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)load("glGetProgramResourceLocationIndex");
|
1528
|
+
glad_glShaderStorageBlockBinding = (PFNGLSHADERSTORAGEBLOCKBINDINGPROC)load("glShaderStorageBlockBinding");
|
1529
|
+
glad_glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)load("glTexBufferRange");
|
1530
|
+
glad_glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)load("glTexStorage2DMultisample");
|
1531
|
+
glad_glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)load("glTexStorage3DMultisample");
|
1532
|
+
glad_glTextureView = (PFNGLTEXTUREVIEWPROC)load("glTextureView");
|
1533
|
+
glad_glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)load("glBindVertexBuffer");
|
1534
|
+
glad_glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)load("glVertexAttribFormat");
|
1535
|
+
glad_glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)load("glVertexAttribIFormat");
|
1536
|
+
glad_glVertexAttribLFormat = (PFNGLVERTEXATTRIBLFORMATPROC)load("glVertexAttribLFormat");
|
1537
|
+
glad_glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)load("glVertexAttribBinding");
|
1538
|
+
glad_glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)load("glVertexBindingDivisor");
|
1539
|
+
glad_glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)load("glDebugMessageControl");
|
1540
|
+
glad_glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)load("glDebugMessageInsert");
|
1541
|
+
glad_glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)load("glDebugMessageCallback");
|
1542
|
+
glad_glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)load("glGetDebugMessageLog");
|
1543
|
+
glad_glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)load("glPushDebugGroup");
|
1544
|
+
glad_glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)load("glPopDebugGroup");
|
1545
|
+
glad_glObjectLabel = (PFNGLOBJECTLABELPROC)load("glObjectLabel");
|
1546
|
+
glad_glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)load("glGetObjectLabel");
|
1547
|
+
glad_glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)load("glObjectPtrLabel");
|
1548
|
+
glad_glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)load("glGetObjectPtrLabel");
|
1549
|
+
}
|
1550
|
+
static void load_GL_VERSION_4_4(GLADloadproc load) {
|
1551
|
+
if(!GLAD_GL_VERSION_4_4) return;
|
1552
|
+
glad_glBufferStorage = (PFNGLBUFFERSTORAGEPROC)load("glBufferStorage");
|
1553
|
+
glad_glClearTexImage = (PFNGLCLEARTEXIMAGEPROC)load("glClearTexImage");
|
1554
|
+
glad_glClearTexSubImage = (PFNGLCLEARTEXSUBIMAGEPROC)load("glClearTexSubImage");
|
1555
|
+
glad_glBindBuffersBase = (PFNGLBINDBUFFERSBASEPROC)load("glBindBuffersBase");
|
1556
|
+
glad_glBindBuffersRange = (PFNGLBINDBUFFERSRANGEPROC)load("glBindBuffersRange");
|
1557
|
+
glad_glBindTextures = (PFNGLBINDTEXTURESPROC)load("glBindTextures");
|
1558
|
+
glad_glBindSamplers = (PFNGLBINDSAMPLERSPROC)load("glBindSamplers");
|
1559
|
+
glad_glBindImageTextures = (PFNGLBINDIMAGETEXTURESPROC)load("glBindImageTextures");
|
1560
|
+
glad_glBindVertexBuffers = (PFNGLBINDVERTEXBUFFERSPROC)load("glBindVertexBuffers");
|
1561
|
+
}
|
1562
|
+
static void load_GL_VERSION_4_5(GLADloadproc load) {
|
1563
|
+
if(!GLAD_GL_VERSION_4_5) return;
|
1564
|
+
glad_glClipControl = (PFNGLCLIPCONTROLPROC)load("glClipControl");
|
1565
|
+
glad_glCreateTransformFeedbacks = (PFNGLCREATETRANSFORMFEEDBACKSPROC)load("glCreateTransformFeedbacks");
|
1566
|
+
glad_glTransformFeedbackBufferBase = (PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC)load("glTransformFeedbackBufferBase");
|
1567
|
+
glad_glTransformFeedbackBufferRange = (PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC)load("glTransformFeedbackBufferRange");
|
1568
|
+
glad_glGetTransformFeedbackiv = (PFNGLGETTRANSFORMFEEDBACKIVPROC)load("glGetTransformFeedbackiv");
|
1569
|
+
glad_glGetTransformFeedbacki_v = (PFNGLGETTRANSFORMFEEDBACKI_VPROC)load("glGetTransformFeedbacki_v");
|
1570
|
+
glad_glGetTransformFeedbacki64_v = (PFNGLGETTRANSFORMFEEDBACKI64_VPROC)load("glGetTransformFeedbacki64_v");
|
1571
|
+
glad_glCreateBuffers = (PFNGLCREATEBUFFERSPROC)load("glCreateBuffers");
|
1572
|
+
glad_glNamedBufferStorage = (PFNGLNAMEDBUFFERSTORAGEPROC)load("glNamedBufferStorage");
|
1573
|
+
glad_glNamedBufferData = (PFNGLNAMEDBUFFERDATAPROC)load("glNamedBufferData");
|
1574
|
+
glad_glNamedBufferSubData = (PFNGLNAMEDBUFFERSUBDATAPROC)load("glNamedBufferSubData");
|
1575
|
+
glad_glCopyNamedBufferSubData = (PFNGLCOPYNAMEDBUFFERSUBDATAPROC)load("glCopyNamedBufferSubData");
|
1576
|
+
glad_glClearNamedBufferData = (PFNGLCLEARNAMEDBUFFERDATAPROC)load("glClearNamedBufferData");
|
1577
|
+
glad_glClearNamedBufferSubData = (PFNGLCLEARNAMEDBUFFERSUBDATAPROC)load("glClearNamedBufferSubData");
|
1578
|
+
glad_glMapNamedBuffer = (PFNGLMAPNAMEDBUFFERPROC)load("glMapNamedBuffer");
|
1579
|
+
glad_glMapNamedBufferRange = (PFNGLMAPNAMEDBUFFERRANGEPROC)load("glMapNamedBufferRange");
|
1580
|
+
glad_glUnmapNamedBuffer = (PFNGLUNMAPNAMEDBUFFERPROC)load("glUnmapNamedBuffer");
|
1581
|
+
glad_glFlushMappedNamedBufferRange = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC)load("glFlushMappedNamedBufferRange");
|
1582
|
+
glad_glGetNamedBufferParameteriv = (PFNGLGETNAMEDBUFFERPARAMETERIVPROC)load("glGetNamedBufferParameteriv");
|
1583
|
+
glad_glGetNamedBufferParameteri64v = (PFNGLGETNAMEDBUFFERPARAMETERI64VPROC)load("glGetNamedBufferParameteri64v");
|
1584
|
+
glad_glGetNamedBufferPointerv = (PFNGLGETNAMEDBUFFERPOINTERVPROC)load("glGetNamedBufferPointerv");
|
1585
|
+
glad_glGetNamedBufferSubData = (PFNGLGETNAMEDBUFFERSUBDATAPROC)load("glGetNamedBufferSubData");
|
1586
|
+
glad_glCreateFramebuffers = (PFNGLCREATEFRAMEBUFFERSPROC)load("glCreateFramebuffers");
|
1587
|
+
glad_glNamedFramebufferRenderbuffer = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC)load("glNamedFramebufferRenderbuffer");
|
1588
|
+
glad_glNamedFramebufferParameteri = (PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC)load("glNamedFramebufferParameteri");
|
1589
|
+
glad_glNamedFramebufferTexture = (PFNGLNAMEDFRAMEBUFFERTEXTUREPROC)load("glNamedFramebufferTexture");
|
1590
|
+
glad_glNamedFramebufferTextureLayer = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC)load("glNamedFramebufferTextureLayer");
|
1591
|
+
glad_glNamedFramebufferDrawBuffer = (PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC)load("glNamedFramebufferDrawBuffer");
|
1592
|
+
glad_glNamedFramebufferDrawBuffers = (PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC)load("glNamedFramebufferDrawBuffers");
|
1593
|
+
glad_glNamedFramebufferReadBuffer = (PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC)load("glNamedFramebufferReadBuffer");
|
1594
|
+
glad_glInvalidateNamedFramebufferData = (PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC)load("glInvalidateNamedFramebufferData");
|
1595
|
+
glad_glInvalidateNamedFramebufferSubData = (PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC)load("glInvalidateNamedFramebufferSubData");
|
1596
|
+
glad_glClearNamedFramebufferiv = (PFNGLCLEARNAMEDFRAMEBUFFERIVPROC)load("glClearNamedFramebufferiv");
|
1597
|
+
glad_glClearNamedFramebufferuiv = (PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC)load("glClearNamedFramebufferuiv");
|
1598
|
+
glad_glClearNamedFramebufferfv = (PFNGLCLEARNAMEDFRAMEBUFFERFVPROC)load("glClearNamedFramebufferfv");
|
1599
|
+
glad_glClearNamedFramebufferfi = (PFNGLCLEARNAMEDFRAMEBUFFERFIPROC)load("glClearNamedFramebufferfi");
|
1600
|
+
glad_glBlitNamedFramebuffer = (PFNGLBLITNAMEDFRAMEBUFFERPROC)load("glBlitNamedFramebuffer");
|
1601
|
+
glad_glCheckNamedFramebufferStatus = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC)load("glCheckNamedFramebufferStatus");
|
1602
|
+
glad_glGetNamedFramebufferParameteriv = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC)load("glGetNamedFramebufferParameteriv");
|
1603
|
+
glad_glGetNamedFramebufferAttachmentParameteriv = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetNamedFramebufferAttachmentParameteriv");
|
1604
|
+
glad_glCreateRenderbuffers = (PFNGLCREATERENDERBUFFERSPROC)load("glCreateRenderbuffers");
|
1605
|
+
glad_glNamedRenderbufferStorage = (PFNGLNAMEDRENDERBUFFERSTORAGEPROC)load("glNamedRenderbufferStorage");
|
1606
|
+
glad_glNamedRenderbufferStorageMultisample = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC)load("glNamedRenderbufferStorageMultisample");
|
1607
|
+
glad_glGetNamedRenderbufferParameteriv = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC)load("glGetNamedRenderbufferParameteriv");
|
1608
|
+
glad_glCreateTextures = (PFNGLCREATETEXTURESPROC)load("glCreateTextures");
|
1609
|
+
glad_glTextureBuffer = (PFNGLTEXTUREBUFFERPROC)load("glTextureBuffer");
|
1610
|
+
glad_glTextureBufferRange = (PFNGLTEXTUREBUFFERRANGEPROC)load("glTextureBufferRange");
|
1611
|
+
glad_glTextureStorage1D = (PFNGLTEXTURESTORAGE1DPROC)load("glTextureStorage1D");
|
1612
|
+
glad_glTextureStorage2D = (PFNGLTEXTURESTORAGE2DPROC)load("glTextureStorage2D");
|
1613
|
+
glad_glTextureStorage3D = (PFNGLTEXTURESTORAGE3DPROC)load("glTextureStorage3D");
|
1614
|
+
glad_glTextureStorage2DMultisample = (PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC)load("glTextureStorage2DMultisample");
|
1615
|
+
glad_glTextureStorage3DMultisample = (PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC)load("glTextureStorage3DMultisample");
|
1616
|
+
glad_glTextureSubImage1D = (PFNGLTEXTURESUBIMAGE1DPROC)load("glTextureSubImage1D");
|
1617
|
+
glad_glTextureSubImage2D = (PFNGLTEXTURESUBIMAGE2DPROC)load("glTextureSubImage2D");
|
1618
|
+
glad_glTextureSubImage3D = (PFNGLTEXTURESUBIMAGE3DPROC)load("glTextureSubImage3D");
|
1619
|
+
glad_glCompressedTextureSubImage1D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC)load("glCompressedTextureSubImage1D");
|
1620
|
+
glad_glCompressedTextureSubImage2D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC)load("glCompressedTextureSubImage2D");
|
1621
|
+
glad_glCompressedTextureSubImage3D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC)load("glCompressedTextureSubImage3D");
|
1622
|
+
glad_glCopyTextureSubImage1D = (PFNGLCOPYTEXTURESUBIMAGE1DPROC)load("glCopyTextureSubImage1D");
|
1623
|
+
glad_glCopyTextureSubImage2D = (PFNGLCOPYTEXTURESUBIMAGE2DPROC)load("glCopyTextureSubImage2D");
|
1624
|
+
glad_glCopyTextureSubImage3D = (PFNGLCOPYTEXTURESUBIMAGE3DPROC)load("glCopyTextureSubImage3D");
|
1625
|
+
glad_glTextureParameterf = (PFNGLTEXTUREPARAMETERFPROC)load("glTextureParameterf");
|
1626
|
+
glad_glTextureParameterfv = (PFNGLTEXTUREPARAMETERFVPROC)load("glTextureParameterfv");
|
1627
|
+
glad_glTextureParameteri = (PFNGLTEXTUREPARAMETERIPROC)load("glTextureParameteri");
|
1628
|
+
glad_glTextureParameterIiv = (PFNGLTEXTUREPARAMETERIIVPROC)load("glTextureParameterIiv");
|
1629
|
+
glad_glTextureParameterIuiv = (PFNGLTEXTUREPARAMETERIUIVPROC)load("glTextureParameterIuiv");
|
1630
|
+
glad_glTextureParameteriv = (PFNGLTEXTUREPARAMETERIVPROC)load("glTextureParameteriv");
|
1631
|
+
glad_glGenerateTextureMipmap = (PFNGLGENERATETEXTUREMIPMAPPROC)load("glGenerateTextureMipmap");
|
1632
|
+
glad_glBindTextureUnit = (PFNGLBINDTEXTUREUNITPROC)load("glBindTextureUnit");
|
1633
|
+
glad_glGetTextureImage = (PFNGLGETTEXTUREIMAGEPROC)load("glGetTextureImage");
|
1634
|
+
glad_glGetCompressedTextureImage = (PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC)load("glGetCompressedTextureImage");
|
1635
|
+
glad_glGetTextureLevelParameterfv = (PFNGLGETTEXTURELEVELPARAMETERFVPROC)load("glGetTextureLevelParameterfv");
|
1636
|
+
glad_glGetTextureLevelParameteriv = (PFNGLGETTEXTURELEVELPARAMETERIVPROC)load("glGetTextureLevelParameteriv");
|
1637
|
+
glad_glGetTextureParameterfv = (PFNGLGETTEXTUREPARAMETERFVPROC)load("glGetTextureParameterfv");
|
1638
|
+
glad_glGetTextureParameterIiv = (PFNGLGETTEXTUREPARAMETERIIVPROC)load("glGetTextureParameterIiv");
|
1639
|
+
glad_glGetTextureParameterIuiv = (PFNGLGETTEXTUREPARAMETERIUIVPROC)load("glGetTextureParameterIuiv");
|
1640
|
+
glad_glGetTextureParameteriv = (PFNGLGETTEXTUREPARAMETERIVPROC)load("glGetTextureParameteriv");
|
1641
|
+
glad_glCreateVertexArrays = (PFNGLCREATEVERTEXARRAYSPROC)load("glCreateVertexArrays");
|
1642
|
+
glad_glDisableVertexArrayAttrib = (PFNGLDISABLEVERTEXARRAYATTRIBPROC)load("glDisableVertexArrayAttrib");
|
1643
|
+
glad_glEnableVertexArrayAttrib = (PFNGLENABLEVERTEXARRAYATTRIBPROC)load("glEnableVertexArrayAttrib");
|
1644
|
+
glad_glVertexArrayElementBuffer = (PFNGLVERTEXARRAYELEMENTBUFFERPROC)load("glVertexArrayElementBuffer");
|
1645
|
+
glad_glVertexArrayVertexBuffer = (PFNGLVERTEXARRAYVERTEXBUFFERPROC)load("glVertexArrayVertexBuffer");
|
1646
|
+
glad_glVertexArrayVertexBuffers = (PFNGLVERTEXARRAYVERTEXBUFFERSPROC)load("glVertexArrayVertexBuffers");
|
1647
|
+
glad_glVertexArrayAttribBinding = (PFNGLVERTEXARRAYATTRIBBINDINGPROC)load("glVertexArrayAttribBinding");
|
1648
|
+
glad_glVertexArrayAttribFormat = (PFNGLVERTEXARRAYATTRIBFORMATPROC)load("glVertexArrayAttribFormat");
|
1649
|
+
glad_glVertexArrayAttribIFormat = (PFNGLVERTEXARRAYATTRIBIFORMATPROC)load("glVertexArrayAttribIFormat");
|
1650
|
+
glad_glVertexArrayAttribLFormat = (PFNGLVERTEXARRAYATTRIBLFORMATPROC)load("glVertexArrayAttribLFormat");
|
1651
|
+
glad_glVertexArrayBindingDivisor = (PFNGLVERTEXARRAYBINDINGDIVISORPROC)load("glVertexArrayBindingDivisor");
|
1652
|
+
glad_glGetVertexArrayiv = (PFNGLGETVERTEXARRAYIVPROC)load("glGetVertexArrayiv");
|
1653
|
+
glad_glGetVertexArrayIndexediv = (PFNGLGETVERTEXARRAYINDEXEDIVPROC)load("glGetVertexArrayIndexediv");
|
1654
|
+
glad_glGetVertexArrayIndexed64iv = (PFNGLGETVERTEXARRAYINDEXED64IVPROC)load("glGetVertexArrayIndexed64iv");
|
1655
|
+
glad_glCreateSamplers = (PFNGLCREATESAMPLERSPROC)load("glCreateSamplers");
|
1656
|
+
glad_glCreateProgramPipelines = (PFNGLCREATEPROGRAMPIPELINESPROC)load("glCreateProgramPipelines");
|
1657
|
+
glad_glCreateQueries = (PFNGLCREATEQUERIESPROC)load("glCreateQueries");
|
1658
|
+
glad_glGetQueryBufferObjecti64v = (PFNGLGETQUERYBUFFEROBJECTI64VPROC)load("glGetQueryBufferObjecti64v");
|
1659
|
+
glad_glGetQueryBufferObjectiv = (PFNGLGETQUERYBUFFEROBJECTIVPROC)load("glGetQueryBufferObjectiv");
|
1660
|
+
glad_glGetQueryBufferObjectui64v = (PFNGLGETQUERYBUFFEROBJECTUI64VPROC)load("glGetQueryBufferObjectui64v");
|
1661
|
+
glad_glGetQueryBufferObjectuiv = (PFNGLGETQUERYBUFFEROBJECTUIVPROC)load("glGetQueryBufferObjectuiv");
|
1662
|
+
glad_glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)load("glMemoryBarrierByRegion");
|
1663
|
+
glad_glGetTextureSubImage = (PFNGLGETTEXTURESUBIMAGEPROC)load("glGetTextureSubImage");
|
1664
|
+
glad_glGetCompressedTextureSubImage = (PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC)load("glGetCompressedTextureSubImage");
|
1665
|
+
glad_glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)load("glGetGraphicsResetStatus");
|
1666
|
+
glad_glGetnCompressedTexImage = (PFNGLGETNCOMPRESSEDTEXIMAGEPROC)load("glGetnCompressedTexImage");
|
1667
|
+
glad_glGetnTexImage = (PFNGLGETNTEXIMAGEPROC)load("glGetnTexImage");
|
1668
|
+
glad_glGetnUniformdv = (PFNGLGETNUNIFORMDVPROC)load("glGetnUniformdv");
|
1669
|
+
glad_glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)load("glGetnUniformfv");
|
1670
|
+
glad_glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)load("glGetnUniformiv");
|
1671
|
+
glad_glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)load("glGetnUniformuiv");
|
1672
|
+
glad_glReadnPixels = (PFNGLREADNPIXELSPROC)load("glReadnPixels");
|
1673
|
+
glad_glGetnMapdv = (PFNGLGETNMAPDVPROC)load("glGetnMapdv");
|
1674
|
+
glad_glGetnMapfv = (PFNGLGETNMAPFVPROC)load("glGetnMapfv");
|
1675
|
+
glad_glGetnMapiv = (PFNGLGETNMAPIVPROC)load("glGetnMapiv");
|
1676
|
+
glad_glGetnPixelMapfv = (PFNGLGETNPIXELMAPFVPROC)load("glGetnPixelMapfv");
|
1677
|
+
glad_glGetnPixelMapuiv = (PFNGLGETNPIXELMAPUIVPROC)load("glGetnPixelMapuiv");
|
1678
|
+
glad_glGetnPixelMapusv = (PFNGLGETNPIXELMAPUSVPROC)load("glGetnPixelMapusv");
|
1679
|
+
glad_glGetnPolygonStipple = (PFNGLGETNPOLYGONSTIPPLEPROC)load("glGetnPolygonStipple");
|
1680
|
+
glad_glGetnColorTable = (PFNGLGETNCOLORTABLEPROC)load("glGetnColorTable");
|
1681
|
+
glad_glGetnConvolutionFilter = (PFNGLGETNCONVOLUTIONFILTERPROC)load("glGetnConvolutionFilter");
|
1682
|
+
glad_glGetnSeparableFilter = (PFNGLGETNSEPARABLEFILTERPROC)load("glGetnSeparableFilter");
|
1683
|
+
glad_glGetnHistogram = (PFNGLGETNHISTOGRAMPROC)load("glGetnHistogram");
|
1684
|
+
glad_glGetnMinmax = (PFNGLGETNMINMAXPROC)load("glGetnMinmax");
|
1685
|
+
glad_glTextureBarrier = (PFNGLTEXTUREBARRIERPROC)load("glTextureBarrier");
|
1686
|
+
}
|
1687
|
+
static int find_extensionsGL(void) {
|
1688
|
+
if (!get_exts()) return 0;
|
1689
|
+
(void)&has_ext;
|
1690
|
+
free_exts();
|
1691
|
+
return 1;
|
1692
|
+
}
|
1693
|
+
|
1694
|
+
static void find_coreGL(void) {
|
1695
|
+
|
1696
|
+
/* Thank you @elmindreda
|
1697
|
+
* https://github.com/elmindreda/greg/blob/master/templates/greg.c.in#L176
|
1698
|
+
* https://github.com/glfw/glfw/blob/master/src/context.c#L36
|
1699
|
+
*/
|
1700
|
+
int i, major, minor;
|
1701
|
+
|
1702
|
+
const char* version;
|
1703
|
+
const char* prefixes[] = {
|
1704
|
+
"OpenGL ES-CM ",
|
1705
|
+
"OpenGL ES-CL ",
|
1706
|
+
"OpenGL ES ",
|
1707
|
+
NULL
|
1708
|
+
};
|
1709
|
+
|
1710
|
+
version = (const char*) glGetString(GL_VERSION);
|
1711
|
+
if (!version) return;
|
1712
|
+
|
1713
|
+
for (i = 0; prefixes[i]; i++) {
|
1714
|
+
const size_t length = strlen(prefixes[i]);
|
1715
|
+
if (strncmp(version, prefixes[i], length) == 0) {
|
1716
|
+
version += length;
|
1717
|
+
break;
|
1718
|
+
}
|
1719
|
+
}
|
1720
|
+
|
1721
|
+
/* PR #18 */
|
1722
|
+
#ifdef _MSC_VER
|
1723
|
+
sscanf_s(version, "%d.%d", &major, &minor);
|
1724
|
+
#else
|
1725
|
+
sscanf(version, "%d.%d", &major, &minor);
|
1726
|
+
#endif
|
1727
|
+
|
1728
|
+
GLVersion.major = major; GLVersion.minor = minor;
|
1729
|
+
max_loaded_major = major; max_loaded_minor = minor;
|
1730
|
+
GLAD_GL_VERSION_1_0 = (major == 1 && minor >= 0) || major > 1;
|
1731
|
+
GLAD_GL_VERSION_1_1 = (major == 1 && minor >= 1) || major > 1;
|
1732
|
+
GLAD_GL_VERSION_1_2 = (major == 1 && minor >= 2) || major > 1;
|
1733
|
+
GLAD_GL_VERSION_1_3 = (major == 1 && minor >= 3) || major > 1;
|
1734
|
+
GLAD_GL_VERSION_1_4 = (major == 1 && minor >= 4) || major > 1;
|
1735
|
+
GLAD_GL_VERSION_1_5 = (major == 1 && minor >= 5) || major > 1;
|
1736
|
+
GLAD_GL_VERSION_2_0 = (major == 2 && minor >= 0) || major > 2;
|
1737
|
+
GLAD_GL_VERSION_2_1 = (major == 2 && minor >= 1) || major > 2;
|
1738
|
+
GLAD_GL_VERSION_3_0 = (major == 3 && minor >= 0) || major > 3;
|
1739
|
+
GLAD_GL_VERSION_3_1 = (major == 3 && minor >= 1) || major > 3;
|
1740
|
+
GLAD_GL_VERSION_3_2 = (major == 3 && minor >= 2) || major > 3;
|
1741
|
+
GLAD_GL_VERSION_3_3 = (major == 3 && minor >= 3) || major > 3;
|
1742
|
+
GLAD_GL_VERSION_4_0 = (major == 4 && minor >= 0) || major > 4;
|
1743
|
+
GLAD_GL_VERSION_4_1 = (major == 4 && minor >= 1) || major > 4;
|
1744
|
+
GLAD_GL_VERSION_4_2 = (major == 4 && minor >= 2) || major > 4;
|
1745
|
+
GLAD_GL_VERSION_4_3 = (major == 4 && minor >= 3) || major > 4;
|
1746
|
+
GLAD_GL_VERSION_4_4 = (major == 4 && minor >= 4) || major > 4;
|
1747
|
+
GLAD_GL_VERSION_4_5 = (major == 4 && minor >= 5) || major > 4;
|
1748
|
+
if (GLVersion.major > 4 || (GLVersion.major >= 4 && GLVersion.minor >= 5)) {
|
1749
|
+
max_loaded_major = 4;
|
1750
|
+
max_loaded_minor = 5;
|
1751
|
+
}
|
1752
|
+
}
|
1753
|
+
|
1754
|
+
int gladLoadGLLoader(GLADloadproc load) {
|
1755
|
+
GLVersion.major = 0; GLVersion.minor = 0;
|
1756
|
+
glGetString = (PFNGLGETSTRINGPROC)load("glGetString");
|
1757
|
+
if(glGetString == NULL) return 0;
|
1758
|
+
if(glGetString(GL_VERSION) == NULL) return 0;
|
1759
|
+
find_coreGL();
|
1760
|
+
load_GL_VERSION_1_0(load);
|
1761
|
+
load_GL_VERSION_1_1(load);
|
1762
|
+
load_GL_VERSION_1_2(load);
|
1763
|
+
load_GL_VERSION_1_3(load);
|
1764
|
+
load_GL_VERSION_1_4(load);
|
1765
|
+
load_GL_VERSION_1_5(load);
|
1766
|
+
load_GL_VERSION_2_0(load);
|
1767
|
+
load_GL_VERSION_2_1(load);
|
1768
|
+
load_GL_VERSION_3_0(load);
|
1769
|
+
load_GL_VERSION_3_1(load);
|
1770
|
+
load_GL_VERSION_3_2(load);
|
1771
|
+
load_GL_VERSION_3_3(load);
|
1772
|
+
load_GL_VERSION_4_0(load);
|
1773
|
+
load_GL_VERSION_4_1(load);
|
1774
|
+
load_GL_VERSION_4_2(load);
|
1775
|
+
load_GL_VERSION_4_3(load);
|
1776
|
+
load_GL_VERSION_4_4(load);
|
1777
|
+
load_GL_VERSION_4_5(load);
|
1778
|
+
|
1779
|
+
if (!find_extensionsGL()) return 0;
|
1780
|
+
return GLVersion.major != 0 || GLVersion.minor != 0;
|
1781
|
+
}
|
1782
|
+
|