Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GL Functions

The OpenGL commands, in alphabetical order are presented here. Each reference page describes one or more function. See also GLU Functions.

FunctionDescription
glAccum Operates on the accumulation buffer.
glAddSwapHintRectWIN Specifies a set of rectangles that are to be copied by SwapBuffers.
glAlphaFunc Enables your application to set the alpha test function.
glAreTexturesResident Determines whether specified texture objects are resident in texture memory.
glArrayElement Specifies the array elements used to render a vertex.
glBegin, glEnd Delimit the vertices of a primitive or a group of like primitives.
glBindTexture Enables the creation of a named texture that is bound to a texture target.
glBitmap Draws a bitmap.
glBlendFunc Specifies pixel arithmetic.
glCallList Executes a display list.
glCallLists Executes a list of display lists.
glClear Clears buffers to preset values.
glClearAccum Specifies the clear values for the accumulation buffer.
glClearColor Specifies clear values for the color buffers.
glClearDepth Specifies the clear value for the depth buffer.
glClearIndex Specifies the clear value for the color-index buffers.
glClearStencil Specifies the clear value for the stencil buffer.
glClipPlane Specifies a plane against which all geometry is clipped.
glColor functionsSet the current color.
glColorMask Enables and disables writing of frame-buffer color components.
glColorMaterial Causes a material color to track the current color.
glColorPointer Defines an array of colors.
glColorTableEXT Specifies the format and size of a palette for targeted paletted textures.
glColorSubTableEXT Specifies a portion of the targeted texture's palette to be replaced.
glCopyPixels Copies pixels in the framebuffer.
glCopyTexImage1D Copies pixels from the framebuffer into a one-dimensional texture image.
glCopyTexImage2D Copies pixels from the framebuffer into a two-dimensional texture image.
glCopyTexSubImage1D Copies a sub-image of a one-dimensional texture image from the framebuffer.
glCopyTexSubImage2D Copies a sub-image of a two-dimensional texture image from the framebuffer.
glCullFace Specifies whether front- or back-facing facets can be culled.
glDeleteLists Deletes a contiguous group of display lists.
glDeleteTextures Deletes named textures.
glDepthFunc Specifies the value used for depth-buffer comparisons.
glDepthMask Enables or disables writing into the depth buffer.
glDepthRange Specifies the mapping of z values from normalized device coordinates to window coordinates.
glDrawArrays Specifies multiple primitives to render.
glDrawBuffer Specifies which color buffers are to be drawn into.
glDrawElements Renders primitives from array data.
glDrawPixels Writes a block of pixels to the framebuffer.
glEdgeFlag functionsDefine an array of edge flags.
glEdgeFlagPointer Defines an array of edge flags.
glEnable, glDisable Enables or disables OpenGL capabilities.
glEnableClientState, glDisableClientState Enables and disables arrays, respectively.
glEvalCoord functionsEvaluate enabled one- and two-dimensional maps.
glEvalMesh functionsCompute a one- or two-dimensional grid of points or lines.
glEvalPoint functionsGenerate and evaluate a single point in a mesh.
glFeedbackBuffer Controls feedback mode.
glFinish Blocks until all OpenGL execution is complete.
glFlush Forces execution of OpenGL functions in finite time.
glFog functionsSpecify fog parameters.
glFrontFace Defines front- and back-facing polygons.
glFrustum Multiplies the current matrix by a perspective matrix.
glGenLists Generates a contiguous set of empty display lists.
glGenTextures Generates texture names.
glGetBooleanv Retrieves the value or values of a selected Boolean parameter.
glGetClipPlane Retrieves the coefficients of the specified clipping plane.
glGetColorTableEXT Retrieves the color table data of the current targeted texture palette.
glGetColorTableParameterfvEXT, glGetColorTableParameterivEXT Retrieves palette parameters from color tables.
glGetDoublev Retrieves the value or values of a selected double parameter.
glGetError Retrieves error information.
glGetFloatv Retrieves the value or values of a selected float parameter.
glGetIntegerv Retrieves the value or values of a selected int parameter.
glGetLight functionsRetrieve light source parameter values.
glGetMap functionsRetrieve evaluator parameters.
glGetMaterial functionsRetrieve material parameters.
glGetPixelMap functionsRetrieve the specified pixel map.
glGetPointerv Retrieves the address of a vertex data array.
glGetPolygonStipple Retrieves the polygon stipple pattern.
glGetString Retrieves a string describing the current OpenGL connection.
glGetTexEnv functionsRetrieve texture environment parameters.
glGetTexGen functionsRetrieve texture coordinate generation parameters.
glGetTexImage Retrieves a texture image.
glGetTexLevelParameter functionsRetrieve texture parameter values for a specific level of detail.
glGetTexParameter functionsRetrieve texture parameter values.
glHint Specifies implementation-specific hints.
glIndex functionsSet the current color index.
glIndexMask Controls the writing of individual bits in the color-index buffers.
glIndexPointer Defines an array of color indexes.
glInitNames Initializes the name stack.
glInterleavedArrays Simultaneously specifies and enables several interleaved arrays in a larger aggregate array.
glIsEnabled Tests whether a capability is enabled.
glIsList Tests for display list existence.
glIsTexture Determines whether a name corresponds to a texture.
glLight functionsSet light-source parameters.
glLightModel functionsSet the lighting model parameters.
glLineStipple Specifies the line stipple pattern.
glLineWidth Specifies the width of rasterized lines.
glListBase Sets the display list base for glCallLists.
glLoadIdentity Replaces the current matrix with the identity matrix.
glLoadMatrix functionsReplace the current matrix with an arbitrary matrix.
glLoadName Loads a name onto the name stack.
glLogicOp Specifies a logical pixel operation for color index rendering.
glMap1 functionsDefine a one-dimensional evaluator.
glMap2 functionsDefine a two-dimensional evaluator.
glMapGrid functionsDefine a one- or two-dimensional mesh.
glMaterial functionsSpecify material parameters for the lighting model.
glMatrixMode Specifies which matrix is the current matrix.
glMultMatrix functionsMultiply the current matrix by an arbitrary matrix.
glNewList, glEndList Create or replace a display list.
glNormal functionsSet the current normal vector.
glNormalPointer Defines an array of normals.
glOrtho Multiplies the current matrix by an orthographic matrix.
glPassThrough Places a marker in the feedback buffer.
glPixelMap functionsSet up pixel transfer maps.
glPixelStore functionsSet pixel storage modes.
glPixelTransfer functionsSet pixel transfer modes.
glPixelZoom Specifies the pixel zoom factors.
glPointSize Specifies the diameter of rasterized points.
glPolygonMode Selects a polygon rasterization mode.
glPolygonOffset Sets the scale and units OpenGL uses to calculate depth values.
glPolygonStipple Sets the polygon stippling pattern.
glPrioritizeTextures Sets the residence priority of textures.
glPushAttrib, glPopAttrib Push and pop the attribute stack.
glPushClientAttrib, glPopClientAttrib Save and restore groups of client-state variables on the client-attribute stack.
glPushMatrix, glPopMatrix Push and pop the current matrix stack, respectively.
glPushName, glPopName Push and pop the name stack, respectively.
glRasterPos functionsSpecify the raster position for pixel operations.
glReadBuffer Slects a color buffer source for pixels.
glReadPixels Reads a block of pixels from the framebuffer.
glRect functionsDraw a rectangle.
glRenderMode Sets the rasterization mode.
glRotate functionsMultiply the current matrix by a rotation matrix.
glScale functionsMultiply the current matrix by a general scaling matrix.
glScissor Defines the scissor box.
glSelectBuffer Establishes a buffer for selection mode values.
glShadeModel Selects flat or smooth shading.
glStencilFunc Sets the function and reference value for stencil testing.
glStencilMask Controls the writing of individual bits in the stencil planes.
glStencilOp Sets the stencil test actions.
glTexCoord functionsSet the current texture coordinates.
glTexCoordPointer Defines an array of texture coordinates.
glTexEnv functionsSet texture environment parameters.
glTexGen functionsControl the generation of texture coordinates.
glTexImage1D Specifies a one-dimensional texture image.
glTexImage2D Specifies a two-dimensional texture image.
glTexParameter functionsSet texture parameters.
glTexSubImage1D Specifies a portion of an existing one-dimensional texture image. You cannot define a new texture with this function.
glTexSubImage2D Specifies a portion of an existing two-dimensional texture image. You cannot define a new texture with this function.
glTranslate functionsMultiply the current matrix by a translation matrix.
glVertex These functions specify a vertex.
glVertexPointer Defines an array of vertex data.
glViewport Sets the viewport.

 

 

 

Show: