comparison dstep/opengl/gl.d @ 16:19885b43130e

Huge update, the bridge actually works now
author Jacob Carlborg <doob@me.com>
date Sun, 03 Jan 2010 22:06:11 +0100
parents
children
comparison
equal deleted inserted replaced
15:7ff919f595d5 16:19885b43130e
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Sep 24, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.opengl.gl;
8
9 import dstep.opengl.glext;
10
11 alias uint GLenum;
12 alias ubyte GLboolean;
13 alias uint GLbitfield;
14 alias byte GLbyte;
15 alias short GLshort;
16 alias int GLint;
17 alias int GLsizei;
18 alias ubyte GLubyte;
19 alias ushort GLushort;
20 alias uint GLuint;
21 alias float GLfloat;
22 alias float GLclampf;
23 alias double GLdouble;
24 alias double GLclampd;
25 alias void GLvoid;
26 alias int GLintptr;
27 alias int GLsizeiptr;
28 alias byte GLchar;
29
30 extern (C)
31 {
32 void glAccum (uint op, float value);
33 void glAlphaFunc (uint func, float ref_);
34 ubyte glAreTexturesResident (int n, GLuint* textures, char* residences);
35 void glArrayElement (int i);
36 void glBegin (uint mode);
37 void glBindTexture (uint target, uint texture);
38 void glBitmap (int width, int height, float xorig, float yorig, float xmove, float ymove, char* bitmap);
39 void glBlendColor (float red, float green, float blue, float alpha);
40 void glBlendEquation (uint mode);
41 void glBlendEquationSeparate (uint modeRGB, uint modeAlpha);
42 void glBlendFunc (uint sfactor, uint dfactor);
43 void glCallList (uint list);
44 void glCallLists (int n, uint type, GLvoid* lists);
45 void glClear (uint mask);
46 void glClearAccum (float red, float green, float blue, float alpha);
47 void glClearColor (float red, float green, float blue, float alpha);
48 void glClearDepth (double depth);
49 void glClearIndex (float c);
50 void glClearStencil (int s);
51 void glClipPlane (uint plane, GLdouble* equation);
52 void glColor3b (byte red, byte green, byte blue);
53 void glColor3bv (char* v);
54 void glColor3d (double red, double green, double blue);
55 void glColor3dv (GLdouble* v);
56 void glColor3f (float red, float green, float blue);
57 void glColor3fv (GLfloat* v);
58 void glColor3i (int red, int green, int blue);
59 void glColor3iv (GLint* v);
60 void glColor3s (short red, short green, short blue);
61 void glColor3sv (GLshort* v);
62 void glColor3ub (ubyte red, ubyte green, ubyte blue);
63 void glColor3ubv (char* v);
64 void glColor3ui (uint red, uint green, uint blue);
65 void glColor3uiv (GLuint* v);
66 void glColor3us (ushort red, ushort green, ushort blue);
67 void glColor3usv (GLushort* v);
68 void glColor4b (byte red, byte green, byte blue, byte alpha);
69 void glColor4bv (char* v);
70 void glColor4d (double red, double green, double blue, double alpha);
71 void glColor4dv (GLdouble* v);
72 void glColor4f (float red, float green, float blue, float alpha);
73 void glColor4fv (GLfloat* v);
74 void glColor4i (int red, int green, int blue, int alpha);
75 void glColor4iv (GLint* v);
76 void glColor4s (short red, short green, short blue, short alpha);
77 void glColor4sv (GLshort* v);
78 void glColor4ub (ubyte red, ubyte green, ubyte blue, ubyte alpha);
79 void glColor4ubv (char* v);
80 void glColor4ui (uint red, uint green, uint blue, uint alpha);
81 void glColor4uiv (GLuint* v);
82 void glColor4us (ushort red, ushort green, ushort blue, ushort alpha);
83 void glColor4usv (GLushort* v);
84 void glColorMask (ubyte red, ubyte green, ubyte blue, ubyte alpha);
85 void glColorMaterial (uint face, uint mode);
86 void glColorPointer (int size, uint type, int stride, GLvoid* pointer);
87 void glColorSubTable (uint target, int start, int count, uint format, uint type, GLvoid* data);
88 void glColorTable (uint target, uint internalformat, int width, uint format, uint type, GLvoid* table);
89 void glColorTableParameterfv (uint target, uint pname, GLfloat* params);
90 void glColorTableParameteriv (uint target, uint pname, GLint* params);
91 void glConvolutionFilter1D (uint target, uint internalformat, int width, uint format, uint type, GLvoid* image);
92 void glConvolutionFilter2D (uint target, uint internalformat, int width, int height, uint format, uint type, GLvoid* image);
93 void glConvolutionParameterf (uint target, uint pname, float params);
94 void glConvolutionParameterfv (uint target, uint pname, GLfloat* params);
95 void glConvolutionParameteri (uint target, uint pname, int params);
96 void glConvolutionParameteriv (uint target, uint pname, GLint* params);
97 void glCopyColorSubTable (uint target, int start, int x, int y, int width);
98 void glCopyColorTable (uint target, uint internalformat, int x, int y, int width);
99 void glCopyConvolutionFilter1D (uint target, uint internalformat, int x, int y, int width);
100 void glCopyConvolutionFilter2D (uint target, uint internalformat, int x, int y, int width, int height);
101 void glCopyPixels (int x, int y, int width, int height, uint type);
102 void glCopyTexImage1D (uint target, int level, uint internalformat, int x, int y, int width, int border);
103 void glCopyTexImage2D (uint target, int level, uint internalformat, int x, int y, int width, int height, int border);
104 void glCopyTexSubImage1D (uint target, int level, int xoffset, int x, int y, int width);
105 void glCopyTexSubImage2D (uint target, int level, int xoffset, int yoffset, int x, int y, int width, int height);
106 void glCopyTexSubImage3D (uint target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height);
107 void glCullFace (uint mode);
108 void glDeleteLists (uint list, int range);
109 void glDeleteTextures (int n, GLuint* textures);
110 void glDepthFunc (uint func);
111 void glDepthMask (ubyte flag);
112 void glDepthRange (double zNear, double zFar);
113 void glDisable (uint cap);
114 void glDisableClientState (uint array);
115 void glDrawArrays (uint mode, int first, int count);
116 void glDrawBuffer (uint mode);
117 void glDrawElements (uint mode, int count, uint type, GLvoid* indices);
118 void glDrawPixels (int width, int height, uint format, uint type, GLvoid* pixels);
119 void glDrawRangeElements (uint mode, uint start, uint end, int count, uint type, GLvoid* indices);
120 void glEdgeFlag (ubyte flag);
121 void glEdgeFlagPointer (int stride, GLvoid* pointer);
122 void glEdgeFlagv (char* flag);
123 void glEnable (uint cap);
124 void glEnableClientState (uint array);
125 void glEnd ();
126 void glEndList ();
127 void glEvalCoord1d (double u);
128 void glEvalCoord1dv (GLdouble* u);
129 void glEvalCoord1f (float u);
130 void glEvalCoord1fv (GLfloat* u);
131 void glEvalCoord2d (double u, double v);
132 void glEvalCoord2dv (GLdouble* u);
133 void glEvalCoord2f (float u, float v);
134 void glEvalCoord2fv (GLfloat* u);
135 void glEvalMesh1 (uint mode, int i1, int i2);
136 void glEvalMesh2 (uint mode, int i1, int i2, int j1, int j2);
137 void glEvalPoint1 (int i);
138 void glEvalPoint2 (int i, int j);
139 void glFeedbackBuffer (int size, uint type, GLfloat* buffer);
140 void glFinish ();
141 void glFlush ();
142 void glFogf (uint pname, float param);
143 void glFogfv (uint pname, GLfloat* params);
144 void glFogi (uint pname, int param);
145 void glFogiv (uint pname, GLint* params);
146 void glFrontFace (uint mode);
147 void glFrustum (double left, double right, double bottom, double top, double zNear, double zFar);
148 uint glGenLists (int range);
149 void glGenTextures (int n, GLuint* textures);
150 void glGetBooleanv (uint pname, char* params);
151 void glGetClipPlane (uint plane, GLdouble* equation);
152 void glGetColorTable (uint target, uint format, uint type, GLvoid* table);
153 void glGetColorTableParameterfv (uint target, uint pname, GLfloat* params);
154 void glGetColorTableParameteriv (uint target, uint pname, GLint* params);
155 void glGetConvolutionFilter (uint target, uint format, uint type, GLvoid* image);
156 void glGetConvolutionParameterfv (uint target, uint pname, GLfloat* params);
157 void glGetConvolutionParameteriv (uint target, uint pname, GLint* params);
158 void glGetDoublev (uint pname, GLdouble* params);
159 uint glGetError ();
160 void glGetFloatv (uint pname, GLfloat* params);
161 void glGetHistogram (uint target, ubyte reset, uint format, uint type, GLvoid* values);
162 void glGetHistogramParameterfv (uint target, uint pname, GLfloat* params);
163 void glGetHistogramParameteriv (uint target, uint pname, GLint* params);
164 void glGetIntegerv (uint pname, GLint* params);
165 void glGetLightfv (uint light, uint pname, GLfloat* params);
166 void glGetLightiv (uint light, uint pname, GLint* params);
167 void glGetMapdv (uint target, uint query, GLdouble* v);
168 void glGetMapfv (uint target, uint query, GLfloat* v);
169 void glGetMapiv (uint target, uint query, GLint* v);
170 void glGetMaterialfv (uint face, uint pname, GLfloat* params);
171 void glGetMaterialiv (uint face, uint pname, GLint* params);
172 void glGetMinmax (uint target, ubyte reset, uint format, uint type, GLvoid* values);
173 void glGetMinmaxParameterfv (uint target, uint pname, GLfloat* params);
174 void glGetMinmaxParameteriv (uint target, uint pname, GLint* params);
175 void glGetPixelMapfv (uint map, GLfloat* values);
176 void glGetPixelMapuiv (uint map, GLuint* values);
177 void glGetPixelMapusv (uint map, GLushort* values);
178 void glGetPointerv (uint pname, GLvoid** params);
179 void glGetPolygonStipple (char* mask);
180 void glGetSeparableFilter (uint target, uint format, uint type, GLvoid* row, GLvoid* column, GLvoid* span);
181 char* glGetString (uint name);
182 void glGetTexEnvfv (uint target, uint pname, GLfloat* params);
183 void glGetTexEnviv (uint target, uint pname, GLint* params);
184 void glGetTexGendv (uint coord, uint pname, GLdouble* params);
185 void glGetTexGenfv (uint coord, uint pname, GLfloat* params);
186 void glGetTexGeniv (uint coord, uint pname, GLint* params);
187 void glGetTexImage (uint target, int level, uint format, uint type, GLvoid* pixels);
188 void glGetTexLevelParameterfv (uint target, int level, uint pname, GLfloat* params);
189 void glGetTexLevelParameteriv (uint target, int level, uint pname, GLint* params);
190 void glGetTexParameterfv (uint target, uint pname, GLfloat* params);
191 void glGetTexParameteriv (uint target, uint pname, GLint* params);
192 void glHint (uint target, uint mode);
193 void glHistogram (uint target, int width, uint internalformat, ubyte sink);
194 void glIndexMask (uint mask);
195 void glIndexPointer (uint type, int stride, GLvoid* pointer);
196 void glIndexd (double c);
197 void glIndexdv (GLdouble* c);
198 void glIndexf (float c);
199 void glIndexfv (GLfloat* c);
200 void glIndexi (int c);
201 void glIndexiv (GLint* c);
202 void glIndexs (short c);
203 void glIndexsv (GLshort* c);
204 void glIndexub (ubyte c);
205 void glIndexubv (char* c);
206 void glInitNames ();
207 void glInterleavedArrays (uint format, int stride, GLvoid* pointer);
208 ubyte glIsEnabled (uint cap);
209 ubyte glIsList (uint list);
210 ubyte glIsTexture (uint texture);
211 void glLightModelf (uint pname, float param);
212 void glLightModelfv (uint pname, GLfloat* params);
213 void glLightModeli (uint pname, int param);
214 void glLightModeliv (uint pname, GLint* params);
215 void glLightf (uint light, uint pname, float param);
216 void glLightfv (uint light, uint pname, GLfloat* params);
217 void glLighti (uint light, uint pname, int param);
218 void glLightiv (uint light, uint pname, GLint* params);
219 void glLineStipple (int factor, ushort pattern);
220 void glLineWidth (float width);
221 void glListBase (uint base);
222 void glLoadIdentity ();
223 void glLoadMatrixd (GLdouble* m);
224 void glLoadMatrixf (GLfloat* m);
225 void glLoadName (uint name);
226 void glLogicOp (uint opcode);
227 void glMap1d (uint target, double u1, double u2, int stride, int order, GLdouble* points);
228 void glMap1f (uint target, float u1, float u2, int stride, int order, GLfloat* points);
229 void glMap2d (uint target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, GLdouble* points);
230 void glMap2f (uint target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, GLfloat* points);
231 void glMapGrid1d (int un, double u1, double u2);
232 void glMapGrid1f (int un, float u1, float u2);
233 void glMapGrid2d (int un, double u1, double u2, int vn, double v1, double v2);
234 void glMapGrid2f (int un, float u1, float u2, int vn, float v1, float v2);
235 void glMaterialf (uint face, uint pname, float param);
236 void glMaterialfv (uint face, uint pname, GLfloat* params);
237 void glMateriali (uint face, uint pname, int param);
238 void glMaterialiv (uint face, uint pname, GLint* params);
239 void glMatrixMode (uint mode);
240 void glMinmax (uint target, uint internalformat, ubyte sink);
241 void glMultMatrixd (GLdouble* m);
242 void glMultMatrixf (GLfloat* m);
243 void glNewList (uint list, uint mode);
244 void glNormal3b (byte nx, byte ny, byte nz);
245 void glNormal3bv (char* v);
246 void glNormal3d (double nx, double ny, double nz);
247 void glNormal3dv (GLdouble* v);
248 void glNormal3f (float nx, float ny, float nz);
249 void glNormal3fv (GLfloat* v);
250 void glNormal3i (int nx, int ny, int nz);
251 void glNormal3iv (GLint* v);
252 void glNormal3s (short nx, short ny, short nz);
253 void glNormal3sv (GLshort* v);
254 void glNormalPointer (uint type, int stride, GLvoid* pointer);
255 void glOrtho (double left, double right, double bottom, double top, double zNear, double zFar);
256 void glPassThrough (float token);
257 void glPixelMapfv (uint map, int mapsize, GLfloat* values);
258 void glPixelMapuiv (uint map, int mapsize, GLuint* values);
259 void glPixelMapusv (uint map, int mapsize, GLushort* values);
260 void glPixelStoref (uint pname, float param);
261 void glPixelStorei (uint pname, int param);
262 void glPixelTransferf (uint pname, float param);
263 void glPixelTransferi (uint pname, int param);
264 void glPixelZoom (float xfactor, float yfactor);
265 void glPointSize (float size);
266 void glPolygonMode (uint face, uint mode);
267 void glPolygonOffset (float factor, float units);
268 void glPolygonStipple (char* mask);
269 void glPopAttrib ();
270 void glPopClientAttrib ();
271 void glPopMatrix ();
272 void glPopName ();
273 void glPrioritizeTextures (int n, GLuint* textures, GLclampf* priorities);
274 void glPushAttrib (uint mask);
275 void glPushClientAttrib (uint mask);
276 void glPushMatrix ();
277 void glPushName (uint name);
278 void glRasterPos2d (double x, double y);
279 void glRasterPos2dv (GLdouble* v);
280 void glRasterPos2f (float x, float y);
281 void glRasterPos2fv (GLfloat* v);
282 void glRasterPos2i (int x, int y);
283 void glRasterPos2iv (GLint* v);
284 void glRasterPos2s (short x, short y);
285 void glRasterPos2sv (GLshort* v);
286 void glRasterPos3d (double x, double y, double z);
287 void glRasterPos3dv (GLdouble* v);
288 void glRasterPos3f (float x, float y, float z);
289 void glRasterPos3fv (GLfloat* v);
290 void glRasterPos3i (int x, int y, int z);
291 void glRasterPos3iv (GLint* v);
292 void glRasterPos3s (short x, short y, short z);
293 void glRasterPos3sv (GLshort* v);
294 void glRasterPos4d (double x, double y, double z, double w);
295 void glRasterPos4dv (GLdouble* v);
296 void glRasterPos4f (float x, float y, float z, float w);
297 void glRasterPos4fv (GLfloat* v);
298 void glRasterPos4i (int x, int y, int z, int w);
299 void glRasterPos4iv (GLint* v);
300 void glRasterPos4s (short x, short y, short z, short w);
301 void glRasterPos4sv (GLshort* v);
302 void glReadBuffer (uint mode);
303 void glReadPixels (int x, int y, int width, int height, uint format, uint type, GLvoid* pixels);
304 void glRectd (double x1, double y1, double x2, double y2);
305 void glRectdv (GLdouble* v1, GLdouble* v2);
306 void glRectf (float x1, float y1, float x2, float y2);
307 void glRectfv (GLfloat* v1, GLfloat* v2);
308 void glRecti (int x1, int y1, int x2, int y2);
309 void glRectiv (GLint* v1, GLint* v2);
310 void glRects (short x1, short y1, short x2, short y2);
311 void glRectsv (GLshort* v1, GLshort* v2);
312 int glRenderMode (uint mode);
313 void glResetHistogram (uint target);
314 void glResetMinmax (uint target);
315 void glRotated (double angle, double x, double y, double z);
316 void glRotatef (float angle, float x, float y, float z);
317 void glScaled (double x, double y, double z);
318 void glScalef (float x, float y, float z);
319 void glScissor (int x, int y, int width, int height);
320 void glSelectBuffer (int size, GLuint* buffer);
321 void glSeparableFilter2D (uint target, uint internalformat, int width, int height, uint format, uint type, GLvoid* row, GLvoid* column);
322 void glShadeModel (uint mode);
323 void glStencilFunc (uint func, int ref_, uint mask);
324 void glStencilMask (uint mask);
325 void glStencilOp (uint fail, uint zfail, uint zpass);
326 void glTexCoord1d (double s);
327 void glTexCoord1dv (GLdouble* v);
328 void glTexCoord1f (float s);
329 void glTexCoord1fv (GLfloat* v);
330 void glTexCoord1i (int s);
331 void glTexCoord1iv (GLint* v);
332 void glTexCoord1s (short s);
333 void glTexCoord1sv (GLshort* v);
334 void glTexCoord2d (double s, double t);
335 void glTexCoord2dv (GLdouble* v);
336 void glTexCoord2f (float s, float t);
337 void glTexCoord2fv (GLfloat* v);
338 void glTexCoord2i (int s, int t);
339 void glTexCoord2iv (GLint* v);
340 void glTexCoord2s (short s, short t);
341 void glTexCoord2sv (GLshort* v);
342 void glTexCoord3d (double s, double t, double r);
343 void glTexCoord3dv (GLdouble* v);
344 void glTexCoord3f (float s, float t, float r);
345 void glTexCoord3fv (GLfloat* v);
346 void glTexCoord3i (int s, int t, int r);
347 void glTexCoord3iv (GLint* v);
348 void glTexCoord3s (short s, short t, short r);
349 void glTexCoord3sv (GLshort* v);
350 void glTexCoord4d (double s, double t, double r, double q);
351 void glTexCoord4dv (GLdouble* v);
352 void glTexCoord4f (float s, float t, float r, float q);
353 void glTexCoord4fv (GLfloat* v);
354 void glTexCoord4i (int s, int t, int r, int q);
355 void glTexCoord4iv (GLint* v);
356 void glTexCoord4s (short s, short t, short r, short q);
357 void glTexCoord4sv (GLshort* v);
358 void glTexCoordPointer (int size, uint type, int stride, GLvoid* pointer);
359 void glTexEnvf (uint target, uint pname, float param);
360 void glTexEnvfv (uint target, uint pname, GLfloat* params);
361 void glTexEnvi (uint target, uint pname, int param);
362 void glTexEnviv (uint target, uint pname, GLint* params);
363 void glTexGend (uint coord, uint pname, double param);
364 void glTexGendv (uint coord, uint pname, GLdouble* params);
365 void glTexGenf (uint coord, uint pname, float param);
366 void glTexGenfv (uint coord, uint pname, GLfloat* params);
367 void glTexGeni (uint coord, uint pname, int param);
368 void glTexGeniv (uint coord, uint pname, GLint* params);
369 void glTexImage1D (uint target, int level, uint internalformat, int width, int border, uint format, uint type, GLvoid* pixels);
370 void glTexImage2D (uint target, int level, uint internalformat, int width, int height, int border, uint format, uint type, GLvoid* pixels);
371 void glTexImage3D (uint target, int level, uint internalformat, int width, int height, int depth, int border, uint format, uint type, GLvoid* pixels);
372 void glTexParameterf (uint target, uint pname, float param);
373 void glTexParameterfv (uint target, uint pname, GLfloat* params);
374 void glTexParameteri (uint target, uint pname, int param);
375 void glTexParameteriv (uint target, uint pname, GLint* params);
376 void glTexSubImage1D (uint target, int level, int xoffset, int width, uint format, uint type, GLvoid* pixels);
377 void glTexSubImage2D (uint target, int level, int xoffset, int yoffset, int width, int height, uint format, uint type, GLvoid* pixels);
378 void glTexSubImage3D (uint target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, uint format, uint type, GLvoid* pixels);
379 void glTranslated (double x, double y, double z);
380 void glTranslatef (float x, float y, float z);
381 void glVertex2d (double x, double y);
382 void glVertex2dv (GLdouble* v);
383 void glVertex2f (float x, float y);
384 void glVertex2fv (GLfloat* v);
385 void glVertex2i (int x, int y);
386 void glVertex2iv (GLint* v);
387 void glVertex2s (short x, short y);
388 void glVertex2sv (GLshort* v);
389 void glVertex3d (double x, double y, double z);
390 void glVertex3dv (GLdouble* v);
391 void glVertex3f (float x, float y, float z);
392 void glVertex3fv (GLfloat* v);
393 void glVertex3i (int x, int y, int z);
394 void glVertex3iv (GLint* v);
395 void glVertex3s (short x, short y, short z);
396 void glVertex3sv (GLshort* v);
397 void glVertex4d (double x, double y, double z, double w);
398 void glVertex4dv (GLdouble* v);
399 void glVertex4f (float x, float y, float z, float w);
400 void glVertex4fv (GLfloat* v);
401 void glVertex4i (int x, int y, int z, int w);
402 void glVertex4iv (GLint* v);
403 void glVertex4s (short x, short y, short z, short w);
404 void glVertex4sv (GLshort* v);
405 void glVertexPointer (int size, uint type, int stride, GLvoid* pointer);
406 void glViewport (int x, int y, int width, int height);
407 void glSampleCoverage (float value, ubyte invert);
408 void glSamplePass (uint pass);
409 void glLoadTransposeMatrixf (GLfloat* m);
410 void glLoadTransposeMatrixd (GLdouble* m);
411 void glMultTransposeMatrixf (GLfloat* m);
412 void glMultTransposeMatrixd (GLdouble* m);
413 void glCompressedTexImage3D (uint target, int level, uint internalformat, int width, int height, int depth, int border, int imageSize, GLvoid* data);
414 void glCompressedTexImage2D (uint target, int level, uint internalformat, int width, int height, int border, int imageSize, GLvoid* data);
415 void glCompressedTexImage1D (uint target, int level, uint internalformat, int width, int border, int imageSize, GLvoid* data);
416 void glCompressedTexSubImage3D (uint target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, uint format, int imageSize, GLvoid* data);
417 void glCompressedTexSubImage2D (uint target, int level, int xoffset, int yoffset, int width, int height, uint format, int imageSize, GLvoid* data);
418 void glCompressedTexSubImage1D (uint target, int level, int xoffset, int width, uint format, int imageSize, GLvoid* data);
419 void glGetCompressedTexImage (uint target, int lod, GLvoid* img);
420 void glActiveTexture (uint texture);
421 void glClientActiveTexture (uint texture);
422 void glMultiTexCoord1d (uint target, double s);
423 void glMultiTexCoord1dv (uint target, GLdouble* v);
424 void glMultiTexCoord1f (uint target, float s);
425 void glMultiTexCoord1fv (uint target, GLfloat* v);
426 void glMultiTexCoord1i (uint target, int s);
427 void glMultiTexCoord1iv (uint target, GLint* v);
428 void glMultiTexCoord1s (uint target, short s);
429 void glMultiTexCoord1sv (uint target, GLshort* v);
430 void glMultiTexCoord2d (uint target, double s, double t);
431 void glMultiTexCoord2dv (uint target, GLdouble* v);
432 void glMultiTexCoord2f (uint target, float s, float t);
433 void glMultiTexCoord2fv (uint target, GLfloat* v);
434 void glMultiTexCoord2i (uint target, int s, int t);
435 void glMultiTexCoord2iv (uint target, GLint* v);
436 void glMultiTexCoord2s (uint target, short s, short t);
437 void glMultiTexCoord2sv (uint target, GLshort* v);
438 void glMultiTexCoord3d (uint target, double s, double t, double r);
439 void glMultiTexCoord3dv (uint target, GLdouble* v);
440 void glMultiTexCoord3f (uint target, float s, float t, float r);
441 void glMultiTexCoord3fv (uint target, GLfloat* v);
442 void glMultiTexCoord3i (uint target, int s, int t, int r);
443 void glMultiTexCoord3iv (uint target, GLint* v);
444 void glMultiTexCoord3s (uint target, short s, short t, short r);
445 void glMultiTexCoord3sv (uint target, GLshort* v);
446 void glMultiTexCoord4d (uint target, double s, double t, double r, double q);
447 void glMultiTexCoord4dv (uint target, GLdouble* v);
448 void glMultiTexCoord4f (uint target, float s, float t, float r, float q);
449 void glMultiTexCoord4fv (uint target, GLfloat* v);
450 void glMultiTexCoord4i (uint target, int dummy, int s, int t, int r);
451 void glMultiTexCoord4iv (uint target, GLint* v);
452 void glMultiTexCoord4s (uint target, short s, short t, short r, short q);
453 void glMultiTexCoord4sv (uint target, GLshort* v);
454 void glFogCoordf (float coord);
455 void glFogCoordfv (GLfloat* coord);
456 void glFogCoordd (double coord);
457 void glFogCoorddv (GLdouble* coord);
458 void glFogCoordPointer (uint type, int stride, GLvoid* pointer);
459 void glSecondaryColor3b (byte red, byte green, byte blue);
460 void glSecondaryColor3bv (char* v);
461 void glSecondaryColor3d (double red, double green, double blue);
462 void glSecondaryColor3dv (GLdouble* v);
463 void glSecondaryColor3f (float red, float green, float blue);
464 void glSecondaryColor3fv (GLfloat* v);
465 void glSecondaryColor3i (int red, int green, int blue);
466 void glSecondaryColor3iv (GLint* v);
467 void glSecondaryColor3s (short red, short green, short blue);
468 void glSecondaryColor3sv (GLshort* v);
469 void glSecondaryColor3ub (ubyte red, ubyte green, ubyte blue);
470 void glSecondaryColor3ubv (char* v);
471 void glSecondaryColor3ui (uint red, uint green, uint blue);
472 void glSecondaryColor3uiv (GLuint* v);
473 void glSecondaryColor3us (ushort red, ushort green, ushort blue);
474 void glSecondaryColor3usv (GLushort* v);
475 void glSecondaryColorPointer (int size, uint type, int stride, GLvoid* pointer);
476 void glPointParameterf (uint pname, float param);
477 void glPointParameterfv (uint pname, GLfloat* params);
478 void glPointParameteri (uint pname, int param);
479 void glPointParameteriv (uint pname, GLint* params);
480 void glBlendFuncSeparate (uint srcRGB, uint dstRGB, uint srcAlpha, uint dstAlpha);
481 void glMultiDrawArrays (uint mode, GLint* first, GLsizei* count, int primcount);
482 void glMultiDrawElements (uint mode, GLsizei* count, uint type, GLvoid** indices, int primcount);
483 void glWindowPos2d (double x, double y);
484 void glWindowPos2dv (GLdouble* v);
485 void glWindowPos2f (float x, float y);
486 void glWindowPos2fv (GLfloat* v);
487 void glWindowPos2i (int x, int y);
488 void glWindowPos2iv (GLint* v);
489 void glWindowPos2s (short x, short y);
490 void glWindowPos2sv (GLshort* v);
491 void glWindowPos3d (double x, double y, double z);
492 void glWindowPos3dv (GLdouble* v);
493 void glWindowPos3f (float x, float y, float z);
494 void glWindowPos3fv (GLfloat* v);
495 void glWindowPos3i (int x, int y, int z);
496 void glWindowPos3iv (GLint* v);
497 void glWindowPos3s (short x, short y, short z);
498 void glWindowPos3sv (GLshort* v);
499 void glGenQueries (int n, GLuint* ids);
500 void glDeleteQueries (int n, GLuint* ids);
501 ubyte glIsQuery (uint id);
502 void glBeginQuery (uint target, uint id);
503 void glEndQuery (uint target);
504 void glGetQueryiv (uint target, uint pname, GLint* params);
505 void glGetQueryObjectiv (uint id, uint pname, GLint* params);
506 void glGetQueryObjectuiv (uint id, uint pname, GLuint* params);
507 void glBindBuffer (uint target, uint buffer);
508 void glDeleteBuffers (int n, GLuint* buffers);
509 void glGenBuffers (int n, GLuint* buffers);
510 ubyte glIsBuffer (uint buffer);
511 void glBufferData (uint target, int size, GLvoid* data, uint usage);
512 void glBufferSubData (uint target, int offset, int size, GLvoid* data);
513 void glGetBufferSubData (uint target, int offset, int size, GLvoid* data);
514 GLvoid* glMapBuffer (uint target, uint access);
515 ubyte glUnmapBuffer (uint target);
516 void glGetBufferParameteriv (uint target, uint pname, GLint* params);
517 void glGetBufferPointerv (uint target, uint pname, GLvoid** params);
518 void glDrawBuffers (int n, GLenum* bufs);
519 void glVertexAttrib1d (uint index, double x);
520 void glVertexAttrib1dv (uint index, GLdouble* v);
521 void glVertexAttrib1f (uint index, float x);
522 void glVertexAttrib1fv (uint index, GLfloat* v);
523 void glVertexAttrib1s (uint index, short x);
524 void glVertexAttrib1sv (uint index, GLshort* v);
525 void glVertexAttrib2d (uint index, double x, double y);
526 void glVertexAttrib2dv (uint index, GLdouble* v);
527 void glVertexAttrib2f (uint index, float x, float y);
528 void glVertexAttrib2fv (uint index, GLfloat* v);
529 void glVertexAttrib2s (uint index, short x, short y);
530 void glVertexAttrib2sv (uint index, GLshort* v);
531 void glVertexAttrib3d (uint index, double x, double y, double z);
532 void glVertexAttrib3dv (uint index, GLdouble* v);
533 void glVertexAttrib3f (uint index, float x, float y, float z);
534 void glVertexAttrib3fv (uint index, GLfloat* v);
535 void glVertexAttrib3s (uint index, short x, short y, short z);
536 void glVertexAttrib3sv (uint index, GLshort* v);
537 void glVertexAttrib4Nbv (uint index, char* v);
538 void glVertexAttrib4Niv (uint index, GLint* v);
539 void glVertexAttrib4Nsv (uint index, GLshort* v);
540 void glVertexAttrib4Nub (uint index, ubyte x, ubyte y, ubyte z, ubyte w);
541 void glVertexAttrib4Nubv (uint index, char* v);
542 void glVertexAttrib4Nuiv (uint index, GLuint* v);
543 void glVertexAttrib4Nusv (uint index, GLushort* v);
544 void glVertexAttrib4bv (uint index, char* v);
545 void glVertexAttrib4d (uint index, double x, double y, double z, double w);
546 void glVertexAttrib4dv (uint index, GLdouble* v);
547 void glVertexAttrib4f (uint index, float x, float y, float z, float w);
548 void glVertexAttrib4fv (uint index, GLfloat* v);
549 void glVertexAttrib4iv (uint index, GLint* v);
550 void glVertexAttrib4s (uint index, short x, short y, short z, short w);
551 void glVertexAttrib4sv (uint index, GLshort* v);
552 void glVertexAttrib4ubv (uint index, char* v);
553 void glVertexAttrib4uiv (uint index, GLuint* v);
554 void glVertexAttrib4usv (uint index, GLushort* v);
555 void glVertexAttribPointer (uint index, int size, uint type, ubyte normalized, int stride, GLvoid* pointer);
556 void glEnableVertexAttribArray (uint index);
557 void glDisableVertexAttribArray (uint index);
558 void glGetVertexAttribdv (uint index, uint pname, GLdouble* params);
559 void glGetVertexAttribfv (uint index, uint pname, GLfloat* params);
560 void glGetVertexAttribiv (uint index, uint pname, GLint* params);
561 void glGetVertexAttribPointerv (uint index, uint pname, GLvoid** pointer);
562 void glDeleteShader (uint shader);
563 void glDetachShader (uint program, uint shader);
564 uint glCreateShader (uint type);
565 void glShaderSource (uint shader, int count, GLchar** string, GLint* length);
566 void glCompileShader (uint shader);
567 uint glCreateProgram ();
568 void glAttachShader (uint program, uint shader);
569 void glLinkProgram (uint program);
570 void glUseProgram (uint program);
571 void glDeleteProgram (uint program);
572 void glValidateProgram (uint program);
573 void glUniform1f (int location, float v0);
574 void glUniform2f (int location, float v0, float v1);
575 void glUniform3f (int location, float v0, float v1, float v2);
576 void glUniform4f (int location, float v0, float v1, float v2, float v3);
577 void glUniform1i (int location, int v0);
578 void glUniform2i (int location, int v0, int v1);
579 void glUniform3i (int location, int v0, int v1, int v2);
580 void glUniform4i (int location, int v0, int v1, int v2, int v3);
581 void glUniform1fv (int location, int count, GLfloat* value);
582 void glUniform2fv (int location, int count, GLfloat* value);
583 void glUniform3fv (int location, int count, GLfloat* value);
584 void glUniform4fv (int location, int count, GLfloat* value);
585 void glUniform1iv (int location, int count, GLint* value);
586 void glUniform2iv (int location, int count, GLint* value);
587 void glUniform3iv (int location, int count, GLint* value);
588 void glUniform4iv (int location, int count, GLint* value);
589 void glUniformMatrix2fv (int location, int count, ubyte transpose, GLfloat* value);
590 void glUniformMatrix3fv (int location, int count, ubyte transpose, GLfloat* value);
591 void glUniformMatrix4fv (int location, int count, ubyte transpose, GLfloat* value);
592 ubyte glIsShader (uint shader);
593 ubyte glIsProgram (uint program);
594 void glGetShaderiv (uint shader, uint pname, GLint* params);
595 void glGetProgramiv (uint program, uint pname, GLint* params);
596 void glGetAttachedShaders (uint program, int maxCount, GLsizei* count, GLuint* shaders);
597 void glGetShaderInfoLog (uint shader, int bufSize, GLsizei* length, char* infoLog);
598 void glGetProgramInfoLog (uint program, int bufSize, GLsizei* length, char* infoLog);
599 int glGetUniformLocation (uint program, char* name);
600 void glGetActiveUniform (uint program, uint index, int bufSize, GLsizei* length, GLint* size, GLenum* type, char* name);
601 void glGetUniformfv (uint program, int location, GLfloat* params);
602 void glGetUniformiv (uint program, int location, GLint* params);
603 void glGetShaderSource (uint shader, int bufSize, GLsizei* length, char* source);
604 void glBindAttribLocation (uint program, uint index, char* name);
605 void glGetActiveAttrib (uint program, uint index, int bufSize, GLsizei* length, GLint* size, GLenum* type, char* name);
606 int glGetAttribLocation (uint program, char* name);
607 void glStencilFuncSeparate (uint face, uint func, int ref_, uint mask);
608 void glStencilOpSeparate (uint face, uint fail, uint zfail, uint zpass);
609 void glStencilMaskSeparate (uint face, uint mask);
610 void glUniformMatrix2x3fv (int location, int count, ubyte transpose, GLfloat* value);
611 void glUniformMatrix3x2fv (int location, int count, ubyte transpose, GLfloat* value);
612 void glUniformMatrix2x4fv (int location, int count, ubyte transpose, GLfloat* value);
613 void glUniformMatrix4x2fv (int location, int count, ubyte transpose, GLfloat* value);
614 void glUniformMatrix3x4fv (int location, int count, ubyte transpose, GLfloat* value);
615 void glUniformMatrix4x3fv (int location, int count, ubyte transpose, GLfloat* value);
616 }