OpenGL Programming/reference

From Wikibooks, open books for an open world
< OpenGL Programming
Jump to navigation Jump to search

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 | edit source]

to be sorted[edit | edit source]

  • 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 | edit source]

  • 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 | edit source]