OpenGL Programming/reference

Function type and namespace reference for OpenGL gl.h glu.h glut.h
OpenGL basic testing app to use with examples in this section

gl.h

edit

to be sorted

edit
  • void glAccum (GLenum op, GLfloat value);
  • void glAlphaFunc (GLenum func, GLclampf ref);
  • GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
  • void glArrayElement (GLint i);
  • void glBegin (GLenum mode);
  • void glBindTexture (GLenum target, GLuint texture);
  • void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
  • void glBlendFunc (GLenum sfactor, GLenum dfactor);
  • void glCallList (GLuint list);
  • void glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
  • void glClipPlane (GLenum plane, const GLdouble *equation);

color

edit
  • glColor Set color from a color pointer or a set of R G B A varables with or without alpha multiple varable types for inputs.

clear

edit