1 /* dstep /path/to/ndk-r10/platforms/android-18/arch-x86/usr/include/GLES3/gl3.h -o gl3.d*/
2 
3 module GLES3.gl3;
4 
5 import core.stdc.config;
6 
7 version (Android):
8 extern (C):
9 @system:
10 nothrow:
11 @nogc:
12 
13 alias void GLvoid;
14 alias char GLchar;
15 alias uint GLenum;
16 alias ubyte GLboolean;
17 alias uint GLbitfield;
18 alias byte GLbyte;
19 alias short GLshort;
20 alias int GLint;
21 alias int GLsizei;
22 alias ubyte GLubyte;
23 alias ushort GLushort;
24 alias uint GLuint;
25 alias float GLfloat;
26 alias float GLclampf;
27 alias int GLfixed;
28 alias c_long GLintptr;
29 alias c_long GLsizeiptr;
30 alias ushort GLhalf;
31 alias long GLint64;
32 alias ulong GLuint64;
33 alias __GLsync* GLsync;
34 
35 enum GL_ES_VERSION_3_0                                = 1;
36 enum GL_ES_VERSION_2_0                                = 1;
37 enum GL_DEPTH_BUFFER_BIT                              = 0x00000100;
38 enum GL_STENCIL_BUFFER_BIT                            = 0x00000400;
39 enum GL_COLOR_BUFFER_BIT                              = 0x00004000;
40 enum GL_FALSE                                         = 0;
41 enum GL_TRUE                                          = 1;
42 enum GL_POINTS                                        = 0x0000;
43 enum GL_LINES                                         = 0x0001;
44 enum GL_LINE_LOOP                                     = 0x0002;
45 enum GL_LINE_STRIP                                    = 0x0003;
46 enum GL_TRIANGLES                                     = 0x0004;
47 enum GL_TRIANGLE_STRIP                                = 0x0005;
48 enum GL_TRIANGLE_FAN                                  = 0x0006;
49 enum GL_ZERO                                          = 0;
50 enum GL_ONE                                           = 1;
51 enum GL_SRC_COLOR                                     = 0x0300;
52 enum GL_ONE_MINUS_SRC_COLOR                           = 0x0301;
53 enum GL_SRC_ALPHA                                     = 0x0302;
54 enum GL_ONE_MINUS_SRC_ALPHA                           = 0x0303;
55 enum GL_DST_ALPHA                                     = 0x0304;
56 enum GL_ONE_MINUS_DST_ALPHA                           = 0x0305;
57 enum GL_DST_COLOR                                     = 0x0306;
58 enum GL_ONE_MINUS_DST_COLOR                           = 0x0307;
59 enum GL_SRC_ALPHA_SATURATE                            = 0x0308;
60 enum GL_FUNC_ADD                                      = 0x8006;
61 enum GL_BLEND_EQUATION                                = 0x8009;
62 enum GL_BLEND_EQUATION_RGB                            = 0x8009;
63 enum GL_BLEND_EQUATION_ALPHA                          = 0x883D;
64 enum GL_FUNC_SUBTRACT                                 = 0x800A;
65 enum GL_FUNC_REVERSE_SUBTRACT                         = 0x800B;
66 enum GL_BLEND_DST_RGB                                 = 0x80C8;
67 enum GL_BLEND_SRC_RGB                                 = 0x80C9;
68 enum GL_BLEND_DST_ALPHA                               = 0x80CA;
69 enum GL_BLEND_SRC_ALPHA                               = 0x80CB;
70 enum GL_CONSTANT_COLOR                                = 0x8001;
71 enum GL_ONE_MINUS_CONSTANT_COLOR                      = 0x8002;
72 enum GL_CONSTANT_ALPHA                                = 0x8003;
73 enum GL_ONE_MINUS_CONSTANT_ALPHA                      = 0x8004;
74 enum GL_BLEND_COLOR                                   = 0x8005;
75 enum GL_ARRAY_BUFFER                                  = 0x8892;
76 enum GL_ELEMENT_ARRAY_BUFFER                          = 0x8893;
77 enum GL_ARRAY_BUFFER_BINDING                          = 0x8894;
78 enum GL_ELEMENT_ARRAY_BUFFER_BINDING                  = 0x8895;
79 enum GL_STREAM_DRAW                                   = 0x88E0;
80 enum GL_STATIC_DRAW                                   = 0x88E4;
81 enum GL_DYNAMIC_DRAW                                  = 0x88E8;
82 enum GL_BUFFER_SIZE                                   = 0x8764;
83 enum GL_BUFFER_USAGE                                  = 0x8765;
84 enum GL_CURRENT_VERTEX_ATTRIB                         = 0x8626;
85 enum GL_FRONT                                         = 0x0404;
86 enum GL_BACK                                          = 0x0405;
87 enum GL_FRONT_AND_BACK                                = 0x0408;
88 enum GL_TEXTURE_2D                                    = 0x0DE1;
89 enum GL_CULL_FACE                                     = 0x0B44;
90 enum GL_BLEND                                         = 0x0BE2;
91 enum GL_DITHER                                        = 0x0BD0;
92 enum GL_STENCIL_TEST                                  = 0x0B90;
93 enum GL_DEPTH_TEST                                    = 0x0B71;
94 enum GL_SCISSOR_TEST                                  = 0x0C11;
95 enum GL_POLYGON_OFFSET_FILL                           = 0x8037;
96 enum GL_SAMPLE_ALPHA_TO_COVERAGE                      = 0x809E;
97 enum GL_SAMPLE_COVERAGE                               = 0x80A0;
98 enum GL_NO_ERROR                                      = 0;
99 enum GL_INVALID_ENUM                                  = 0x0500;
100 enum GL_INVALID_VALUE                                 = 0x0501;
101 enum GL_INVALID_OPERATION                             = 0x0502;
102 enum GL_OUT_OF_MEMORY                                 = 0x0505;
103 enum GL_CW                                            = 0x0900;
104 enum GL_CCW                                           = 0x0901;
105 enum GL_LINE_WIDTH                                    = 0x0B21;
106 enum GL_ALIASED_POINT_SIZE_RANGE                      = 0x846D;
107 enum GL_ALIASED_LINE_WIDTH_RANGE                      = 0x846E;
108 enum GL_CULL_FACE_MODE                                = 0x0B45;
109 enum GL_FRONT_FACE                                    = 0x0B46;
110 enum GL_DEPTH_RANGE                                   = 0x0B70;
111 enum GL_DEPTH_WRITEMASK                               = 0x0B72;
112 enum GL_DEPTH_CLEAR_VALUE                             = 0x0B73;
113 enum GL_DEPTH_FUNC                                    = 0x0B74;
114 enum GL_STENCIL_CLEAR_VALUE                           = 0x0B91;
115 enum GL_STENCIL_FUNC                                  = 0x0B92;
116 enum GL_STENCIL_FAIL                                  = 0x0B94;
117 enum GL_STENCIL_PASS_DEPTH_FAIL                       = 0x0B95;
118 enum GL_STENCIL_PASS_DEPTH_PASS                       = 0x0B96;
119 enum GL_STENCIL_REF                                   = 0x0B97;
120 enum GL_STENCIL_VALUE_MASK                            = 0x0B93;
121 enum GL_STENCIL_WRITEMASK                             = 0x0B98;
122 enum GL_STENCIL_BACK_FUNC                             = 0x8800;
123 enum GL_STENCIL_BACK_FAIL                             = 0x8801;
124 enum GL_STENCIL_BACK_PASS_DEPTH_FAIL                  = 0x8802;
125 enum GL_STENCIL_BACK_PASS_DEPTH_PASS                  = 0x8803;
126 enum GL_STENCIL_BACK_REF                              = 0x8CA3;
127 enum GL_STENCIL_BACK_VALUE_MASK                       = 0x8CA4;
128 enum GL_STENCIL_BACK_WRITEMASK                        = 0x8CA5;
129 enum GL_VIEWPORT                                      = 0x0BA2;
130 enum GL_SCISSOR_BOX                                   = 0x0C10;
131 enum GL_COLOR_CLEAR_VALUE                             = 0x0C22;
132 enum GL_COLOR_WRITEMASK                               = 0x0C23;
133 enum GL_UNPACK_ALIGNMENT                              = 0x0CF5;
134 enum GL_PACK_ALIGNMENT                                = 0x0D05;
135 enum GL_MAX_TEXTURE_SIZE                              = 0x0D33;
136 enum GL_MAX_VIEWPORT_DIMS                             = 0x0D3A;
137 enum GL_SUBPIXEL_BITS                                 = 0x0D50;
138 enum GL_RED_BITS                                      = 0x0D52;
139 enum GL_GREEN_BITS                                    = 0x0D53;
140 enum GL_BLUE_BITS                                     = 0x0D54;
141 enum GL_ALPHA_BITS                                    = 0x0D55;
142 enum GL_DEPTH_BITS                                    = 0x0D56;
143 enum GL_STENCIL_BITS                                  = 0x0D57;
144 enum GL_POLYGON_OFFSET_UNITS                          = 0x2A00;
145 enum GL_POLYGON_OFFSET_FACTOR                         = 0x8038;
146 enum GL_TEXTURE_BINDING_2D                            = 0x8069;
147 enum GL_SAMPLE_BUFFERS                                = 0x80A8;
148 enum GL_SAMPLES                                       = 0x80A9;
149 enum GL_SAMPLE_COVERAGE_VALUE                         = 0x80AA;
150 enum GL_SAMPLE_COVERAGE_INVERT                        = 0x80AB;
151 enum GL_NUM_COMPRESSED_TEXTURE_FORMATS                = 0x86A2;
152 enum GL_COMPRESSED_TEXTURE_FORMATS                    = 0x86A3;
153 enum GL_DONT_CARE                                     = 0x1100;
154 enum GL_FASTEST                                       = 0x1101;
155 enum GL_NICEST                                        = 0x1102;
156 enum GL_GENERATE_MIPMAP_HINT                          = 0x8192;
157 enum GL_BYTE                                          = 0x1400;
158 enum GL_UNSIGNED_BYTE                                 = 0x1401;
159 enum GL_SHORT                                         = 0x1402;
160 enum GL_UNSIGNED_SHORT                                = 0x1403;
161 enum GL_INT                                           = 0x1404;
162 enum GL_UNSIGNED_INT                                  = 0x1405;
163 enum GL_FLOAT                                         = 0x1406;
164 enum GL_FIXED                                         = 0x140C;
165 enum GL_DEPTH_COMPONENT                               = 0x1902;
166 enum GL_ALPHA                                         = 0x1906;
167 enum GL_RGB                                           = 0x1907;
168 enum GL_RGBA                                          = 0x1908;
169 enum GL_LUMINANCE                                     = 0x1909;
170 enum GL_LUMINANCE_ALPHA                               = 0x190A;
171 enum GL_UNSIGNED_SHORT_4_4_4_4                        = 0x8033;
172 enum GL_UNSIGNED_SHORT_5_5_5_1                        = 0x8034;
173 enum GL_UNSIGNED_SHORT_5_6_5                          = 0x8363;
174 enum GL_FRAGMENT_SHADER                               = 0x8B30;
175 enum GL_VERTEX_SHADER                                 = 0x8B31;
176 enum GL_MAX_VERTEX_ATTRIBS                            = 0x8869;
177 enum GL_MAX_VERTEX_UNIFORM_VECTORS                    = 0x8DFB;
178 enum GL_MAX_VARYING_VECTORS                           = 0x8DFC;
179 enum GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS              = 0x8B4D;
180 enum GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS                = 0x8B4C;
181 enum GL_MAX_TEXTURE_IMAGE_UNITS                       = 0x8872;
182 enum GL_MAX_FRAGMENT_UNIFORM_VECTORS                  = 0x8DFD;
183 enum GL_SHADER_TYPE                                   = 0x8B4F;
184 enum GL_DELETE_STATUS                                 = 0x8B80;
185 enum GL_LINK_STATUS                                   = 0x8B82;
186 enum GL_VALIDATE_STATUS                               = 0x8B83;
187 enum GL_ATTACHED_SHADERS                              = 0x8B85;
188 enum GL_ACTIVE_UNIFORMS                               = 0x8B86;
189 enum GL_ACTIVE_UNIFORM_MAX_LENGTH                     = 0x8B87;
190 enum GL_ACTIVE_ATTRIBUTES                             = 0x8B89;
191 enum GL_ACTIVE_ATTRIBUTE_MAX_LENGTH                   = 0x8B8A;
192 enum GL_SHADING_LANGUAGE_VERSION                      = 0x8B8C;
193 enum GL_CURRENT_PROGRAM                               = 0x8B8D;
194 enum GL_NEVER                                         = 0x0200;
195 enum GL_LESS                                          = 0x0201;
196 enum GL_EQUAL                                         = 0x0202;
197 enum GL_LEQUAL                                        = 0x0203;
198 enum GL_GREATER                                       = 0x0204;
199 enum GL_NOTEQUAL                                      = 0x0205;
200 enum GL_GEQUAL                                        = 0x0206;
201 enum GL_ALWAYS                                        = 0x0207;
202 enum GL_KEEP                                          = 0x1E00;
203 enum GL_REPLACE                                       = 0x1E01;
204 enum GL_INCR                                          = 0x1E02;
205 enum GL_DECR                                          = 0x1E03;
206 enum GL_INVERT                                        = 0x150A;
207 enum GL_INCR_WRAP                                     = 0x8507;
208 enum GL_DECR_WRAP                                     = 0x8508;
209 enum GL_VENDOR                                        = 0x1F00;
210 enum GL_RENDERER                                      = 0x1F01;
211 enum GL_VERSION                                       = 0x1F02;
212 enum GL_EXTENSIONS                                    = 0x1F03;
213 enum GL_NEAREST                                       = 0x2600;
214 enum GL_LINEAR                                        = 0x2601;
215 enum GL_NEAREST_MIPMAP_NEAREST                        = 0x2700;
216 enum GL_LINEAR_MIPMAP_NEAREST                         = 0x2701;
217 enum GL_NEAREST_MIPMAP_LINEAR                         = 0x2702;
218 enum GL_LINEAR_MIPMAP_LINEAR                          = 0x2703;
219 enum GL_TEXTURE_MAG_FILTER                            = 0x2800;
220 enum GL_TEXTURE_MIN_FILTER                            = 0x2801;
221 enum GL_TEXTURE_WRAP_S                                = 0x2802;
222 enum GL_TEXTURE_WRAP_T                                = 0x2803;
223 enum GL_TEXTURE                                       = 0x1702;
224 enum GL_TEXTURE_CUBE_MAP                              = 0x8513;
225 enum GL_TEXTURE_BINDING_CUBE_MAP                      = 0x8514;
226 enum GL_TEXTURE_CUBE_MAP_POSITIVE_X                   = 0x8515;
227 enum GL_TEXTURE_CUBE_MAP_NEGATIVE_X                   = 0x8516;
228 enum GL_TEXTURE_CUBE_MAP_POSITIVE_Y                   = 0x8517;
229 enum GL_TEXTURE_CUBE_MAP_NEGATIVE_Y                   = 0x8518;
230 enum GL_TEXTURE_CUBE_MAP_POSITIVE_Z                   = 0x8519;
231 enum GL_TEXTURE_CUBE_MAP_NEGATIVE_Z                   = 0x851A;
232 enum GL_MAX_CUBE_MAP_TEXTURE_SIZE                     = 0x851C;
233 enum GL_TEXTURE0                                      = 0x84C0;
234 enum GL_TEXTURE1                                      = 0x84C1;
235 enum GL_TEXTURE2                                      = 0x84C2;
236 enum GL_TEXTURE3                                      = 0x84C3;
237 enum GL_TEXTURE4                                      = 0x84C4;
238 enum GL_TEXTURE5                                      = 0x84C5;
239 enum GL_TEXTURE6                                      = 0x84C6;
240 enum GL_TEXTURE7                                      = 0x84C7;
241 enum GL_TEXTURE8                                      = 0x84C8;
242 enum GL_TEXTURE9                                      = 0x84C9;
243 enum GL_TEXTURE10                                     = 0x84CA;
244 enum GL_TEXTURE11                                     = 0x84CB;
245 enum GL_TEXTURE12                                     = 0x84CC;
246 enum GL_TEXTURE13                                     = 0x84CD;
247 enum GL_TEXTURE14                                     = 0x84CE;
248 enum GL_TEXTURE15                                     = 0x84CF;
249 enum GL_TEXTURE16                                     = 0x84D0;
250 enum GL_TEXTURE17                                     = 0x84D1;
251 enum GL_TEXTURE18                                     = 0x84D2;
252 enum GL_TEXTURE19                                     = 0x84D3;
253 enum GL_TEXTURE20                                     = 0x84D4;
254 enum GL_TEXTURE21                                     = 0x84D5;
255 enum GL_TEXTURE22                                     = 0x84D6;
256 enum GL_TEXTURE23                                     = 0x84D7;
257 enum GL_TEXTURE24                                     = 0x84D8;
258 enum GL_TEXTURE25                                     = 0x84D9;
259 enum GL_TEXTURE26                                     = 0x84DA;
260 enum GL_TEXTURE27                                     = 0x84DB;
261 enum GL_TEXTURE28                                     = 0x84DC;
262 enum GL_TEXTURE29                                     = 0x84DD;
263 enum GL_TEXTURE30                                     = 0x84DE;
264 enum GL_TEXTURE31                                     = 0x84DF;
265 enum GL_ACTIVE_TEXTURE                                = 0x84E0;
266 enum GL_REPEAT                                        = 0x2901;
267 enum GL_CLAMP_TO_EDGE                                 = 0x812F;
268 enum GL_MIRRORED_REPEAT                               = 0x8370;
269 enum GL_FLOAT_VEC2                                    = 0x8B50;
270 enum GL_FLOAT_VEC3                                    = 0x8B51;
271 enum GL_FLOAT_VEC4                                    = 0x8B52;
272 enum GL_INT_VEC2                                      = 0x8B53;
273 enum GL_INT_VEC3                                      = 0x8B54;
274 enum GL_INT_VEC4                                      = 0x8B55;
275 enum GL_BOOL                                          = 0x8B56;
276 enum GL_BOOL_VEC2                                     = 0x8B57;
277 enum GL_BOOL_VEC3                                     = 0x8B58;
278 enum GL_BOOL_VEC4                                     = 0x8B59;
279 enum GL_FLOAT_MAT2                                    = 0x8B5A;
280 enum GL_FLOAT_MAT3                                    = 0x8B5B;
281 enum GL_FLOAT_MAT4                                    = 0x8B5C;
282 enum GL_SAMPLER_2D                                    = 0x8B5E;
283 enum GL_SAMPLER_CUBE                                  = 0x8B60;
284 enum GL_VERTEX_ATTRIB_ARRAY_ENABLED                   = 0x8622;
285 enum GL_VERTEX_ATTRIB_ARRAY_SIZE                      = 0x8623;
286 enum GL_VERTEX_ATTRIB_ARRAY_STRIDE                    = 0x8624;
287 enum GL_VERTEX_ATTRIB_ARRAY_TYPE                      = 0x8625;
288 enum GL_VERTEX_ATTRIB_ARRAY_NORMALIZED                = 0x886A;
289 enum GL_VERTEX_ATTRIB_ARRAY_POINTER                   = 0x8645;
290 enum GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING            = 0x889F;
291 enum GL_IMPLEMENTATION_COLOR_READ_TYPE                = 0x8B9A;
292 enum GL_IMPLEMENTATION_COLOR_READ_FORMAT              = 0x8B9B;
293 enum GL_COMPILE_STATUS                                = 0x8B81;
294 enum GL_INFO_LOG_LENGTH                               = 0x8B84;
295 enum GL_SHADER_SOURCE_LENGTH                          = 0x8B88;
296 enum GL_SHADER_COMPILER                               = 0x8DFA;
297 enum GL_SHADER_BINARY_FORMATS                         = 0x8DF8;
298 enum GL_NUM_SHADER_BINARY_FORMATS                     = 0x8DF9;
299 enum GL_LOW_FLOAT                                     = 0x8DF0;
300 enum GL_MEDIUM_FLOAT                                  = 0x8DF1;
301 enum GL_HIGH_FLOAT                                    = 0x8DF2;
302 enum GL_LOW_INT                                       = 0x8DF3;
303 enum GL_MEDIUM_INT                                    = 0x8DF4;
304 enum GL_HIGH_INT                                      = 0x8DF5;
305 enum GL_FRAMEBUFFER                                   = 0x8D40;
306 enum GL_RENDERBUFFER                                  = 0x8D41;
307 enum GL_RGBA4                                         = 0x8056;
308 enum GL_RGB5_A1                                       = 0x8057;
309 enum GL_RGB565                                        = 0x8D62;
310 enum GL_DEPTH_COMPONENT16                             = 0x81A5;
311 enum GL_STENCIL_INDEX8                                = 0x8D48;
312 enum GL_RENDERBUFFER_WIDTH                            = 0x8D42;
313 enum GL_RENDERBUFFER_HEIGHT                           = 0x8D43;
314 enum GL_RENDERBUFFER_INTERNAL_FORMAT                  = 0x8D44;
315 enum GL_RENDERBUFFER_RED_SIZE                         = 0x8D50;
316 enum GL_RENDERBUFFER_GREEN_SIZE                       = 0x8D51;
317 enum GL_RENDERBUFFER_BLUE_SIZE                        = 0x8D52;
318 enum GL_RENDERBUFFER_ALPHA_SIZE                       = 0x8D53;
319 enum GL_RENDERBUFFER_DEPTH_SIZE                       = 0x8D54;
320 enum GL_RENDERBUFFER_STENCIL_SIZE                     = 0x8D55;
321 enum GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE            = 0x8CD0;
322 enum GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME            = 0x8CD1;
323 enum GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL          = 0x8CD2;
324 enum GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE  = 0x8CD3;
325 enum GL_COLOR_ATTACHMENT0                             = 0x8CE0;
326 enum GL_DEPTH_ATTACHMENT                              = 0x8D00;
327 enum GL_STENCIL_ATTACHMENT                            = 0x8D20;
328 enum GL_NONE                                          = 0;
329 enum GL_FRAMEBUFFER_COMPLETE                          = 0x8CD5;
330 enum GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT             = 0x8CD6;
331 enum GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT     = 0x8CD7;
332 enum GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS             = 0x8CD9;
333 enum GL_FRAMEBUFFER_UNSUPPORTED                       = 0x8CDD;
334 enum GL_FRAMEBUFFER_BINDING                           = 0x8CA6;
335 enum GL_RENDERBUFFER_BINDING                          = 0x8CA7;
336 enum GL_MAX_RENDERBUFFER_SIZE                         = 0x84E8;
337 enum GL_INVALID_FRAMEBUFFER_OPERATION                 = 0x0506;
338 enum GL_READ_BUFFER                                   = 0x0C02;
339 enum GL_UNPACK_ROW_LENGTH                             = 0x0CF2;
340 enum GL_UNPACK_SKIP_ROWS                              = 0x0CF3;
341 enum GL_UNPACK_SKIP_PIXELS                            = 0x0CF4;
342 enum GL_PACK_ROW_LENGTH                               = 0x0D02;
343 enum GL_PACK_SKIP_ROWS                                = 0x0D03;
344 enum GL_PACK_SKIP_PIXELS                              = 0x0D04;
345 enum GL_COLOR                                         = 0x1800;
346 enum GL_DEPTH                                         = 0x1801;
347 enum GL_STENCIL                                       = 0x1802;
348 enum GL_RED                                           = 0x1903;
349 enum GL_RGB8                                          = 0x8051;
350 enum GL_RGBA8                                         = 0x8058;
351 enum GL_RGB10_A2                                      = 0x8059;
352 enum GL_TEXTURE_BINDING_3D                            = 0x806A;
353 enum GL_UNPACK_SKIP_IMAGES                            = 0x806D;
354 enum GL_UNPACK_IMAGE_HEIGHT                           = 0x806E;
355 enum GL_TEXTURE_3D                                    = 0x806F;
356 enum GL_TEXTURE_WRAP_R                                = 0x8072;
357 enum GL_MAX_3D_TEXTURE_SIZE                           = 0x8073;
358 enum GL_UNSIGNED_INT_2_10_10_10_REV                   = 0x8368;
359 enum GL_MAX_ELEMENTS_VERTICES                         = 0x80E8;
360 enum GL_MAX_ELEMENTS_INDICES                          = 0x80E9;
361 enum GL_TEXTURE_MIN_LOD                               = 0x813A;
362 enum GL_TEXTURE_MAX_LOD                               = 0x813B;
363 enum GL_TEXTURE_BASE_LEVEL                            = 0x813C;
364 enum GL_TEXTURE_MAX_LEVEL                             = 0x813D;
365 enum GL_MIN                                           = 0x8007;
366 enum GL_MAX                                           = 0x8008;
367 enum GL_DEPTH_COMPONENT24                             = 0x81A6;
368 enum GL_MAX_TEXTURE_LOD_BIAS                          = 0x84FD;
369 enum GL_TEXTURE_COMPARE_MODE                          = 0x884C;
370 enum GL_TEXTURE_COMPARE_FUNC                          = 0x884D;
371 enum GL_CURRENT_QUERY                                 = 0x8865;
372 enum GL_QUERY_RESULT                                  = 0x8866;
373 enum GL_QUERY_RESULT_AVAILABLE                        = 0x8867;
374 enum GL_BUFFER_MAPPED                                 = 0x88BC;
375 enum GL_BUFFER_MAP_POINTER                            = 0x88BD;
376 enum GL_STREAM_READ                                   = 0x88E1;
377 enum GL_STREAM_COPY                                   = 0x88E2;
378 enum GL_STATIC_READ                                   = 0x88E5;
379 enum GL_STATIC_COPY                                   = 0x88E6;
380 enum GL_DYNAMIC_READ                                  = 0x88E9;
381 enum GL_DYNAMIC_COPY                                  = 0x88EA;
382 enum GL_MAX_DRAW_BUFFERS                              = 0x8824;
383 enum GL_DRAW_BUFFER0                                  = 0x8825;
384 enum GL_DRAW_BUFFER1                                  = 0x8826;
385 enum GL_DRAW_BUFFER2                                  = 0x8827;
386 enum GL_DRAW_BUFFER3                                  = 0x8828;
387 enum GL_DRAW_BUFFER4                                  = 0x8829;
388 enum GL_DRAW_BUFFER5                                  = 0x882A;
389 enum GL_DRAW_BUFFER6                                  = 0x882B;
390 enum GL_DRAW_BUFFER7                                  = 0x882C;
391 enum GL_DRAW_BUFFER8                                  = 0x882D;
392 enum GL_DRAW_BUFFER9                                  = 0x882E;
393 enum GL_DRAW_BUFFER10                                 = 0x882F;
394 enum GL_DRAW_BUFFER11                                 = 0x8830;
395 enum GL_DRAW_BUFFER12                                 = 0x8831;
396 enum GL_DRAW_BUFFER13                                 = 0x8832;
397 enum GL_DRAW_BUFFER14                                 = 0x8833;
398 enum GL_DRAW_BUFFER15                                 = 0x8834;
399 enum GL_MAX_FRAGMENT_UNIFORM_COMPONENTS               = 0x8B49;
400 enum GL_MAX_VERTEX_UNIFORM_COMPONENTS                 = 0x8B4A;
401 enum GL_SAMPLER_3D                                    = 0x8B5F;
402 enum GL_SAMPLER_2D_SHADOW                             = 0x8B62;
403 enum GL_FRAGMENT_SHADER_DERIVATIVE_HINT               = 0x8B8B;
404 enum GL_PIXEL_PACK_BUFFER                             = 0x88EB;
405 enum GL_PIXEL_UNPACK_BUFFER                           = 0x88EC;
406 enum GL_PIXEL_PACK_BUFFER_BINDING                     = 0x88ED;
407 enum GL_PIXEL_UNPACK_BUFFER_BINDING                   = 0x88EF;
408 enum GL_FLOAT_MAT2x3                                  = 0x8B65;
409 enum GL_FLOAT_MAT2x4                                  = 0x8B66;
410 enum GL_FLOAT_MAT3x2                                  = 0x8B67;
411 enum GL_FLOAT_MAT3x4                                  = 0x8B68;
412 enum GL_FLOAT_MAT4x2                                  = 0x8B69;
413 enum GL_FLOAT_MAT4x3                                  = 0x8B6A;
414 enum GL_SRGB                                          = 0x8C40;
415 enum GL_SRGB8                                         = 0x8C41;
416 enum GL_SRGB8_ALPHA8                                  = 0x8C43;
417 enum GL_COMPARE_REF_TO_TEXTURE                        = 0x884E;
418 enum GL_MAJOR_VERSION                                 = 0x821B;
419 enum GL_MINOR_VERSION                                 = 0x821C;
420 enum GL_NUM_EXTENSIONS                                = 0x821D;
421 enum GL_RGBA32F                                       = 0x8814;
422 enum GL_RGB32F                                        = 0x8815;
423 enum GL_RGBA16F                                       = 0x881A;
424 enum GL_RGB16F                                        = 0x881B;
425 enum GL_VERTEX_ATTRIB_ARRAY_INTEGER                   = 0x88FD;
426 enum GL_MAX_ARRAY_TEXTURE_LAYERS                      = 0x88FF;
427 enum GL_MIN_PROGRAM_TEXEL_OFFSET                      = 0x8904;
428 enum GL_MAX_PROGRAM_TEXEL_OFFSET                      = 0x8905;
429 enum GL_MAX_VARYING_COMPONENTS                        = 0x8B4B;
430 enum GL_TEXTURE_2D_ARRAY                              = 0x8C1A;
431 enum GL_TEXTURE_BINDING_2D_ARRAY                      = 0x8C1D;
432 enum GL_R11F_G11F_B10F                                = 0x8C3A;
433 enum GL_UNSIGNED_INT_10F_11F_11F_REV                  = 0x8C3B;
434 enum GL_RGB9_E5                                       = 0x8C3D;
435 enum GL_UNSIGNED_INT_5_9_9_9_REV                      = 0x8C3E;
436 enum GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH         = 0x8C76;
437 enum GL_TRANSFORM_FEEDBACK_BUFFER_MODE                = 0x8C7F;
438 enum GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS    = 0x8C80;
439 enum GL_TRANSFORM_FEEDBACK_VARYINGS                   = 0x8C83;
440 enum GL_TRANSFORM_FEEDBACK_BUFFER_START               = 0x8C84;
441 enum GL_TRANSFORM_FEEDBACK_BUFFER_SIZE                = 0x8C85;
442 enum GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN         = 0x8C88;
443 enum GL_RASTERIZER_DISCARD                            = 0x8C89;
444 enum GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A;
445 enum GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS       = 0x8C8B;
446 enum GL_INTERLEAVED_ATTRIBS                           = 0x8C8C;
447 enum GL_SEPARATE_ATTRIBS                              = 0x8C8D;
448 enum GL_TRANSFORM_FEEDBACK_BUFFER                     = 0x8C8E;
449 enum GL_TRANSFORM_FEEDBACK_BUFFER_BINDING             = 0x8C8F;
450 enum GL_RGBA32UI                                      = 0x8D70;
451 enum GL_RGB32UI                                       = 0x8D71;
452 enum GL_RGBA16UI                                      = 0x8D76;
453 enum GL_RGB16UI                                       = 0x8D77;
454 enum GL_RGBA8UI                                       = 0x8D7C;
455 enum GL_RGB8UI                                        = 0x8D7D;
456 enum GL_RGBA32I                                       = 0x8D82;
457 enum GL_RGB32I                                        = 0x8D83;
458 enum GL_RGBA16I                                       = 0x8D88;
459 enum GL_RGB16I                                        = 0x8D89;
460 enum GL_RGBA8I                                        = 0x8D8E;
461 enum GL_RGB8I                                         = 0x8D8F;
462 enum GL_RED_INTEGER                                   = 0x8D94;
463 enum GL_RGB_INTEGER                                   = 0x8D98;
464 enum GL_RGBA_INTEGER                                  = 0x8D99;
465 enum GL_SAMPLER_2D_ARRAY                              = 0x8DC1;
466 enum GL_SAMPLER_2D_ARRAY_SHADOW                       = 0x8DC4;
467 enum GL_SAMPLER_CUBE_SHADOW                           = 0x8DC5;
468 enum GL_UNSIGNED_INT_VEC2                             = 0x8DC6;
469 enum GL_UNSIGNED_INT_VEC3                             = 0x8DC7;
470 enum GL_UNSIGNED_INT_VEC4                             = 0x8DC8;
471 enum GL_INT_SAMPLER_2D                                = 0x8DCA;
472 enum GL_INT_SAMPLER_3D                                = 0x8DCB;
473 enum GL_INT_SAMPLER_CUBE                              = 0x8DCC;
474 enum GL_INT_SAMPLER_2D_ARRAY                          = 0x8DCF;
475 enum GL_UNSIGNED_INT_SAMPLER_2D                       = 0x8DD2;
476 enum GL_UNSIGNED_INT_SAMPLER_3D                       = 0x8DD3;
477 enum GL_UNSIGNED_INT_SAMPLER_CUBE                     = 0x8DD4;
478 enum GL_UNSIGNED_INT_SAMPLER_2D_ARRAY                 = 0x8DD7;
479 enum GL_BUFFER_ACCESS_FLAGS                           = 0x911F;
480 enum GL_BUFFER_MAP_LENGTH                             = 0x9120;
481 enum GL_BUFFER_MAP_OFFSET                             = 0x9121;
482 enum GL_DEPTH_COMPONENT32F                            = 0x8CAC;
483 enum GL_DEPTH32F_STENCIL8                             = 0x8CAD;
484 enum GL_FLOAT_32_UNSIGNED_INT_24_8_REV                = 0x8DAD;
485 enum GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING         = 0x8210;
486 enum GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE         = 0x8211;
487 enum GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE               = 0x8212;
488 enum GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE             = 0x8213;
489 enum GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE              = 0x8214;
490 enum GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE             = 0x8215;
491 enum GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE             = 0x8216;
492 enum GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE           = 0x8217;
493 enum GL_FRAMEBUFFER_DEFAULT                           = 0x8218;
494 enum GL_FRAMEBUFFER_UNDEFINED                         = 0x8219;
495 enum GL_DEPTH_STENCIL_ATTACHMENT                      = 0x821A;
496 enum GL_DEPTH_STENCIL                                 = 0x84F9;
497 enum GL_UNSIGNED_INT_24_8                             = 0x84FA;
498 enum GL_DEPTH24_STENCIL8                              = 0x88F0;
499 enum GL_UNSIGNED_NORMALIZED                           = 0x8C17;
500 enum GL_DRAW_FRAMEBUFFER_BINDING                      = GL_FRAMEBUFFER_BINDING;
501 enum GL_READ_FRAMEBUFFER                              = 0x8CA8;
502 enum GL_DRAW_FRAMEBUFFER                              = 0x8CA9;
503 enum GL_READ_FRAMEBUFFER_BINDING                      = 0x8CAA;
504 enum GL_RENDERBUFFER_SAMPLES                          = 0x8CAB;
505 enum GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER          = 0x8CD4;
506 enum GL_MAX_COLOR_ATTACHMENTS                         = 0x8CDF;
507 enum GL_COLOR_ATTACHMENT1                             = 0x8CE1;
508 enum GL_COLOR_ATTACHMENT2                             = 0x8CE2;
509 enum GL_COLOR_ATTACHMENT3                             = 0x8CE3;
510 enum GL_COLOR_ATTACHMENT4                             = 0x8CE4;
511 enum GL_COLOR_ATTACHMENT5                             = 0x8CE5;
512 enum GL_COLOR_ATTACHMENT6                             = 0x8CE6;
513 enum GL_COLOR_ATTACHMENT7                             = 0x8CE7;
514 enum GL_COLOR_ATTACHMENT8                             = 0x8CE8;
515 enum GL_COLOR_ATTACHMENT9                             = 0x8CE9;
516 enum GL_COLOR_ATTACHMENT10                            = 0x8CEA;
517 enum GL_COLOR_ATTACHMENT11                            = 0x8CEB;
518 enum GL_COLOR_ATTACHMENT12                            = 0x8CEC;
519 enum GL_COLOR_ATTACHMENT13                            = 0x8CED;
520 enum GL_COLOR_ATTACHMENT14                            = 0x8CEE;
521 enum GL_COLOR_ATTACHMENT15                            = 0x8CEF;
522 enum GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE            = 0x8D56;
523 enum GL_MAX_SAMPLES                                   = 0x8D57;
524 enum GL_HALF_FLOAT                                    = 0x140B;
525 enum GL_MAP_READ_BIT                                  = 0x0001;
526 enum GL_MAP_WRITE_BIT                                 = 0x0002;
527 enum GL_MAP_INVALIDATE_RANGE_BIT                      = 0x0004;
528 enum GL_MAP_INVALIDATE_BUFFER_BIT                     = 0x0008;
529 enum GL_MAP_FLUSH_EXPLICIT_BIT                        = 0x0010;
530 enum GL_MAP_UNSYNCHRONIZED_BIT                        = 0x0020;
531 enum GL_RG                                            = 0x8227;
532 enum GL_RG_INTEGER                                    = 0x8228;
533 enum GL_R8                                            = 0x8229;
534 enum GL_RG8                                           = 0x822B;
535 enum GL_R16F                                          = 0x822D;
536 enum GL_R32F                                          = 0x822E;
537 enum GL_RG16F                                         = 0x822F;
538 enum GL_RG32F                                         = 0x8230;
539 enum GL_R8I                                           = 0x8231;
540 enum GL_R8UI                                          = 0x8232;
541 enum GL_R16I                                          = 0x8233;
542 enum GL_R16UI                                         = 0x8234;
543 enum GL_R32I                                          = 0x8235;
544 enum GL_R32UI                                         = 0x8236;
545 enum GL_RG8I                                          = 0x8237;
546 enum GL_RG8UI                                         = 0x8238;
547 enum GL_RG16I                                         = 0x8239;
548 enum GL_RG16UI                                        = 0x823A;
549 enum GL_RG32I                                         = 0x823B;
550 enum GL_RG32UI                                        = 0x823C;
551 enum GL_VERTEX_ARRAY_BINDING                          = 0x85B5;
552 enum GL_R8_SNORM                                      = 0x8F94;
553 enum GL_RG8_SNORM                                     = 0x8F95;
554 enum GL_RGB8_SNORM                                    = 0x8F96;
555 enum GL_RGBA8_SNORM                                   = 0x8F97;
556 enum GL_SIGNED_NORMALIZED                             = 0x8F9C;
557 enum GL_PRIMITIVE_RESTART_FIXED_INDEX                 = 0x8D69;
558 enum GL_COPY_READ_BUFFER                              = 0x8F36;
559 enum GL_COPY_WRITE_BUFFER                             = 0x8F37;
560 enum GL_COPY_READ_BUFFER_BINDING                      = GL_COPY_READ_BUFFER;
561 enum GL_COPY_WRITE_BUFFER_BINDING                     = GL_COPY_WRITE_BUFFER;
562 enum GL_UNIFORM_BUFFER                                = 0x8A11;
563 enum GL_UNIFORM_BUFFER_BINDING                        = 0x8A28;
564 enum GL_UNIFORM_BUFFER_START                          = 0x8A29;
565 enum GL_UNIFORM_BUFFER_SIZE                           = 0x8A2A;
566 enum GL_MAX_VERTEX_UNIFORM_BLOCKS                     = 0x8A2B;
567 enum GL_MAX_FRAGMENT_UNIFORM_BLOCKS                   = 0x8A2D;
568 enum GL_MAX_COMBINED_UNIFORM_BLOCKS                   = 0x8A2E;
569 enum GL_MAX_UNIFORM_BUFFER_BINDINGS                   = 0x8A2F;
570 enum GL_MAX_UNIFORM_BLOCK_SIZE                        = 0x8A30;
571 enum GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS        = 0x8A31;
572 enum GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS      = 0x8A33;
573 enum GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT               = 0x8A34;
574 enum GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH          = 0x8A35;
575 enum GL_ACTIVE_UNIFORM_BLOCKS                         = 0x8A36;
576 enum GL_UNIFORM_TYPE                                  = 0x8A37;
577 enum GL_UNIFORM_SIZE                                  = 0x8A38;
578 enum GL_UNIFORM_NAME_LENGTH                           = 0x8A39;
579 enum GL_UNIFORM_BLOCK_INDEX                           = 0x8A3A;
580 enum GL_UNIFORM_OFFSET                                = 0x8A3B;
581 enum GL_UNIFORM_ARRAY_STRIDE                          = 0x8A3C;
582 enum GL_UNIFORM_MATRIX_STRIDE                         = 0x8A3D;
583 enum GL_UNIFORM_IS_ROW_MAJOR                          = 0x8A3E;
584 enum GL_UNIFORM_BLOCK_BINDING                         = 0x8A3F;
585 enum GL_UNIFORM_BLOCK_DATA_SIZE                       = 0x8A40;
586 enum GL_UNIFORM_BLOCK_NAME_LENGTH                     = 0x8A41;
587 enum GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS                 = 0x8A42;
588 enum GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES          = 0x8A43;
589 enum GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER     = 0x8A44;
590 enum GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER   = 0x8A46;
591 enum GL_INVALID_INDEX                                 = 0xFFFFFFFF;
592 enum GL_MAX_VERTEX_OUTPUT_COMPONENTS                  = 0x9122;
593 enum GL_MAX_FRAGMENT_INPUT_COMPONENTS                 = 0x9125;
594 enum GL_MAX_SERVER_WAIT_TIMEOUT                       = 0x9111;
595 enum GL_OBJECT_TYPE                                   = 0x9112;
596 enum GL_SYNC_CONDITION                                = 0x9113;
597 enum GL_SYNC_STATUS                                   = 0x9114;
598 enum GL_SYNC_FLAGS                                    = 0x9115;
599 enum GL_SYNC_FENCE                                    = 0x9116;
600 enum GL_SYNC_GPU_COMMANDS_COMPLETE                    = 0x9117;
601 enum GL_UNSIGNALED                                    = 0x9118;
602 enum GL_SIGNALED                                      = 0x9119;
603 enum GL_ALREADY_SIGNALED                              = 0x911A;
604 enum GL_TIMEOUT_EXPIRED                               = 0x911B;
605 enum GL_CONDITION_SATISFIED                           = 0x911C;
606 enum GL_WAIT_FAILED                                   = 0x911D;
607 enum GL_SYNC_FLUSH_COMMANDS_BIT                       = 0x00000001;
608 enum GL_TIMEOUT_IGNORED                               = 0xFFFFFFFFFFFFFFFF;
609 enum GL_VERTEX_ATTRIB_ARRAY_DIVISOR                   = 0x88FE;
610 enum GL_ANY_SAMPLES_PASSED                            = 0x8C2F;
611 enum GL_ANY_SAMPLES_PASSED_CONSERVATIVE               = 0x8D6A;
612 enum GL_SAMPLER_BINDING                               = 0x8919;
613 enum GL_RGB10_A2UI                                    = 0x906F;
614 enum GL_TEXTURE_SWIZZLE_R                             = 0x8E42;
615 enum GL_TEXTURE_SWIZZLE_G                             = 0x8E43;
616 enum GL_TEXTURE_SWIZZLE_B                             = 0x8E44;
617 enum GL_TEXTURE_SWIZZLE_A                             = 0x8E45;
618 enum GL_GREEN                                         = 0x1904;
619 enum GL_BLUE                                          = 0x1905;
620 enum GL_INT_2_10_10_10_REV                            = 0x8D9F;
621 enum GL_TRANSFORM_FEEDBACK                            = 0x8E22;
622 enum GL_TRANSFORM_FEEDBACK_PAUSED                     = 0x8E23;
623 enum GL_TRANSFORM_FEEDBACK_ACTIVE                     = 0x8E24;
624 enum GL_TRANSFORM_FEEDBACK_BINDING                    = 0x8E25;
625 enum GL_PROGRAM_BINARY_RETRIEVABLE_HINT               = 0x8257;
626 enum GL_PROGRAM_BINARY_LENGTH                         = 0x8741;
627 enum GL_NUM_PROGRAM_BINARY_FORMATS                    = 0x87FE;
628 enum GL_PROGRAM_BINARY_FORMATS                        = 0x87FF;
629 enum GL_COMPRESSED_R11_EAC                            = 0x9270;
630 enum GL_COMPRESSED_SIGNED_R11_EAC                     = 0x9271;
631 enum GL_COMPRESSED_RG11_EAC                           = 0x9272;
632 enum GL_COMPRESSED_SIGNED_RG11_EAC                    = 0x9273;
633 enum GL_COMPRESSED_RGB8_ETC2                          = 0x9274;
634 enum GL_COMPRESSED_SRGB8_ETC2                         = 0x9275;
635 enum GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2      = 0x9276;
636 enum GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2     = 0x9277;
637 enum GL_COMPRESSED_RGBA8_ETC2_EAC                     = 0x9278;
638 enum GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC              = 0x9279;
639 enum GL_TEXTURE_IMMUTABLE_FORMAT                      = 0x912F;
640 enum GL_MAX_ELEMENT_INDEX                             = 0x8D6B;
641 enum GL_NUM_SAMPLE_COUNTS                             = 0x9380;
642 enum GL_TEXTURE_IMMUTABLE_LEVELS                      = 0x82DF;
643 
644 struct __GLsync;
645 
646 void glActiveTexture(GLenum texture);
647 void glAttachShader(GLuint program, GLuint shader);
648 void glBindAttribLocation(GLuint program, GLuint index, const(GLchar)* name);
649 void glBindBuffer(GLenum target, GLuint buffer);
650 void glBindFramebuffer(GLenum target, GLuint framebuffer);
651 void glBindRenderbuffer(GLenum target, GLuint renderbuffer);
652 void glBindTexture(GLenum target, GLuint texture);
653 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
654 void glBlendEquation(GLenum mode);
655 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
656 void glBlendFunc(GLenum sfactor, GLenum dfactor);
657 void glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
658 void glBufferData(GLenum target, GLsizeiptr size, const(GLvoid)* data, GLenum usage);
659 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const(GLvoid)* data);
660 GLenum glCheckFramebufferStatus(GLenum target);
661 void glClear(GLbitfield mask);
662 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
663 void glClearDepthf(GLfloat depth);
664 void glClearStencil(GLint s);
665 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
666 void glCompileShader(GLuint shader);
667 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const(GLvoid)* data);
668 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const(GLvoid)* data);
669 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
670 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
671 GLuint glCreateProgram();
672 GLuint glCreateShader(GLenum type);
673 void glCullFace(GLenum mode);
674 void glDeleteBuffers(GLsizei n, const(GLuint)* buffers);
675 void glDeleteFramebuffers(GLsizei n, const(GLuint)* framebuffers);
676 void glDeleteProgram(GLuint program);
677 void glDeleteRenderbuffers(GLsizei n, const(GLuint)* renderbuffers);
678 void glDeleteShader(GLuint shader);
679 void glDeleteTextures(GLsizei n, const(GLuint)* textures);
680 void glDepthFunc(GLenum func);
681 void glDepthMask(GLboolean flag);
682 void glDepthRangef(GLfloat n, GLfloat f);
683 void glDetachShader(GLuint program, GLuint shader);
684 void glDisable(GLenum cap);
685 void glDisableVertexAttribArray(GLuint index);
686 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
687 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const(GLvoid)* indices);
688 void glEnable(GLenum cap);
689 void glEnableVertexAttribArray(GLuint index);
690 void glFinish();
691 void glFlush();
692 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
693 void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
694 void glFrontFace(GLenum mode);
695 void glGenBuffers(GLsizei n, GLuint* buffers);
696 void glGenerateMipmap(GLenum target);
697 void glGenFramebuffers(GLsizei n, GLuint* framebuffers);
698 void glGenRenderbuffers(GLsizei n, GLuint* renderbuffers);
699 void glGenTextures(GLsizei n, GLuint* textures);
700 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
701 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
702 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
703 GLint glGetAttribLocation(GLuint program, const(GLchar)* name);
704 void glGetBooleanv(GLenum pname, GLboolean* params);
705 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
706 GLenum glGetError();
707 void glGetFloatv(GLenum pname, GLfloat* params);
708 void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params);
709 void glGetIntegerv(GLenum pname, GLint* params);
710 void glGetProgramiv(GLuint program, GLenum pname, GLint* params);
711 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
712 void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
713 void glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
714 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
715 void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
716 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);
717 const(GLubyte)* glGetString(GLenum name);
718 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
719 void glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
720 void glGetUniformfv(GLuint program, GLint location, GLfloat* params);
721 void glGetUniformiv(GLuint program, GLint location, GLint* params);
722 GLint glGetUniformLocation(GLuint program, const(GLchar)* name);
723 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
724 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
725 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid** pointer);
726 void glHint(GLenum target, GLenum mode);
727 GLboolean glIsBuffer(GLuint buffer);
728 GLboolean glIsEnabled(GLenum cap);
729 GLboolean glIsFramebuffer(GLuint framebuffer);
730 GLboolean glIsProgram(GLuint program);
731 GLboolean glIsRenderbuffer(GLuint renderbuffer);
732 GLboolean glIsShader(GLuint shader);
733 GLboolean glIsTexture(GLuint texture);
734 void glLineWidth(GLfloat width);
735 void glLinkProgram(GLuint program);
736 void glPixelStorei(GLenum pname, GLint param);
737 void glPolygonOffset(GLfloat factor, GLfloat units);
738 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
739 void glReleaseShaderCompiler();
740 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
741 void glSampleCoverage(GLfloat value, GLboolean invert);
742 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
743 void glShaderBinary(GLsizei n, const(GLuint)* shaders, GLenum binaryformat, const(GLvoid)* binary, GLsizei length);
744 void glShaderSource(GLuint shader, GLsizei count, const(GLchar*)* string, const(GLint)* length);
745 void glStencilFunc(GLenum func, GLint ref_, GLuint mask);
746 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref_, GLuint mask);
747 void glStencilMask(GLuint mask);
748 void glStencilMaskSeparate(GLenum face, GLuint mask);
749 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
750 void glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
751 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const(GLvoid)* pixels);
752 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
753 void glTexParameterfv(GLenum target, GLenum pname, const(GLfloat)* params);
754 void glTexParameteri(GLenum target, GLenum pname, GLint param);
755 void glTexParameteriv(GLenum target, GLenum pname, const(GLint)* params);
756 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const(GLvoid)* pixels);
757 void glUniform1f(GLint location, GLfloat x);
758 void glUniform1fv(GLint location, GLsizei count, const(GLfloat)* v);
759 void glUniform1i(GLint location, GLint x);
760 void glUniform1iv(GLint location, GLsizei count, const(GLint)* v);
761 void glUniform2f(GLint location, GLfloat x, GLfloat y);
762 void glUniform2fv(GLint location, GLsizei count, const(GLfloat)* v);
763 void glUniform2i(GLint location, GLint x, GLint y);
764 void glUniform2iv(GLint location, GLsizei count, const(GLint)* v);
765 void glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
766 void glUniform3fv(GLint location, GLsizei count, const(GLfloat)* v);
767 void glUniform3i(GLint location, GLint x, GLint y, GLint z);
768 void glUniform3iv(GLint location, GLsizei count, const(GLint)* v);
769 void glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
770 void glUniform4fv(GLint location, GLsizei count, const(GLfloat)* v);
771 void glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
772 void glUniform4iv(GLint location, GLsizei count, const(GLint)* v);
773 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
774 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
775 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
776 void glUseProgram(GLuint program);
777 void glValidateProgram(GLuint program);
778 void glVertexAttrib1f(GLuint indx, GLfloat x);
779 void glVertexAttrib1fv(GLuint indx, const(GLfloat)* values);
780 void glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
781 void glVertexAttrib2fv(GLuint indx, const(GLfloat)* values);
782 void glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
783 void glVertexAttrib3fv(GLuint indx, const(GLfloat)* values);
784 void glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
785 void glVertexAttrib4fv(GLuint indx, const(GLfloat)* values);
786 void glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const(GLvoid)* ptr);
787 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
788 void glReadBuffer(GLenum mode);
789 void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const(GLvoid)* indices);
790 void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const(GLvoid)* pixels);
791 void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const(GLvoid)* pixels);
792 void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
793 void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const(GLvoid)* data);
794 void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const(GLvoid)* data);
795 void glGenQueries(GLsizei n, GLuint* ids);
796 void glDeleteQueries(GLsizei n, const(GLuint)* ids);
797 GLboolean glIsQuery(GLuint id);
798 void glBeginQuery(GLenum target, GLuint id);
799 void glEndQuery(GLenum target);
800 void glGetQueryiv(GLenum target, GLenum pname, GLint* params);
801 void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint* params);
802 GLboolean glUnmapBuffer(GLenum target);
803 void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid** params);
804 void glDrawBuffers(GLsizei n, const(GLenum)* bufs);
805 void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
806 void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
807 void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
808 void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
809 void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
810 void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const(GLfloat)* value);
811 void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
812 void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
813 void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
814 GLvoid* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
815 void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length);
816 void glBindVertexArray(GLuint array);
817 void glDeleteVertexArrays(GLsizei n, const(GLuint)* arrays);
818 void glGenVertexArrays(GLsizei n, GLuint* arrays);
819 GLboolean glIsVertexArray(GLuint array);
820 void glGetIntegeri_v(GLenum target, GLuint index, GLint* data);
821 void glBeginTransformFeedback(GLenum primitiveMode);
822 void glEndTransformFeedback();
823 void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
824 void glBindBufferBase(GLenum target, GLuint index, GLuint buffer);
825 void glTransformFeedbackVaryings(GLuint program, GLsizei count, const(GLchar*)* varyings, GLenum bufferMode);
826 void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name);
827 void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const(GLvoid)* pointer);
828 void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint* params);
829 void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params);
830 void glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w);
831 void glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
832 void glVertexAttribI4iv(GLuint index, const(GLint)* v);
833 void glVertexAttribI4uiv(GLuint index, const(GLuint)* v);
834 void glGetUniformuiv(GLuint program, GLint location, GLuint* params);
835 GLint glGetFragDataLocation(GLuint program, const(GLchar)* name);
836 void glUniform1ui(GLint location, GLuint v0);
837 void glUniform2ui(GLint location, GLuint v0, GLuint v1);
838 void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
839 void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
840 void glUniform1uiv(GLint location, GLsizei count, const(GLuint)* value);
841 void glUniform2uiv(GLint location, GLsizei count, const(GLuint)* value);
842 void glUniform3uiv(GLint location, GLsizei count, const(GLuint)* value);
843 void glUniform4uiv(GLint location, GLsizei count, const(GLuint)* value);
844 void glClearBufferiv(GLenum buffer, GLint drawbuffer, const(GLint)* value);
845 void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const(GLuint)* value);
846 void glClearBufferfv(GLenum buffer, GLint drawbuffer, const(GLfloat)* value);
847 void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
848 const(GLubyte)* glGetStringi(GLenum name, GLuint index);
849 void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
850 void glGetUniformIndices(GLuint program, GLsizei uniformCount, const(GLchar*)* uniformNames, GLuint* uniformIndices);
851 void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const(GLuint)* uniformIndices, GLenum pname, GLint* params);
852 GLuint glGetUniformBlockIndex(GLuint program, const(GLchar)* uniformBlockName);
853 void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params);
854 void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName);
855 void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
856 void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount);
857 void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const(GLvoid)* indices, GLsizei instanceCount);
858 GLsync glFenceSync(GLenum condition, GLbitfield flags);
859 GLboolean glIsSync(GLsync sync);
860 void glDeleteSync(GLsync sync);
861 GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
862 void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
863 void glGetInteger64v(GLenum pname, GLint64* params);
864 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values);
865 void glGetInteger64i_v(GLenum target, GLuint index, GLint64* data);
866 void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64* params);
867 void glGenSamplers(GLsizei count, GLuint* samplers);
868 void glDeleteSamplers(GLsizei count, const(GLuint)* samplers);
869 GLboolean glIsSampler(GLuint sampler);
870 void glBindSampler(GLuint unit, GLuint sampler);
871 void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
872 void glSamplerParameteriv(GLuint sampler, GLenum pname, const(GLint)* param);
873 void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
874 void glSamplerParameterfv(GLuint sampler, GLenum pname, const(GLfloat)* param);
875 void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params);
876 void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params);
877 void glVertexAttribDivisor(GLuint index, GLuint divisor);
878 void glBindTransformFeedback(GLenum target, GLuint id);
879 void glDeleteTransformFeedbacks(GLsizei n, const(GLuint)* ids);
880 void glGenTransformFeedbacks(GLsizei n, GLuint* ids);
881 GLboolean glIsTransformFeedback(GLuint id);
882 void glPauseTransformFeedback();
883 void glResumeTransformFeedback();
884 void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary);
885 void glProgramBinary(GLuint program, GLenum binaryFormat, const(GLvoid)* binary, GLsizei length);
886 void glProgramParameteri(GLuint program, GLenum pname, GLint value);
887 void glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const(GLenum)* attachments);
888 void glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const(GLenum)* attachments, GLint x, GLint y, GLsizei width, GLsizei height);
889 void glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
890 void glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
891 void glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params);