1 /* dstep /path/to/ndk-r9d/platforms/android-9/arch-x86/usr/include/GLES/gl.h -o gl.d*/
2
3 module GLES.gl;
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 int GLclampx;
29 alias c_long GLintptr;
30 alias c_long GLsizeiptr;
31
32 enum GL_VERSION_ES_CM_1_0 = 1;
33 enum GL_VERSION_ES_CL_1_0 = 1;
34 enum GL_VERSION_ES_CM_1_1 = 1;
35 enum GL_VERSION_ES_CL_1_1 = 1;
36 enum GL_DEPTH_BUFFER_BIT = 0x00000100;
37 enum GL_STENCIL_BUFFER_BIT = 0x00000400;
38 enum GL_COLOR_BUFFER_BIT = 0x00004000;
39 enum GL_FALSE = 0;
40 enum GL_TRUE = 1;
41 enum GL_POINTS = 0x0000;
42 enum GL_LINES = 0x0001;
43 enum GL_LINE_LOOP = 0x0002;
44 enum GL_LINE_STRIP = 0x0003;
45 enum GL_TRIANGLES = 0x0004;
46 enum GL_TRIANGLE_STRIP = 0x0005;
47 enum GL_TRIANGLE_FAN = 0x0006;
48 enum GL_NEVER = 0x0200;
49 enum GL_LESS = 0x0201;
50 enum GL_EQUAL = 0x0202;
51 enum GL_LEQUAL = 0x0203;
52 enum GL_GREATER = 0x0204;
53 enum GL_NOTEQUAL = 0x0205;
54 enum GL_GEQUAL = 0x0206;
55 enum GL_ALWAYS = 0x0207;
56 enum GL_ZERO = 0;
57 enum GL_ONE = 1;
58 enum GL_SRC_COLOR = 0x0300;
59 enum GL_ONE_MINUS_SRC_COLOR = 0x0301;
60 enum GL_SRC_ALPHA = 0x0302;
61 enum GL_ONE_MINUS_SRC_ALPHA = 0x0303;
62 enum GL_DST_ALPHA = 0x0304;
63 enum GL_ONE_MINUS_DST_ALPHA = 0x0305;
64 enum GL_DST_COLOR = 0x0306;
65 enum GL_ONE_MINUS_DST_COLOR = 0x0307;
66 enum GL_SRC_ALPHA_SATURATE = 0x0308;
67 enum GL_CLIP_PLANE0 = 0x3000;
68 enum GL_CLIP_PLANE1 = 0x3001;
69 enum GL_CLIP_PLANE2 = 0x3002;
70 enum GL_CLIP_PLANE3 = 0x3003;
71 enum GL_CLIP_PLANE4 = 0x3004;
72 enum GL_CLIP_PLANE5 = 0x3005;
73 enum GL_FRONT = 0x0404;
74 enum GL_BACK = 0x0405;
75 enum GL_FRONT_AND_BACK = 0x0408;
76 enum GL_FOG = 0x0B60;
77 enum GL_LIGHTING = 0x0B50;
78 enum GL_TEXTURE_2D = 0x0DE1;
79 enum GL_CULL_FACE = 0x0B44;
80 enum GL_ALPHA_TEST = 0x0BC0;
81 enum GL_BLEND = 0x0BE2;
82 enum GL_COLOR_LOGIC_OP = 0x0BF2;
83 enum GL_DITHER = 0x0BD0;
84 enum GL_STENCIL_TEST = 0x0B90;
85 enum GL_DEPTH_TEST = 0x0B71;
86 enum GL_POINT_SMOOTH = 0x0B10;
87 enum GL_LINE_SMOOTH = 0x0B20;
88 enum GL_COLOR_MATERIAL = 0x0B57;
89 enum GL_NORMALIZE = 0x0BA1;
90 enum GL_RESCALE_NORMAL = 0x803A;
91 enum GL_VERTEX_ARRAY = 0x8074;
92 enum GL_NORMAL_ARRAY = 0x8075;
93 enum GL_COLOR_ARRAY = 0x8076;
94 enum GL_TEXTURE_COORD_ARRAY = 0x8078;
95 enum GL_MULTISAMPLE = 0x809D;
96 enum GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
97 enum GL_SAMPLE_ALPHA_TO_ONE = 0x809F;
98 enum GL_SAMPLE_COVERAGE = 0x80A0;
99 enum GL_NO_ERROR = 0;
100 enum GL_INVALID_ENUM = 0x0500;
101 enum GL_INVALID_VALUE = 0x0501;
102 enum GL_INVALID_OPERATION = 0x0502;
103 enum GL_STACK_OVERFLOW = 0x0503;
104 enum GL_STACK_UNDERFLOW = 0x0504;
105 enum GL_OUT_OF_MEMORY = 0x0505;
106 enum GL_EXP = 0x0800;
107 enum GL_EXP2 = 0x0801;
108 enum GL_FOG_DENSITY = 0x0B62;
109 enum GL_FOG_START = 0x0B63;
110 enum GL_FOG_END = 0x0B64;
111 enum GL_FOG_MODE = 0x0B65;
112 enum GL_FOG_COLOR = 0x0B66;
113 enum GL_CW = 0x0900;
114 enum GL_CCW = 0x0901;
115 enum GL_CURRENT_COLOR = 0x0B00;
116 enum GL_CURRENT_NORMAL = 0x0B02;
117 enum GL_CURRENT_TEXTURE_COORDS = 0x0B03;
118 enum GL_POINT_SIZE = 0x0B11;
119 enum GL_POINT_SIZE_MIN = 0x8126;
120 enum GL_POINT_SIZE_MAX = 0x8127;
121 enum GL_POINT_FADE_THRESHOLD_SIZE = 0x8128;
122 enum GL_POINT_DISTANCE_ATTENUATION = 0x8129;
123 enum GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12;
124 enum GL_LINE_WIDTH = 0x0B21;
125 enum GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22;
126 enum GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
127 enum GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
128 enum GL_CULL_FACE_MODE = 0x0B45;
129 enum GL_FRONT_FACE = 0x0B46;
130 enum GL_SHADE_MODEL = 0x0B54;
131 enum GL_DEPTH_RANGE = 0x0B70;
132 enum GL_DEPTH_WRITEMASK = 0x0B72;
133 enum GL_DEPTH_CLEAR_VALUE = 0x0B73;
134 enum GL_DEPTH_FUNC = 0x0B74;
135 enum GL_STENCIL_CLEAR_VALUE = 0x0B91;
136 enum GL_STENCIL_FUNC = 0x0B92;
137 enum GL_STENCIL_VALUE_MASK = 0x0B93;
138 enum GL_STENCIL_FAIL = 0x0B94;
139 enum GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
140 enum GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
141 enum GL_STENCIL_REF = 0x0B97;
142 enum GL_STENCIL_WRITEMASK = 0x0B98;
143 enum GL_MATRIX_MODE = 0x0BA0;
144 enum GL_VIEWPORT = 0x0BA2;
145 enum GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
146 enum GL_PROJECTION_STACK_DEPTH = 0x0BA4;
147 enum GL_TEXTURE_STACK_DEPTH = 0x0BA5;
148 enum GL_MODELVIEW_MATRIX = 0x0BA6;
149 enum GL_PROJECTION_MATRIX = 0x0BA7;
150 enum GL_TEXTURE_MATRIX = 0x0BA8;
151 enum GL_ALPHA_TEST_FUNC = 0x0BC1;
152 enum GL_ALPHA_TEST_REF = 0x0BC2;
153 enum GL_BLEND_DST = 0x0BE0;
154 enum GL_BLEND_SRC = 0x0BE1;
155 enum GL_LOGIC_OP_MODE = 0x0BF0;
156 enum GL_SCISSOR_BOX = 0x0C10;
157 enum GL_SCISSOR_TEST = 0x0C11;
158 enum GL_COLOR_CLEAR_VALUE = 0x0C22;
159 enum GL_COLOR_WRITEMASK = 0x0C23;
160 enum GL_UNPACK_ALIGNMENT = 0x0CF5;
161 enum GL_PACK_ALIGNMENT = 0x0D05;
162 enum GL_MAX_LIGHTS = 0x0D31;
163 enum GL_MAX_CLIP_PLANES = 0x0D32;
164 enum GL_MAX_TEXTURE_SIZE = 0x0D33;
165 enum GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
166 enum GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
167 enum GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
168 enum GL_MAX_VIEWPORT_DIMS = 0x0D3A;
169 enum GL_MAX_TEXTURE_UNITS = 0x84E2;
170 enum GL_SUBPIXEL_BITS = 0x0D50;
171 enum GL_RED_BITS = 0x0D52;
172 enum GL_GREEN_BITS = 0x0D53;
173 enum GL_BLUE_BITS = 0x0D54;
174 enum GL_ALPHA_BITS = 0x0D55;
175 enum GL_DEPTH_BITS = 0x0D56;
176 enum GL_STENCIL_BITS = 0x0D57;
177 enum GL_POLYGON_OFFSET_UNITS = 0x2A00;
178 enum GL_POLYGON_OFFSET_FILL = 0x8037;
179 enum GL_POLYGON_OFFSET_FACTOR = 0x8038;
180 enum GL_TEXTURE_BINDING_2D = 0x8069;
181 enum GL_VERTEX_ARRAY_SIZE = 0x807A;
182 enum GL_VERTEX_ARRAY_TYPE = 0x807B;
183 enum GL_VERTEX_ARRAY_STRIDE = 0x807C;
184 enum GL_NORMAL_ARRAY_TYPE = 0x807E;
185 enum GL_NORMAL_ARRAY_STRIDE = 0x807F;
186 enum GL_COLOR_ARRAY_SIZE = 0x8081;
187 enum GL_COLOR_ARRAY_TYPE = 0x8082;
188 enum GL_COLOR_ARRAY_STRIDE = 0x8083;
189 enum GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
190 enum GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
191 enum GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
192 enum GL_VERTEX_ARRAY_POINTER = 0x808E;
193 enum GL_NORMAL_ARRAY_POINTER = 0x808F;
194 enum GL_COLOR_ARRAY_POINTER = 0x8090;
195 enum GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
196 enum GL_SAMPLE_BUFFERS = 0x80A8;
197 enum GL_SAMPLES = 0x80A9;
198 enum GL_SAMPLE_COVERAGE_VALUE = 0x80AA;
199 enum GL_SAMPLE_COVERAGE_INVERT = 0x80AB;
200 enum GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
201 enum GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3;
202 enum GL_DONT_CARE = 0x1100;
203 enum GL_FASTEST = 0x1101;
204 enum GL_NICEST = 0x1102;
205 enum GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
206 enum GL_POINT_SMOOTH_HINT = 0x0C51;
207 enum GL_LINE_SMOOTH_HINT = 0x0C52;
208 enum GL_FOG_HINT = 0x0C54;
209 enum GL_GENERATE_MIPMAP_HINT = 0x8192;
210 enum GL_LIGHT_MODEL_AMBIENT = 0x0B53;
211 enum GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
212 enum GL_AMBIENT = 0x1200;
213 enum GL_DIFFUSE = 0x1201;
214 enum GL_SPECULAR = 0x1202;
215 enum GL_POSITION = 0x1203;
216 enum GL_SPOT_DIRECTION = 0x1204;
217 enum GL_SPOT_EXPONENT = 0x1205;
218 enum GL_SPOT_CUTOFF = 0x1206;
219 enum GL_CONSTANT_ATTENUATION = 0x1207;
220 enum GL_LINEAR_ATTENUATION = 0x1208;
221 enum GL_QUADRATIC_ATTENUATION = 0x1209;
222 enum GL_BYTE = 0x1400;
223 enum GL_UNSIGNED_BYTE = 0x1401;
224 enum GL_SHORT = 0x1402;
225 enum GL_UNSIGNED_SHORT = 0x1403;
226 enum GL_FLOAT = 0x1406;
227 enum GL_FIXED = 0x140C;
228 enum GL_CLEAR = 0x1500;
229 enum GL_AND = 0x1501;
230 enum GL_AND_REVERSE = 0x1502;
231 enum GL_COPY = 0x1503;
232 enum GL_AND_INVERTED = 0x1504;
233 enum GL_NOOP = 0x1505;
234 enum GL_XOR = 0x1506;
235 enum GL_OR = 0x1507;
236 enum GL_NOR = 0x1508;
237 enum GL_EQUIV = 0x1509;
238 enum GL_INVERT = 0x150A;
239 enum GL_OR_REVERSE = 0x150B;
240 enum GL_COPY_INVERTED = 0x150C;
241 enum GL_OR_INVERTED = 0x150D;
242 enum GL_NAND = 0x150E;
243 enum GL_SET = 0x150F;
244 enum GL_EMISSION = 0x1600;
245 enum GL_SHININESS = 0x1601;
246 enum GL_AMBIENT_AND_DIFFUSE = 0x1602;
247 enum GL_MODELVIEW = 0x1700;
248 enum GL_PROJECTION = 0x1701;
249 enum GL_TEXTURE = 0x1702;
250 enum GL_ALPHA = 0x1906;
251 enum GL_RGB = 0x1907;
252 enum GL_RGBA = 0x1908;
253 enum GL_LUMINANCE = 0x1909;
254 enum GL_LUMINANCE_ALPHA = 0x190A;
255 enum GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033;
256 enum GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034;
257 enum GL_UNSIGNED_SHORT_5_6_5 = 0x8363;
258 enum GL_FLAT = 0x1D00;
259 enum GL_SMOOTH = 0x1D01;
260 enum GL_KEEP = 0x1E00;
261 enum GL_REPLACE = 0x1E01;
262 enum GL_INCR = 0x1E02;
263 enum GL_DECR = 0x1E03;
264 enum GL_VENDOR = 0x1F00;
265 enum GL_RENDERER = 0x1F01;
266 enum GL_VERSION = 0x1F02;
267 enum GL_EXTENSIONS = 0x1F03;
268 enum GL_MODULATE = 0x2100;
269 enum GL_DECAL = 0x2101;
270 enum GL_ADD = 0x0104;
271 enum GL_TEXTURE_ENV_MODE = 0x2200;
272 enum GL_TEXTURE_ENV_COLOR = 0x2201;
273 enum GL_TEXTURE_ENV = 0x2300;
274 enum GL_NEAREST = 0x2600;
275 enum GL_LINEAR = 0x2601;
276 enum GL_NEAREST_MIPMAP_NEAREST = 0x2700;
277 enum GL_LINEAR_MIPMAP_NEAREST = 0x2701;
278 enum GL_NEAREST_MIPMAP_LINEAR = 0x2702;
279 enum GL_LINEAR_MIPMAP_LINEAR = 0x2703;
280 enum GL_TEXTURE_MAG_FILTER = 0x2800;
281 enum GL_TEXTURE_MIN_FILTER = 0x2801;
282 enum GL_TEXTURE_WRAP_S = 0x2802;
283 enum GL_TEXTURE_WRAP_T = 0x2803;
284 enum GL_GENERATE_MIPMAP = 0x8191;
285 enum GL_TEXTURE0 = 0x84C0;
286 enum GL_TEXTURE1 = 0x84C1;
287 enum GL_TEXTURE2 = 0x84C2;
288 enum GL_TEXTURE3 = 0x84C3;
289 enum GL_TEXTURE4 = 0x84C4;
290 enum GL_TEXTURE5 = 0x84C5;
291 enum GL_TEXTURE6 = 0x84C6;
292 enum GL_TEXTURE7 = 0x84C7;
293 enum GL_TEXTURE8 = 0x84C8;
294 enum GL_TEXTURE9 = 0x84C9;
295 enum GL_TEXTURE10 = 0x84CA;
296 enum GL_TEXTURE11 = 0x84CB;
297 enum GL_TEXTURE12 = 0x84CC;
298 enum GL_TEXTURE13 = 0x84CD;
299 enum GL_TEXTURE14 = 0x84CE;
300 enum GL_TEXTURE15 = 0x84CF;
301 enum GL_TEXTURE16 = 0x84D0;
302 enum GL_TEXTURE17 = 0x84D1;
303 enum GL_TEXTURE18 = 0x84D2;
304 enum GL_TEXTURE19 = 0x84D3;
305 enum GL_TEXTURE20 = 0x84D4;
306 enum GL_TEXTURE21 = 0x84D5;
307 enum GL_TEXTURE22 = 0x84D6;
308 enum GL_TEXTURE23 = 0x84D7;
309 enum GL_TEXTURE24 = 0x84D8;
310 enum GL_TEXTURE25 = 0x84D9;
311 enum GL_TEXTURE26 = 0x84DA;
312 enum GL_TEXTURE27 = 0x84DB;
313 enum GL_TEXTURE28 = 0x84DC;
314 enum GL_TEXTURE29 = 0x84DD;
315 enum GL_TEXTURE30 = 0x84DE;
316 enum GL_TEXTURE31 = 0x84DF;
317 enum GL_ACTIVE_TEXTURE = 0x84E0;
318 enum GL_CLIENT_ACTIVE_TEXTURE = 0x84E1;
319 enum GL_REPEAT = 0x2901;
320 enum GL_CLAMP_TO_EDGE = 0x812F;
321 enum GL_LIGHT0 = 0x4000;
322 enum GL_LIGHT1 = 0x4001;
323 enum GL_LIGHT2 = 0x4002;
324 enum GL_LIGHT3 = 0x4003;
325 enum GL_LIGHT4 = 0x4004;
326 enum GL_LIGHT5 = 0x4005;
327 enum GL_LIGHT6 = 0x4006;
328 enum GL_LIGHT7 = 0x4007;
329 enum GL_ARRAY_BUFFER = 0x8892;
330 enum GL_ELEMENT_ARRAY_BUFFER = 0x8893;
331 enum GL_ARRAY_BUFFER_BINDING = 0x8894;
332 enum GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
333 enum GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896;
334 enum GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897;
335 enum GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898;
336 enum GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A;
337 enum GL_STATIC_DRAW = 0x88E4;
338 enum GL_DYNAMIC_DRAW = 0x88E8;
339 enum GL_BUFFER_SIZE = 0x8764;
340 enum GL_BUFFER_USAGE = 0x8765;
341 enum GL_SUBTRACT = 0x84E7;
342 enum GL_COMBINE = 0x8570;
343 enum GL_COMBINE_RGB = 0x8571;
344 enum GL_COMBINE_ALPHA = 0x8572;
345 enum GL_RGB_SCALE = 0x8573;
346 enum GL_ADD_SIGNED = 0x8574;
347 enum GL_INTERPOLATE = 0x8575;
348 enum GL_CONSTANT = 0x8576;
349 enum GL_PRIMARY_COLOR = 0x8577;
350 enum GL_PREVIOUS = 0x8578;
351 enum GL_OPERAND0_RGB = 0x8590;
352 enum GL_OPERAND1_RGB = 0x8591;
353 enum GL_OPERAND2_RGB = 0x8592;
354 enum GL_OPERAND0_ALPHA = 0x8598;
355 enum GL_OPERAND1_ALPHA = 0x8599;
356 enum GL_OPERAND2_ALPHA = 0x859A;
357 enum GL_ALPHA_SCALE = 0x0D1C;
358 enum GL_SRC0_RGB = 0x8580;
359 enum GL_SRC1_RGB = 0x8581;
360 enum GL_SRC2_RGB = 0x8582;
361 enum GL_SRC0_ALPHA = 0x8588;
362 enum GL_SRC1_ALPHA = 0x8589;
363 enum GL_SRC2_ALPHA = 0x858A;
364 enum GL_DOT3_RGB = 0x86AE;
365 enum GL_DOT3_RGBA = 0x86AF;
366
367 void glAlphaFunc(GLenum func, GLclampf ref_);
368 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
369 void glClearDepthf(GLclampf depth);
370 void glClipPlanef(GLenum plane, const(GLfloat)* equation);
371 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
372 void glDepthRangef(GLclampf zNear, GLclampf zFar);
373 void glFogf(GLenum pname, GLfloat param);
374 void glFogfv(GLenum pname, const(GLfloat)* params);
375 void glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
376 void glGetClipPlanef(GLenum pname, GLfloat[4] eqn);
377 void glGetFloatv(GLenum pname, GLfloat* params);
378 void glGetLightfv(GLenum light, GLenum pname, GLfloat* params);
379 void glGetMaterialfv(GLenum face, GLenum pname, GLfloat* params);
380 void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat* params);
381 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
382 void glLightModelf(GLenum pname, GLfloat param);
383 void glLightModelfv(GLenum pname, const(GLfloat)* params);
384 void glLightf(GLenum light, GLenum pname, GLfloat param);
385 void glLightfv(GLenum light, GLenum pname, const(GLfloat)* params);
386 void glLineWidth(GLfloat width);
387 void glLoadMatrixf(const(GLfloat)* m);
388 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
389 void glMaterialfv(GLenum face, GLenum pname, const(GLfloat)* params);
390 void glMultMatrixf(const(GLfloat)* m);
391 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
392 void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
393 void glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
394 void glPointParameterf(GLenum pname, GLfloat param);
395 void glPointParameterfv(GLenum pname, const(GLfloat)* params);
396 void glPointSize(GLfloat size);
397 void glPolygonOffset(GLfloat factor, GLfloat units);
398 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
399 void glScalef(GLfloat x, GLfloat y, GLfloat z);
400 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
401 void glTexEnvfv(GLenum target, GLenum pname, const(GLfloat)* params);
402 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
403 void glTexParameterfv(GLenum target, GLenum pname, const(GLfloat)* params);
404 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
405 void glActiveTexture(GLenum texture);
406 void glAlphaFuncx(GLenum func, GLclampx ref_);
407 void glBindBuffer(GLenum target, GLuint buffer);
408 void glBindTexture(GLenum target, GLuint texture);
409 void glBlendFunc(GLenum sfactor, GLenum dfactor);
410 void glBufferData(GLenum target, GLsizeiptr size, const(GLvoid)* data, GLenum usage);
411 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const(GLvoid)* data);
412 void glClear(GLbitfield mask);
413 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
414 void glClearDepthx(GLclampx depth);
415 void glClearStencil(GLint s);
416 void glClientActiveTexture(GLenum texture);
417 void glClipPlanex(GLenum plane, const(GLfixed)* equation);
418 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
419 void glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
420 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
421 void glColorPointer(GLint size, GLenum type, GLsizei stride, const(GLvoid)* pointer);
422 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const(GLvoid)* data);
423 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const(GLvoid)* data);
424 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
425 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
426 void glCullFace(GLenum mode);
427 void glDeleteBuffers(GLsizei n, const(GLuint)* buffers);
428 void glDeleteTextures(GLsizei n, const(GLuint)* textures);
429 void glDepthFunc(GLenum func);
430 void glDepthMask(GLboolean flag);
431 void glDepthRangex(GLclampx zNear, GLclampx zFar);
432 void glDisable(GLenum cap);
433 void glDisableClientState(GLenum array);
434 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
435 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const(GLvoid)* indices);
436 void glEnable(GLenum cap);
437 void glEnableClientState(GLenum array);
438 void glFinish();
439 void glFlush();
440 void glFogx(GLenum pname, GLfixed param);
441 void glFogxv(GLenum pname, const(GLfixed)* params);
442 void glFrontFace(GLenum mode);
443 void glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
444 void glGetBooleanv(GLenum pname, GLboolean* params);
445 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
446 void glGetClipPlanex(GLenum pname, GLfixed[4] eqn);
447 void glGenBuffers(GLsizei n, GLuint* buffers);
448 void glGenTextures(GLsizei n, GLuint* textures);
449 GLenum glGetError();
450 void glGetFixedv(GLenum pname, GLfixed* params);
451 void glGetIntegerv(GLenum pname, GLint* params);
452 void glGetLightxv(GLenum light, GLenum pname, GLfixed* params);
453 void glGetMaterialxv(GLenum face, GLenum pname, GLfixed* params);
454 void glGetPointerv(GLenum pname, GLvoid** params);
455 const(GLubyte)* glGetString(GLenum name);
456 void glGetTexEnviv(GLenum env, GLenum pname, GLint* params);
457 void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed* params);
458 void glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
459 void glGetTexParameterxv(GLenum target, GLenum pname, GLfixed* params);
460 void glHint(GLenum target, GLenum mode);
461 GLboolean glIsBuffer(GLuint buffer);
462 GLboolean glIsEnabled(GLenum cap);
463 GLboolean glIsTexture(GLuint texture);
464 void glLightModelx(GLenum pname, GLfixed param);
465 void glLightModelxv(GLenum pname, const(GLfixed)* params);
466 void glLightx(GLenum light, GLenum pname, GLfixed param);
467 void glLightxv(GLenum light, GLenum pname, const(GLfixed)* params);
468 void glLineWidthx(GLfixed width);
469 void glLoadIdentity();
470 void glLoadMatrixx(const(GLfixed)* m);
471 void glLogicOp(GLenum opcode);
472 void glMaterialx(GLenum face, GLenum pname, GLfixed param);
473 void glMaterialxv(GLenum face, GLenum pname, const(GLfixed)* params);
474 void glMatrixMode(GLenum mode);
475 void glMultMatrixx(const(GLfixed)* m);
476 void glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
477 void glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz);
478 void glNormalPointer(GLenum type, GLsizei stride, const(GLvoid)* pointer);
479 void glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
480 void glPixelStorei(GLenum pname, GLint param);
481 void glPointParameterx(GLenum pname, GLfixed param);
482 void glPointParameterxv(GLenum pname, const(GLfixed)* params);
483 void glPointSizex(GLfixed size);
484 void glPolygonOffsetx(GLfixed factor, GLfixed units);
485 void glPopMatrix();
486 void glPushMatrix();
487 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
488 void glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
489 void glSampleCoverage(GLclampf value, GLboolean invert);
490 void glSampleCoveragex(GLclampx value, GLboolean invert);
491 void glScalex(GLfixed x, GLfixed y, GLfixed z);
492 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
493 void glShadeModel(GLenum mode);
494 void glStencilFunc(GLenum func, GLint ref_, GLuint mask);
495 void glStencilMask(GLuint mask);
496 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
497 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const(GLvoid)* pointer);
498 void glTexEnvi(GLenum target, GLenum pname, GLint param);
499 void glTexEnvx(GLenum target, GLenum pname, GLfixed param);
500 void glTexEnviv(GLenum target, GLenum pname, const(GLint)* params);
501 void glTexEnvxv(GLenum target, GLenum pname, const(GLfixed)* params);
502 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const(GLvoid)* pixels);
503 void glTexParameteri(GLenum target, GLenum pname, GLint param);
504 void glTexParameterx(GLenum target, GLenum pname, GLfixed param);
505 void glTexParameteriv(GLenum target, GLenum pname, const(GLint)* params);
506 void glTexParameterxv(GLenum target, GLenum pname, const(GLfixed)* params);
507 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const(GLvoid)* pixels);
508 void glTranslatex(GLfixed x, GLfixed y, GLfixed z);
509 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const(GLvoid)* pointer);
510 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);