OpenGL Function Calls
- void glBegin (GLenum mode)
- void glEdgeFlag (GLboolean flag)
- void glEdgeFlagv (const GLboolean *flag)
- void glEnd (void)
- extern void glPolygonOffset (GLfloat factor, GLfloat units)
- void glRect (TYPE x1, TYPE y1, TYPE x2, TYPE y2)
- void glRectv (const TYPE *v1, const TYPE *v2)
- void glVertex2 (TYPE x, TYPE y)
- void glVertex3 (TYPE x, TYPE y, TYPE z)
- void glVertex4 (TYPE x, TYPE y, TYPE z, TYPE w)
- extern void glArrayElement (GLint i)
- extern void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
- extern void glDisableClientState (GLenum array)
- extern void glDrawArrays (GLenum mode, GLint first, GLsizei count)
- extern void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
- extern void glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer)
- extern void glEnableClientState (GLenum array)
- extern void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer)
- extern void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer)
- extern void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer)
- extern void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
- extern void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
- void glDepthRange (GLclampd near, GLclampd far)
- void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far)
- void glLoadIdentity (void)
- void glLoadMatrix (const TYPE *m)
- void glMatrixMode (GLenum mode)
- void glMultMatrix (const TYPE *m)
- void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far)
- void glPopMatrix (void)
- void glPushMatrix (void)
- void glRotate (TYPE angle, TYPE x, TYPE y, TYPE z)
- void glScale (TYPE x, TYPE y, TYPE z)
- void glTranslate (TYPE x, TYPE y, TYPE z)
- void glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
- void glColor3 (TYPE red, TYPE green, TYPE blue)
- void glColor4 (TYPE red, TYPE green, TYPE blue, TYPE alpha)
- void glColorMaterial (GLenum face, GLenum mode)
- void glFrontFace (GLenum dir)
- void glGetLight (GLenum light, GLenum pname, TYPE *params)
- void glGetMaterial (GLenum face, GLenum pname, TYPE *params)
- void glIndex (TYPE index)
- void glLight (GLenum light, GLenum pname, TYPE param)
- void glLightModel (GLenum pname, TYPE param)
- void glMaterial (GLenum face, GLenum pname, TYPE param)
- void glNormal3 (TYPE nx, TYPE ny, TYPE nz)
- void glShadeModel (GLenum mode)
- void glClipPlane (GLenum plane, const GLdouble *equation)
- void glGetClipPlane (GLenum plane, GLdouble *equation)
- void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
- void glCullFace (GLenum mode)
- void glGetPolygonStipple (GLubyte *mask)
- void glLineStipple (GLint factor, GLushort pattern)
- void glLineWidth (GLfloat width)
- void glPointSize (GLfloat size)
- void glPolygonMode (GLenum face, GLenum mode)
- void glPolygonStipple (const GLubyte *mask)
- void glRasterPos2 (TYPE x, TYPE y)
- void glRasterPos3 (TYPE x, TYPE y, TYPE z)
- void glRasterPos4 (TYPE x, TYPE y, TYPE z, TYPE w)
- void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei keight, GLenum type)
- void glDrawPixels (GLsizei width, GLsizei keight, GLenum format, GLenum type, const GLvoid *pixels)
- void glGetPixelMap (GLenum map, TYPE *values)
- void glPixelMap (GLenum map, GLint mapsize, const TYPE *values)
- void glPixelStore (GLenum pname, TYPE param)
- void glPixelTransfer (GLenum pname, TYPE param)
- void glPixelZoom (GLfloat xfactor, GLfloat yfactor)
- void glReadBuffer (GLenum mode)
- void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
- GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences)
- void glBindTexture (GLenum target, GLuint texture)
- void glCopyTexSubimage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
- void glCopyTexSubimage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
- void glCopyTeximage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint GLsizei v, GLint border)
- void glCopyTeximage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint, GLsizei width, GLsizei height, GLint border)
- void glDeleteTextures (GLsizei n, const GLuint *textures)
- void glGenTextures (GLsizei n, GLuint *textures)
- void glGetTexEnv (GLenum target, GLenuni pname, TYPE *params)
- void glGetTexGen (GLenum coord, GLenum pname, TYPE *params)
- void glGetTexLevelParameter (GLenum targrt, GLint level, GLenum pname, TYPE *params)
- void glGetTexParameter (GLenum target, GLenum pname, TYPE *params)
- void glGetTeximage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
- void glIsTexture (GLuint texture)
- void glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities)
- void glTexCoord1 (TYPE s)
- void glTexCoord2 (TYPE s, TYPE t)
- void glTexCoord3 (TYPE s, TYPE t, TYPE r)
- void glTexCoord4 (TYPE s, TYPE t, TYPE r, TYPE q)
- void glTexEnv (GLenum target, GLenum pname, TYPE param)
- void glTexGen (GLenum coord, GLenum pname, TYPE param)
- void glTexImage1D (GLenum target, GLint level, GLint components, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
- void glTexImage2D (GLenum target, GLint level, GLint components, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
- void glTexParameter (GLenum target, GLenum pname, TYPE param)
- void glTexSubImage1D (GLenum target, GLint leve'l, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
- void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
- void glFog (GLenum pname, TYPE param)
- void glAccum (GLenum op, GLfloat value)
- void glAlphaFunc (GLenum func, GLclampf ref)
- void glBlendFunc (GLenum sfactor, GLenum dfactor)
- void glClear (GLbitfield mask)
- void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
- void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
- void glClearDepth (GLclampd depth)
- void glClearIndex (GLfloat c)
- void glClearStencil (GLint s)
- void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
- void glDepthFunc (GLenum func)
- void glDepthMask (GLboolean flag)
- void glDrawBuffer (GLenum mode)
- void glIndexMask (GLuint mask)
- void glLogicOp (GLenum opcode)
- void glScissor (GLint x, GLint y, GLsizei width, GLsizei height)
- void glStencilFunc (GLenum func, GLint ref, GLuint mask)
- void glStencilMask (GLuint mask)
- void glStencilOp (GLenum fail, GLenum pass, GLenum zpass)
- void glEvalCoord1 (TYPE u)
- void glEvalCoord2 (TYPE u, TYPE v)
- void glEvalMesh1 (GLenum mode, GLint i1, GLint i2)
- void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
- void glEvalPoint1 (GLint i)
- void glEvalPoint2 (GLint i, GLint j)
- void glGetMap (GLenum target, GLenum query, TYPE *v)
- void glMap1 (GLenum target, TYPE u1, TYPE u2, GLint stride, GLint order, const TYPE *points)
- void glMap2 (GLenum target, TYPE u1, TYPE u2, GLint ustride, GLint uorder, TYPE v1, TYPE v2, GLint vstride, GLint vorder, const TYPE *points)
- void glMapGrid1 (GLint n, TYPE u1, TYPE u2)
- void glMapGrid2 (GLint un, TYPE u1, TYPE u2, GLint vn, TYPE v1, TYPE v2)
- void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer)
- void glInitNames (void)
- void glLoadName (GLuint name)
- void glPassThrough (GLfloat token)
- void glPopName (void)
- void glPushName (GLuint name)
- GLint glRenderMode (GLenum mode)
- void glSelectBuffer (GLsizei size, GLuint *buffer)
- void glCallList (GLuint list)
- void glCallLists (GLsizei n, GLenum type, const GLvoid *lists)
- void glDeleteLists (GLuint list, GLsizei range)
- void glEndList (void)
- GLuint glGenLists (GLsizei range)
- GLboolean glIsList (GLuint list)
- void glListBase (GLuint base)
- void glNewList (GLuint list, GLenum mode)
- void glDisable (GLenum cap)
- void glEnable (GLenum cap)
- void glFinish (void)
- void glFlush (void)
- void glHint (GLenum target, GLenum mode)
- GLboolean glIsEnabled (GLenum cap)
- void glGetBooleanv (GLenum pname, GLboolean *params)
- void glGetDoublev (GLenum pname, GLdouble *params)
- GLenum glGetError (void)
- void glGetFloatv (GLenum pname, GLfloat *params)
- void glGetIntegerv (GLenum pname, GLint *params)
- const GLubyte *glGetString (GLenum name)
- void glPopAttrib (void)
- void glPushAttrib (GLbitfield mask)
Recommend: OpenGL Basics
https://users.cs.jmu.edu/bernstdh/web/common/lectures/slides_opengl-basics.php