1 // Created on: 2012-03-06
2 // Created by: Kirill GAVRILOV
3 // Copyright (c) 2012-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _OpenGl_GlCore11_Header
17 #define _OpenGl_GlCore11_Header
19 #include <OpenGl_GlCore11Fwd.hxx>
22 //! Notice that all functions within this structure are actually exported by system GL library.
23 //! The main purpose for these hint - to control visibility of functions per GL version
24 //! (global functions should not be used directly to achieve this effect!).
25 struct OpenGl_GlCore11 : protected OpenGl_GlFunctions
28 #if !defined(GL_ES_VERSION_2_0)
29 inline void glRotated (GLdouble theAngleDegrees,
30 GLdouble theX, GLdouble theY, GLdouble theZ)
32 ::glRotated (theAngleDegrees, theX, theY, theZ);
35 inline void glScaled (GLdouble theX, GLdouble theY, GLdouble theZ)
37 ::glScaled (theX, theY, theZ);
40 inline void glTranslated (GLdouble theX, GLdouble theY, GLdouble theZ)
42 ::glTranslated (theX, theY, theZ);
45 public: //! @name Begin/End primitive specification (removed since 3.1)
47 inline void glBegin (GLenum theMode)
57 inline void glVertex2d (GLdouble theX, GLdouble theY)
59 ::glVertex2d (theX, theY);
62 inline void glVertex2f (GLfloat theX, GLfloat theY)
64 ::glVertex2f (theX, theY);
67 inline void glVertex2i (GLint theX, GLint theY)
69 ::glVertex2i (theX, theY);
72 inline void glVertex2s (GLshort theX, GLshort theY)
74 ::glVertex2s (theX, theY);
77 inline void glVertex3d (GLdouble theX, GLdouble theY, GLdouble theZ)
79 ::glVertex3d (theX, theY, theZ);
82 inline void glVertex3f (GLfloat theX, GLfloat theY, GLfloat theZ)
84 ::glVertex3f (theX, theY, theZ);
87 inline void glVertex3i (GLint theX, GLint theY, GLint theZ)
89 ::glVertex3i (theX, theY, theZ);
92 inline void glVertex3s (GLshort theX, GLshort theY, GLshort theZ)
94 ::glVertex3s (theX, theY, theZ);
97 inline void glVertex4d (GLdouble theX, GLdouble theY, GLdouble theZ, GLdouble theW)
99 ::glVertex4d (theX, theY, theZ, theW);
102 inline void glVertex4f (GLfloat theX, GLfloat theY, GLfloat theZ, GLfloat theW)
104 ::glVertex4f (theX, theY, theZ, theW);
107 inline void glVertex4i (GLint theX, GLint theY, GLint theZ, GLint theW)
109 ::glVertex4i (theX, theY, theZ, theW);
112 inline void glVertex4s (GLshort theX, GLshort theY, GLshort theZ, GLshort theW)
114 ::glVertex4s (theX, theY, theZ, theW);
117 inline void glVertex2dv (const GLdouble* theVec2)
119 ::glVertex2dv (theVec2);
122 inline void glVertex2fv (const GLfloat* theVec2)
124 ::glVertex2fv (theVec2);
127 inline void glVertex2iv (const GLint* theVec2)
129 ::glVertex2iv (theVec2);
132 inline void glVertex2sv (const GLshort* theVec2)
134 ::glVertex2sv (theVec2);
137 inline void glVertex3dv (const GLdouble* theVec3)
139 ::glVertex3dv (theVec3);
142 inline void glVertex3fv (const GLfloat* theVec3)
144 ::glVertex3fv (theVec3);
147 inline void glVertex3iv (const GLint* theVec3)
149 ::glVertex3iv (theVec3);
152 inline void glVertex3sv (const GLshort* theVec3)
154 ::glVertex3sv (theVec3);
157 inline void glVertex4dv (const GLdouble* theVec4)
159 ::glVertex4dv (theVec4);
162 inline void glVertex4fv (const GLfloat* theVec4)
164 ::glVertex4fv (theVec4);
167 inline void glVertex4iv (const GLint* theVec4)
169 ::glVertex4iv (theVec4);
172 inline void glVertex4sv (const GLshort* theVec4)
174 ::glVertex4sv (theVec4);
177 inline void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz)
179 ::glNormal3b(nx, ny, nz);
182 inline void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz)
184 ::glNormal3d(nx, ny, nz);
187 inline void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz)
189 ::glNormal3f(nx, ny, nz);
192 inline void glNormal3i (GLint nx, GLint ny, GLint nz)
194 ::glNormal3i(nx, ny, nz);
197 inline void glNormal3s (GLshort nx, GLshort ny, GLshort nz)
199 ::glNormal3s(nx, ny, nz);
202 inline void glNormal3bv (const GLbyte* theVec)
204 ::glNormal3bv (theVec);
207 inline void glNormal3dv (const GLdouble* theVec)
209 ::glNormal3dv (theVec);
212 inline void glNormal3fv (const GLfloat* theVec)
214 ::glNormal3fv (theVec);
217 inline void glNormal3iv (const GLint* theVec)
219 ::glNormal3iv (theVec);
222 inline void glNormal3sv (const GLshort* theVec)
224 ::glNormal3sv (theVec);
227 inline void glIndexd (GLdouble c)
232 inline void glIndexf (GLfloat c)
237 inline void glIndexi (GLint c)
242 inline void glIndexs (GLshort c)
247 inline void glIndexub (GLubyte c)
252 inline void glIndexdv (const GLdouble* c)
257 inline void glIndexfv (const GLfloat* c)
262 inline void glIndexiv (const GLint* c)
267 inline void glIndexsv (const GLshort* c)
272 inline void glIndexubv (const GLubyte* c)
277 inline void glColor3b (GLbyte theRed, GLbyte theGreen, GLbyte theBlue)
279 ::glColor3b (theRed, theGreen, theBlue);
282 inline void glColor3d (GLdouble theRed, GLdouble theGreen, GLdouble theBlue)
284 ::glColor3d (theRed, theGreen, theBlue);
287 inline void glColor3f (GLfloat theRed, GLfloat theGreen, GLfloat theBlue)
289 ::glColor3f (theRed, theGreen, theBlue);
292 inline void glColor3i (GLint theRed, GLint theGreen, GLint theBlue)
294 ::glColor3i (theRed, theGreen, theBlue);
297 inline void glColor3s (GLshort theRed, GLshort theGreen, GLshort theBlue)
299 ::glColor3s (theRed, theGreen, theBlue);
302 inline void glColor3ub (GLubyte theRed, GLubyte theGreen, GLubyte theBlue)
304 ::glColor3ub (theRed, theGreen, theBlue);
307 inline void glColor3ui (GLuint theRed, GLuint theGreen, GLuint theBlue)
309 ::glColor3ui (theRed, theGreen, theBlue);
312 inline void glColor3us (GLushort theRed, GLushort theGreen, GLushort theBlue)
314 ::glColor3us (theRed, theGreen, theBlue);
317 inline void glColor4b (GLbyte theRed, GLbyte theGreen, GLbyte theBlue, GLbyte theAlpha)
319 ::glColor4b (theRed, theGreen, theBlue, theAlpha);
322 inline void glColor4d (GLdouble theRed, GLdouble theGreen, GLdouble theBlue, GLdouble theAlpha)
324 ::glColor4d (theRed, theGreen, theBlue, theAlpha);
327 inline void glColor4f (GLfloat theRed, GLfloat theGreen, GLfloat theBlue, GLfloat theAlpha)
329 ::glColor4f (theRed, theGreen, theBlue, theAlpha);
332 inline void glColor4i (GLint theRed, GLint theGreen, GLint theBlue, GLint theAlpha)
334 ::glColor4i (theRed, theGreen, theBlue, theAlpha);
337 inline void glColor4s (GLshort theRed, GLshort theGreen, GLshort theBlue, GLshort theAlpha)
339 ::glColor4s (theRed, theGreen, theBlue, theAlpha);
342 inline void glColor4ub (GLubyte theRed, GLubyte theGreen, GLubyte theBlue, GLubyte theAlpha)
344 ::glColor4ub (theRed, theGreen, theBlue, theAlpha);
347 inline void glColor4ui (GLuint theRed, GLuint theGreen, GLuint theBlue, GLuint theAlpha)
349 ::glColor4ui (theRed, theGreen, theBlue, theAlpha);
352 inline void glColor4us (GLushort theRed, GLushort theGreen, GLushort theBlue, GLushort theAlpha)
354 ::glColor4us (theRed, theGreen, theBlue, theAlpha);
357 inline void glColor3bv (const GLbyte* theVec)
359 ::glColor3bv (theVec);
362 inline void glColor3dv (const GLdouble* theVec)
364 ::glColor3dv (theVec);
367 inline void glColor3fv (const GLfloat* theVec)
369 ::glColor3fv (theVec);
372 inline void glColor3iv (const GLint* theVec)
374 ::glColor3iv (theVec);
377 inline void glColor3sv (const GLshort* theVec)
379 ::glColor3sv (theVec);
382 inline void glColor3ubv (const GLubyte* theVec)
384 ::glColor3ubv (theVec);
387 inline void glColor3uiv (const GLuint* theVec)
389 ::glColor3uiv (theVec);
392 inline void glColor3usv (const GLushort* theVec)
394 ::glColor3usv (theVec);
397 inline void glColor4bv (const GLbyte* theVec)
399 ::glColor4bv (theVec);
402 inline void glColor4dv (const GLdouble* theVec)
404 ::glColor4dv (theVec);
407 inline void glColor4fv (const GLfloat* theVec)
409 ::glColor4fv (theVec);
412 inline void glColor4iv (const GLint* theVec)
414 ::glColor4iv (theVec);
417 inline void glColor4sv (const GLshort* theVec)
419 ::glColor4sv (theVec);
422 inline void glColor4ubv (const GLubyte* theVec)
424 ::glColor4ubv (theVec);
427 inline void glColor4uiv (const GLuint* theVec)
429 ::glColor4uiv (theVec);
432 inline void glColor4usv (const GLushort* theVec)
434 ::glColor4usv (theVec);
437 inline void glTexCoord1d (GLdouble s)
442 inline void glTexCoord1f (GLfloat s)
447 inline void glTexCoord1i (GLint s)
452 inline void glTexCoord1s (GLshort s)
457 inline void glTexCoord2d (GLdouble s, GLdouble t)
459 ::glTexCoord2d(s, t);
462 inline void glTexCoord2f (GLfloat s, GLfloat t)
464 ::glTexCoord2f(s, t);
467 inline void glTexCoord2i (GLint s, GLint t)
469 ::glTexCoord2i(s, t);
472 inline void glTexCoord2s (GLshort s, GLshort t)
474 ::glTexCoord2s(s, t);
477 inline void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r)
479 ::glTexCoord3d(s, t, r);
482 inline void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r)
484 ::glTexCoord3f(s, t, r);
487 inline void glTexCoord3i (GLint s, GLint t, GLint r)
489 ::glTexCoord3i(s, t, r);
492 inline void glTexCoord3s (GLshort s, GLshort t, GLshort r)
494 ::glTexCoord3s(s, t, r);
497 inline void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q)
499 ::glTexCoord4d(s, t, r, q);
502 inline void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q)
504 ::glTexCoord4f(s, t, r, q);
507 inline void glTexCoord4i (GLint s, GLint t, GLint r, GLint q)
509 ::glTexCoord4i(s, t, r, q);
512 inline void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q)
514 ::glTexCoord4s(s, t, r, q);
517 inline void glTexCoord1dv (const GLdouble* theVec1)
519 ::glTexCoord1dv (theVec1);
522 inline void glTexCoord1fv (const GLfloat* theVec1)
524 ::glTexCoord1fv (theVec1);
527 inline void glTexCoord1iv (const GLint* theVec1)
529 ::glTexCoord1iv (theVec1);
532 inline void glTexCoord1sv (const GLshort* theVec1)
534 ::glTexCoord1sv (theVec1);
537 inline void glTexCoord2dv (const GLdouble* theVec2)
539 ::glTexCoord2dv (theVec2);
542 inline void glTexCoord2fv (const GLfloat* theVec2)
544 ::glTexCoord2fv (theVec2);
547 inline void glTexCoord2iv (const GLint* theVec2)
549 ::glTexCoord2iv (theVec2);
552 inline void glTexCoord2sv (const GLshort* theVec)
554 ::glTexCoord2sv (theVec);
557 inline void glTexCoord3dv (const GLdouble* theVec3)
559 ::glTexCoord3dv (theVec3);
562 inline void glTexCoord3fv (const GLfloat* theVec3)
564 ::glTexCoord3fv (theVec3);
567 inline void glTexCoord3iv (const GLint* theVec3)
569 ::glTexCoord3iv (theVec3);
572 inline void glTexCoord3sv (const GLshort* theVec3)
574 ::glTexCoord3sv (theVec3);
577 inline void glTexCoord4dv (const GLdouble* theVec4)
579 ::glTexCoord4dv (theVec4);
582 inline void glTexCoord4fv (const GLfloat* theVec4)
584 ::glTexCoord4fv (theVec4);
587 inline void glTexCoord4iv (const GLint* theVec4)
589 ::glTexCoord4iv (theVec4);
592 inline void glTexCoord4sv (const GLshort* theVec4)
594 ::glTexCoord4sv (theVec4);
597 public: //! @name Matrix operations (removed since 3.1)
599 inline void glMatrixMode (GLenum theMode)
601 ::glMatrixMode (theMode);
604 inline void glOrtho (GLdouble theLeft, GLdouble theRight,
605 GLdouble theBottom, GLdouble theTop,
606 GLdouble theNearVal, GLdouble theFarVal)
608 ::glOrtho (theLeft, theRight, theBottom, theTop, theNearVal, theFarVal);
611 inline void glFrustum (GLdouble theLeft, GLdouble theRight,
612 GLdouble theBottom, GLdouble theTop,
613 GLdouble theNearVal, GLdouble theFarVal)
615 ::glFrustum (theLeft, theRight, theBottom, theTop, theNearVal, theFarVal);
618 inline void glPushMatrix()
623 inline void glPopMatrix()
628 inline void glLoadIdentity()
633 inline void glLoadMatrixd (const GLdouble* theMatrix)
635 ::glLoadMatrixd (theMatrix);
638 inline void glLoadMatrixf (const GLfloat* theMatrix)
640 ::glLoadMatrixf (theMatrix);
643 inline void glMultMatrixd (const GLdouble* theMatrix)
645 ::glMultMatrixd (theMatrix);
648 inline void glMultMatrixf (const GLfloat* theMatrix)
650 ::glMultMatrixf (theMatrix);
653 public: //! @name Line and Polygon stripple (removed since 3.1)
655 //void glLineWidth (GLfloat theWidth) { ::glLineWidth (theWidth); }
657 inline void glLineStipple (GLint theFactor, GLushort thePattern)
659 ::glLineStipple (theFactor, thePattern);
662 inline void glPolygonStipple (const GLubyte* theMask)
664 ::glPolygonStipple (theMask);
667 inline void glGetPolygonStipple (GLubyte* theMask)
669 ::glGetPolygonStipple (theMask);
672 public: //! @name Attribute stacks (removed since 3.1)
674 inline void glPushAttrib (GLbitfield theMask)
676 ::glPushAttrib (theMask);
679 inline void glPopAttrib()
684 inline void glPushClientAttrib (GLbitfield theMask)
686 ::glPushClientAttrib (theMask);
689 inline void glPopClientAttrib()
691 ::glPopClientAttrib();
694 public: //! @name Fixed pipeline lighting (removed since 3.1)
696 inline void glShadeModel (GLenum theMode)
698 ::glShadeModel (theMode);
701 inline void glLightf (GLenum theLight, GLenum pname, GLfloat param)
703 ::glLightf (theLight, pname, param);
706 inline void glLighti (GLenum theLight, GLenum pname, GLint param)
708 ::glLighti (theLight, pname, param);
711 inline void glLightfv (GLenum theLight, GLenum pname, const GLfloat* params)
713 ::glLightfv (theLight, pname, params);
716 inline void glLightiv (GLenum theLight, GLenum pname, const GLint* params)
718 ::glLightiv (theLight, pname, params);
721 inline void glGetLightfv (GLenum theLight, GLenum pname, GLfloat *params)
723 ::glGetLightfv (theLight, pname, params);
726 inline void glGetLightiv (GLenum theLight, GLenum pname, GLint *params)
728 ::glGetLightiv (theLight, pname, params);
731 inline void glLightModelf (GLenum pname, GLfloat param)
733 ::glLightModelf(pname, param);
736 inline void glLightModeli (GLenum pname, GLint param)
738 ::glLightModeli(pname, param);
741 inline void glLightModelfv (GLenum pname, const GLfloat* params)
743 ::glLightModelfv(pname, params);
746 inline void glLightModeliv (GLenum pname, const GLint* params)
748 ::glLightModeliv(pname, params);
751 inline void glMaterialf (GLenum face, GLenum pname, GLfloat param)
753 ::glMaterialf(face, pname, param);
756 inline void glMateriali (GLenum face, GLenum pname, GLint param)
758 ::glMateriali(face, pname, param);
761 inline void glMaterialfv (GLenum face, GLenum pname, const GLfloat* params)
763 ::glMaterialfv(face, pname, params);
766 inline void glMaterialiv (GLenum face, GLenum pname, const GLint* params)
768 ::glMaterialiv(face, pname, params);
771 inline void glGetMaterialfv (GLenum face, GLenum pname, GLfloat* params)
773 ::glGetMaterialfv(face, pname, params);
776 inline void glGetMaterialiv (GLenum face, GLenum pname, GLint* params)
778 ::glGetMaterialiv(face, pname, params);
781 inline void glColorMaterial (GLenum face, GLenum mode)
783 ::glColorMaterial(face, mode);
786 public: //! @name clipping plane (removed since 3.1)
788 inline void glClipPlane (GLenum thePlane, const GLdouble* theEquation)
790 ::glClipPlane (thePlane, theEquation);
793 inline void glGetClipPlane (GLenum thePlane, GLdouble* theEquation)
795 ::glGetClipPlane (thePlane, theEquation);
798 public: //! @name Display lists (removed since 3.1)
800 inline GLboolean glIsList (GLuint theList) {
801 return ::glIsList (theList);
804 inline void glDeleteLists (GLuint theList, GLsizei theRange)
806 ::glDeleteLists (theList, theRange);
809 inline GLuint glGenLists (GLsizei theRange)
811 return ::glGenLists (theRange);
814 inline void glNewList (GLuint theList, GLenum theMode)
816 ::glNewList (theList, theMode);
819 inline void glEndList()
824 inline void glCallList (GLuint theList)
826 ::glCallList (theList);
829 inline void glCallLists (GLsizei theNb, GLenum theType, const GLvoid* theLists)
831 ::glCallLists (theNb, theType, theLists);
834 inline void glListBase (GLuint theBase)
836 ::glListBase (theBase);
839 public: //! @name Current raster position and Rectangles (removed since 3.1)
841 inline void glRasterPos2d (GLdouble x, GLdouble y)
843 ::glRasterPos2d (x, y);
846 inline void glRasterPos2f (GLfloat x, GLfloat y)
848 ::glRasterPos2f (x, y);
851 inline void glRasterPos2i (GLint x, GLint y)
853 ::glRasterPos2i (x, y);
856 inline void glRasterPos2s (GLshort x, GLshort y)
858 ::glRasterPos2s (x, y);
861 inline void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z)
863 ::glRasterPos3d (x, y, z);
866 inline void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z)
868 ::glRasterPos3f (x, y, z);
871 inline void glRasterPos3i (GLint x, GLint y, GLint z)
873 ::glRasterPos3i (x, y, z);
876 inline void glRasterPos3s (GLshort x, GLshort y, GLshort z)
878 ::glRasterPos3s (x, y, z);
881 inline void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
883 ::glRasterPos4d (x, y, z, w);
886 inline void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
888 ::glRasterPos4f (x, y, z, w);
891 inline void glRasterPos4i (GLint x, GLint y, GLint z, GLint w)
893 ::glRasterPos4i (x, y, z, w);
896 inline void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w)
898 ::glRasterPos4s (x, y, z, w);
901 inline void glRasterPos2dv (const GLdouble* theVec)
903 ::glRasterPos2dv (theVec);
906 inline void glRasterPos2fv (const GLfloat* theVec)
908 ::glRasterPos2fv (theVec);
911 inline void glRasterPos2iv (const GLint* theVec)
913 ::glRasterPos2iv (theVec);
916 inline void glRasterPos2sv (const GLshort* theVec)
918 ::glRasterPos2sv (theVec);
921 inline void glRasterPos3dv (const GLdouble* theVec)
923 ::glRasterPos3dv (theVec);
926 inline void glRasterPos3fv (const GLfloat* theVec)
928 ::glRasterPos3fv (theVec);
931 inline void glRasterPos3iv (const GLint* theVec)
933 ::glRasterPos3iv (theVec);
936 inline void glRasterPos3sv (const GLshort* theVec)
938 ::glRasterPos3sv (theVec);
941 inline void glRasterPos4dv (const GLdouble* theVec)
943 ::glRasterPos4dv (theVec);
946 inline void glRasterPos4fv (const GLfloat* theVec)
948 ::glRasterPos4fv (theVec);
951 inline void glRasterPos4iv (const GLint* theVec)
953 ::glRasterPos4iv (theVec);
956 inline void glRasterPos4sv (const GLshort* theVec)
958 ::glRasterPos4sv (theVec);
961 inline void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
963 ::glRectd (x1, y1, x2, y2);
966 inline void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
968 ::glRectf (x1, y1, x2, y2);
971 inline void glRecti (GLint x1, GLint y1, GLint x2, GLint y2)
973 ::glRecti (x1, y1, x2, y2);
976 inline void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2)
978 ::glRects (x1, y1, x2, y2);
981 inline void glRectdv (const GLdouble* v1, const GLdouble* v2)
986 inline void glRectfv (const GLfloat* v1, const GLfloat* v2)
991 inline void glRectiv (const GLint* v1, const GLint* v2)
996 inline void glRectsv (const GLshort* v1, const GLshort* v2)
1001 public: //! @name Texture mapping (removed since 3.1)
1003 inline void glTexGend (GLenum coord, GLenum pname, GLdouble param)
1005 ::glTexGend (coord, pname, param);
1008 inline void glTexGenf (GLenum coord, GLenum pname, GLfloat param)
1010 ::glTexGenf (coord, pname, param);
1013 inline void glTexGeni (GLenum coord, GLenum pname, GLint param)
1015 ::glTexGeni (coord, pname, param);
1018 inline void glTexGendv (GLenum coord, GLenum pname, const GLdouble* params)
1020 ::glTexGendv (coord, pname, params);
1023 inline void glTexGenfv (GLenum coord, GLenum pname, const GLfloat* params)
1025 ::glTexGenfv (coord, pname, params);
1028 inline void glTexGeniv (GLenum coord, GLenum pname, const GLint* params)
1030 ::glTexGeniv (coord, pname, params);
1033 inline void glGetTexGendv (GLenum coord, GLenum pname, GLdouble* params)
1035 ::glGetTexGendv (coord, pname, params);
1038 inline void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat* params)
1040 ::glGetTexGenfv (coord, pname, params);
1043 inline void glGetTexGeniv (GLenum coord, GLenum pname, GLint* params)
1045 ::glGetTexGeniv (coord, pname, params);
1048 public: //! @name Resident textures and priorities (removed since 3.1)
1050 inline void glPrioritizeTextures (GLsizei n, const GLuint* textures, const GLclampf* priorities)
1052 ::glPrioritizeTextures (n, textures, priorities);
1055 inline GLboolean glAreTexturesResident (GLsizei n, const GLuint* textures, GLboolean* residences)
1057 return ::glAreTexturesResident (n, textures, residences);
1060 public: //! @name Pixel copying (removed since 3.1)
1062 inline void glDrawPixels (GLsizei width, GLsizei height,
1063 GLenum format, GLenum type,
1064 const GLvoid* pixels)
1066 ::glDrawPixels (width, height, format, type, pixels);
1069 inline void glCopyPixels (GLint x, GLint y,
1070 GLsizei width, GLsizei height,
1073 ::glCopyPixels (x, y, width, height, type);
1076 inline void glBitmap (GLsizei width, GLsizei height,
1077 GLfloat xorig, GLfloat yorig,
1078 GLfloat xmove, GLfloat ymove,
1079 const GLubyte* bitmap)
1081 ::glBitmap (width, height, xorig, yorig, xmove, ymove, bitmap);
1084 inline void glPixelZoom (GLfloat xfactor, GLfloat yfactor)
1086 ::glPixelZoom (xfactor, yfactor);
1089 public: //! @name Fog and all associated parameters (removed since 3.1)
1091 inline void glFogf (GLenum pname, GLfloat param)
1093 ::glFogf (pname, param);
1096 inline void glFogi (GLenum pname, GLint param)
1098 ::glFogi (pname, param);
1101 inline void glFogfv (GLenum pname, const GLfloat* params)
1103 ::glFogfv (pname, params);
1106 inline void glFogiv (GLenum pname, const GLint* params)
1108 ::glFogiv (pname, params);
1111 public: //! @name Evaluators (removed since 3.1)
1113 inline void glMap1d (GLenum target, GLdouble u1, GLdouble u2,
1115 GLint order, const GLdouble* points)
1117 ::glMap1d (target, u1, u2, stride, order, points);
1120 inline void glMap1f (GLenum target, GLfloat u1, GLfloat u2,
1122 GLint order, const GLfloat* points)
1124 ::glMap1f (target, u1, u2, stride, order, points);
1127 inline void glMap2d (GLenum target,
1128 GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
1129 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
1130 const GLdouble* points)
1132 ::glMap2d (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1135 inline void glMap2f (GLenum target,
1136 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
1137 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
1138 const GLfloat* points)
1140 ::glMap2f (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1143 inline void glGetMapdv (GLenum target, GLenum query, GLdouble* v)
1145 ::glGetMapdv (target, query, v);
1148 inline void glGetMapfv (GLenum target, GLenum query, GLfloat* v)
1150 ::glGetMapfv (target, query, v);
1153 inline void glGetMapiv (GLenum target, GLenum query, GLint* v)
1155 ::glGetMapiv (target, query, v);
1158 inline void glEvalCoord1d (GLdouble u)
1160 ::glEvalCoord1d (u);
1163 inline void glEvalCoord1f (GLfloat u)
1165 ::glEvalCoord1f (u);
1168 inline void glEvalCoord1dv (const GLdouble* u)
1170 ::glEvalCoord1dv (u);
1173 inline void glEvalCoord1fv (const GLfloat* u)
1175 ::glEvalCoord1fv (u);
1178 inline void glEvalCoord2d (GLdouble u, GLdouble v)
1180 ::glEvalCoord2d (u, v);
1183 inline void glEvalCoord2f (GLfloat u, GLfloat v)
1185 ::glEvalCoord2f (u, v);
1188 inline void glEvalCoord2dv (const GLdouble* u)
1190 ::glEvalCoord2dv (u);
1193 inline void glEvalCoord2fv (const GLfloat* u)
1195 ::glEvalCoord2fv (u);
1198 inline void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2)
1200 ::glMapGrid1d (un, u1, u2);
1203 inline void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2)
1205 ::glMapGrid1f (un, u1, u2);
1208 inline void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2,
1209 GLint vn, GLdouble v1, GLdouble v2)
1211 ::glMapGrid2d (un, u1, u2, vn, v1, v2);
1214 inline void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2,
1215 GLint vn, GLfloat v1, GLfloat v2)
1217 ::glMapGrid2f (un, u1, u2, vn, v1, v2);
1220 inline void glEvalPoint1 (GLint i)
1225 inline void glEvalPoint2 (GLint i, GLint j)
1227 ::glEvalPoint2 (i, j);
1230 inline void glEvalMesh1 (GLenum mode, GLint i1, GLint i2)
1232 ::glEvalMesh1 (mode, i1, i2);
1235 inline void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
1237 ::glEvalMesh2 (mode, i1, i2, j1, j2);
1240 public: //! @name Selection and feedback modes (removed since 3.1)
1242 inline void glFeedbackBuffer (GLsizei theSize, GLenum theType, GLfloat* theBuffer)
1244 ::glFeedbackBuffer (theSize, theType, theBuffer);
1247 inline void glPassThrough (GLfloat token)
1249 ::glPassThrough (token);
1252 inline void glSelectBuffer (GLsizei theSize, GLuint* theBuffer)
1254 ::glSelectBuffer (theSize, theBuffer);
1257 inline void glInitNames()
1262 inline void glLoadName (GLuint theName)
1264 ::glLoadName (theName);
1267 inline void glPushName (GLuint theName)
1269 ::glPushName (theName);
1272 inline void glPopName()
1277 public: //! @name Accumulation Buffer (removed since 3.1)
1279 inline void glClearAccum (GLfloat theRed, GLfloat theGreen, GLfloat theBlue, GLfloat theAlpha)
1281 ::glClearAccum (theRed, theGreen, theBlue, theAlpha);
1284 inline void glAccum (GLenum theOp, GLfloat theValue)
1286 ::glAccum (theOp, theValue);
1289 public: //! @name Edge flags and fixed-function vertex processing (removed since 3.1)
1291 inline void glEdgeFlag (GLboolean theFlag)
1293 ::glEdgeFlag (theFlag);
1296 inline void glEdgeFlagv (const GLboolean* theFlag)
1298 ::glEdgeFlagv (theFlag);
1301 inline void glIndexPointer (GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1303 ::glIndexPointer (theType, theStride, thePtr);
1306 inline void glEdgeFlagPointer (GLsizei theStride, const GLvoid* thePtr)
1308 ::glEdgeFlagPointer (theStride, thePtr);
1311 inline void glGetPointerv (GLenum pname, GLvoid** params)
1313 ::glGetPointerv(pname, params);
1316 inline void glInterleavedArrays (GLenum theFormat, GLsizei theStride, const GLvoid* thePointer)
1318 ::glInterleavedArrays (theFormat, theStride, thePointer);
1321 inline void glVertexPointer (GLint theSize, GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1323 ::glVertexPointer (theSize, theType, theStride, thePtr);
1326 inline void glNormalPointer (GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1328 ::glNormalPointer (theType, theStride, thePtr);
1331 inline void glColorPointer (GLint theSize, GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1333 ::glColorPointer (theSize, theType, theStride, thePtr);
1336 inline void glTexCoordPointer (GLint theSize, GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1338 ::glTexCoordPointer (theSize, theType, theStride, thePtr);
1341 inline void glEnableClientState (GLenum theCap)
1343 ::glEnableClientState (theCap);
1346 inline void glDisableClientState (GLenum theCap)
1348 ::glDisableClientState (theCap);
1355 #endif // _OpenGl_GlCore11_Header