Package gl-manpages

OpenGL manpages

http://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_Pages

Library Functions (Section 3)
glAccum.3G
The accumulation buffer is an extended-range color buffer. Images are not rendered into it. Rather, images rendered into one of the color buffers are added to...
glActiveShaderProgram.3G
glActiveShaderProgram sets the linked program named by program to be the active program for the program pipeline object pipeline. The active program in the...
glActiveTexture.3G
glActiveTexture selects which texture unit subsequent texture state calls will affect. The number of texture units an implementation supports is implementation...
glActiveTextureARB.3G
glActiveTextureARB selects which texture unit subsequent texture state calls will affect. The number of texture units an implementation supports is...
glAlphaFunc.3G
The alpha test discards fragments depending on the outcome of a comparison between an incoming fragment's alpha value and a constant reference value...
glAreTexturesResident.3G
GL establishes a “working set” of textures that are resident in texture memory. These textures can be bound to a texture target much more efficiently than...
glArrayElement.3G
glArrayElement commands are used within glBegin()/glEnd() pairs to specify vertex and attribute data for point, line, and polygon primitives. If GL_VERTEX_ARRAY...
glAttachShader.3G
In order to create a complete shader program, there must be a way to specify the list of things that will be linked together. Program objects provide this...
glBegin.3G
glBegin and glEnd() delimit the vertices that define a primitive or a group of like primitives. glBegin accepts a single argument that specifies in which of ten...
glBeginConditionalRender.3G
Conditional rendering is started using glBeginConditionalRender and ended using glEndConditionalRender. During conditional rendering, all vertex array commands...
glBeginQuery.3G
glBeginQuery and glEndQuery() delimit the boundaries of a query object. query must be a name previously returned from a call to glGenQueries(). If a query...
glBeginQueryIndexed,_glEndQueryIndexed.3G
glBeginQueryIndexed and glEndQueryIndexed() delimit the boundaries of a query object. query must be a name previously returned from a call to glGenQueries(). If...
glBeginTransformFeedback.3G
Transform feedback mode captures the values of varying variables written by the vertex shader (or, if active, the geometry shader). Transform feedback is said...
glBindAttribLocation.3G
glBindAttribLocation is used to associate a user-defined attribute variable in the program object specified by program with a generic vertex attribute index...
glBindBuffer.3G
glBindBuffer binds a buffer object to the specified buffer binding point. Calling glBindBuffer with target set to one of the accepted symbolic constants and...
glBindBufferBase.3G
glBindBufferBase binds the buffer object buffer to the binding point at index index of the array of targets specified by target. Each target represents an...
glBindBufferRange.3G
glBindBufferRange binds a range the buffer object buffer represented by offset and size to the binding point at index index of the array of targets specified by...
glBindBuffersBase.3G
glBindBuffersBase binds a set of count buffer objects whose names are given in the array buffers to the count consecutive binding points starting from index...
glBindBuffersRange.3G
glBindBuffersRange binds a set of count ranges from buffer objects whose names are given in the array buffers to the count consecutive binding points starting...
glBindFragDataLocation.3G
glBindFragDataLocation explicitly specifies the binding of the user-defined varying out variable name to fragment shader color number colorNumber for program...
glBindFragDataLocationIndexed.3G
glBindFragDataLocationIndexed specifies that the varying out variable name in program should be bound to fragment color colorNumber when the program is next...
glBindFramebuffer.3G
glBindFramebuffer binds the framebuffer object with name framebuffer to the framebuffer target specified by target. target must be either GL_DRAW_FRAMEBUFFER...
glBindImageTexture.3G
glBindImageTexture binds a single level of a texture to an image unit for the purpose of reading and writing it from shaders. unit specifies the zero-based...
glBindImageTextures.3G
glBindImageTextures binds images from an array of existing texture objects to a specified number of consecutive image units. count specifies the number of...
glBindProgramPipeline.3G
glBindProgramPipeline binds a program pipeline object to the current context. pipeline must be a name previously returned from a call to...
glBindRenderbuffer.3G
glBindRenderbuffer binds the renderbuffer object with name renderbuffer to the renderbuffer target specified by target. target must be GL_RENDERBUFFER...
glBindSampler.3G
glBindSampler binds sampler to the texture unit at index unit. sampler must be zero or the name of a sampler object previously returned from a call to...
glBindSamplers.3G
glBindSamplers binds samplers from an array of existing sampler objects to a specified number of consecutive sampler units. count specifies the number of...
glBindTexture.3G
glBindTexture lets you create or use a named texture. Calling glBindTexture with target set to GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY...
glBindTextures.3G
glBindTextures binds an array of existing texture objects to a specified number of consecutive texture units. count specifies the number of texture objects...
glBindTransformFeedback.3G
glBindTransformFeedback binds the transform feedback object with name id to the current GL state. id must be a name previously returned from a call to...
glBindVertexArray.3G
glBindVertexArray binds the vertex array object with name array. array is the name of a vertex array object previously returned from a call to...
glBindVertexBuffer.3G
glBindVertexBuffer binds the buffer named buffer to the vertex buffer binding point whose index is given by bindingindex. offset and stride specify the offset...
glBindVertexBuffers.3G
glBindVertexBuffers binds storage from an array of existing buffer objects to a specified number of consecutive vertex buffer binding points units. count...
glBitmap.3G
A bitmap is a binary image. When drawn, the bitmap is positioned relative to the current raster position, and frame buffer pixels corresponding to 1's in the...
glBlendColor.3G
The GL_BLEND_COLOR may be used to calculate the source and destination blending factors. The color components are clamped to the range 0 1 before being stored...
glBlendEquation.3G
The blend equations determine how a new pixel (the ''source'' color) is combined with a pixel already in the framebuffer (the ''destination'' color). This...
glBlendEquationSeparate.3G
The blend equations determines how a new pixel (the ''source'' color) is combined with a pixel already in the framebuffer (the ''destination'' color). These...
glBlendFunc.3G
Pixels can be drawn using a function that blends the incoming (source) RGBA values with the RGBA values that are already in the frame buffer (the destination...
glBlendFuncSeparate.3G
Pixels can be drawn using a function that blends the incoming (source) RGBA values with the RGBA values that are already in the frame buffer (the destination...
glBlitFramebuffer.3G
glBlitFramebuffer transfers a rectangle of pixel values from one region of the read framebuffer to another region in the draw framebuffer. mask is the bitwise...
glBufferData.3G
glBufferData creates a new data store for the buffer object currently bound to target. Any pre-existing data store is deleted. The new data store is created...
glBufferStorage.3G
glBufferStorage creates a new immutable data store for the buffer object currently bound to target. The size of the data store is specified by size. If an...
glBufferSubData.3G
glBufferSubData redefines some or all of the data store for the buffer object currently bound to target. Data starting at byte offset offset and extending for...
glCallList.3G
glCallList causes the named display list to be executed. The commands saved in the display list are executed in order, just as if they were called without using...
glCallLists.3G
glCallLists causes each display list in the list of names passed as lists to be executed. As a result, the commands saved in each display list are executed in...
glCheckFramebufferStatus.3G
glCheckFramebufferStatus queries the completeness status of the framebuffer object currently bound to target. target must be GL_DRAW_FRAMEBUFFER...
glClampColor.3G
glClampColor controls color clamping that is performed during glReadPixels(). target must be GL_CLAMP_READ_COLOR. If clamp is GL_TRUE, read color clamping is...
glClear.3G
glClear sets the bitplane area of the window to values previously selected by glClearColor, glClearDepth, and glClearStencil. Multiple color buffers can be...
glClearAccum.3G
glClearAccum specifies the red, green, blue, and alpha values used by glClear() to clear the accumulation buffer. Values specified by glClearAccum are clamped...
glClearBuffer.3G
glClearBuffer* clears the specified buffer to the specified value(s). If buffer is GL_COLOR, a particular draw buffer GL_DRAW_BUFFERi is specified by passing i...
glClearBufferData.3G
glClearBufferData fills the entirety of a buffer object's data store with data from client memory. Data, initially supplied in a format specified by format in...
glClearBufferSubData.3G
glClearBufferSubData fills a specified region of a buffer object's data store with data from client memory. offset and size demark the extent of the region...
glClearColor.3G
glClearColor specifies the red, green, blue, and alpha values used by glClear() to clear the color buffers. Values specified by glClearColor are clamped to the...
glClearDepth.3G
glClearDepth specifies the depth value used by glClear() to clear the depth buffer. Values specified by glClearDepth are clamped to the range 0 1.
glClearIndex.3G
glClearIndex specifies the index used by glClear() to clear the color index buffers. c is not clamped. Rather, c is converted to a fixed-point value with...
glClearStencil.3G
glClearStencil specifies the index used by glClear() to clear the stencil buffer. s is masked with 2 m - 1, where m is the number of bits in the stencil buffer.
glClearTexImage.3G
glClearTexImage fills all an image contained in a texture with an application supplied value. texture must be the name of an existing texture. Further, texture...
glClearTexSubImage.3G
glClearTexSubImage fills all or part of an image contained in a texture with an application supplied value. texture must be the name of an existing texture...
glClientActiveTexture.3G
glClientActiveTexture selects the vertex array client state parameters to be modified by glTexCoordPointer(), and enabled or disabled with glEnableClientState()...
glClientActiveTextureARB.3G
glClientActiveTextureARB selects the vertex array client state parameters to be modified by glTexCoordPointer, and enabled or disabled with glEnableClientState...
glClientWaitSync.3G
glClientWaitSync causes the client to block and wait for the sync object specified by sync to become signaled. If sync is signaled when glClientWaitSync is...
gl_ClipDistance.3G
The gl_ClipDistance variable provides a forward compatible mechanism for controlling user clipping. The element gl_ClipDistance[i] specifies a clip distance for...
glClipPlane.3G
Geometry is always clipped against the boundaries of a six-plane frustum in x, y, and z. glClipPlane allows the specification of additional planes, not...
glColor.3G
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major...
glColorMask.3G
glColorMask specifies whether the individual color components in the frame buffer can or cannot be written. If red is GL_FALSE, for example, no change is made...
glColorMask,_glColorMaski.3G
glColorMask and glColorMaski specify whether the individual color components in the frame buffer can or cannot be written. glColorMaski sets the mask for a...
glColorMaterial.3G
glColorMaterial specifies which material parameters track the current color. When GL_COLOR_MATERIAL is enabled, the material parameter or parameters specified...
glColorPointer.3G
glColorPointer specifies the location and data format of an array of color components to use when rendering. size specifies the number of components per color...
glColorSubTable.3G
glColorSubTable is used to respecify a contiguous portion of a color table previously defined using glColorTable(). The pixels referenced by data replace the...
glColorTable.3G
glColorTable may be used in two ways: to test the actual size and color resolution of a lookup table given a particular set of parameters, or to load the...
glColorTableParameter.3G
glColorTableParameter is used to specify the scale factors and bias terms applied to color components when they are loaded into a color table. target indicates...
glCompileShader.3G
glCompileShader compiles the source code strings that have been stored in the shader object specified by shader. The compilation status will be stored as part...
glCompressedTexImage1D.3G
Texturing allows elements of an image array to be read by shaders. glCompressedTexImage1D loads a previously defined, and retrieved, compressed one-dimensional...
glCompressedTexImage2D.3G
Texturing allows elements of an image array to be read by shaders. glCompressedTexImage2D loads a previously defined, and retrieved, compressed two-dimensional...
glCompressedTexImage3D.3G
Texturing allows elements of an image array to be read by shaders. glCompressedTexImage3D loads a previously defined, and retrieved, compressed...
glCompressedTexSubImage1D.3G
Texturing allows elements of an image array to be read by shaders. glCompressedTexSubImage1D redefines a contiguous subregion of an existing one-dimensional...
glCompressedTexSubImage2D.3G
Texturing allows elements of an image array to be read by shaders. glCompressedTexSubImage2D redefines a contiguous subregion of an existing two-dimensional...
glCompressedTexSubImage3D.3G
Texturing allows elements of an image array to be read by shaders. glCompressedTexSubImage3D redefines a contiguous subregion of an existing three-dimensional...
glConvolutionFilter1D.3G
glConvolutionFilter1D builds a one-dimensional convolution filter kernel from an array of pixels. The pixel array specified by width, format, type, and data is...
glConvolutionFilter2D.3G
glConvolutionFilter2D builds a two-dimensional convolution filter kernel from an array of pixels. The pixel array specified by width, height, format, type, and...
glConvolutionParameter.3G
glConvolutionParameter sets the value of a convolution parameter. target selects the convolution filter to be affected: GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or...
glCopyBufferSubData.3G
glCopyBufferSubData copies part of the data store attached to readtarget to the data store attached to writetarget. The number of basic machine units indicated...
glCopyColorSubTable.3G
glCopyColorSubTable is used to respecify a contiguous portion of a color table previously defined using glColorTable(). The pixels copied from the framebuffer...
glCopyColorTable.3G
glCopyColorTable loads a color table with pixels from the current GL_READ_BUFFER (rather than from main memory, as is the case for glColorTable()). The...
glCopyConvolutionFilter1D.3G
glCopyConvolutionFilter1D defines a one-dimensional convolution filter kernel with pixels from the current GL_READ_BUFFER (rather than from main memory, as is...
glCopyConvolutionFilter2D.3G
glCopyConvolutionFilter2D defines a two-dimensional convolution filter kernel with pixels from the current GL_READ_BUFFER (rather than from main memory, as is...
glCopyImageSubData.3G
glCopyImageSubData may be used to copy data from one image (i.e. texture or renderbuffer) to another. glCopyImageSubData does not perform general-purpose...
glCopyPixels.3G
glCopyPixels copies a screen-aligned rectangle of pixels from the specified frame buffer location to a region relative to the current raster position. Its...
glCopyTexImage1D.3G
glCopyTexImage1D defines a one-dimensional texture image with pixels from the current GL_READ_BUFFER. The screen-aligned pixel row with left corner at x y and...
glCopyTexImage2D.3G
glCopyTexImage2D defines a two-dimensional texture image, or cube-map texture image with pixels from the current GL_READ_BUFFER. The screen-aligned pixel...
glCopyTexSubImage1D.3G
glCopyTexSubImage1D replaces a portion of a one-dimensional texture image with pixels from the current GL_READ_BUFFER (rather than from main memory, as is the...
glCopyTexSubImage2D.3G
glCopyTexSubImage2D replaces a rectangular portion of a two-dimensional texture image, cube-map texture image or a linear portion of a number of slices of a...
glCopyTexSubImage3D.3G
glCopyTexSubImage3D replaces a rectangular portion of a three-dimensional or two-dimensional array texture image with pixels from the current GL_READ_BUFFER...
glCreateProgram.3G
glCreateProgram creates an empty program object and returns a non-zero value by which it can be referenced. A program object is an object to which shader...
glCreateShader.3G
glCreateShader creates an empty shader object and returns a non-zero value by which it can be referenced. A shader object is used to maintain the source code...
glCreateShaderProgramv.3G
glCreateShaderProgram creates a program object containing compiled and linked shaders for a single stage specified by type. strings refers to an array of count...
glCullFace.3G
glCullFace specifies whether front- or back-facing facets are culled (as specified by mode) when facet culling is enabled. Facet culling is initially disabled...
glDebugMessageCallback.3G
glDebugMessageInsert sets the current debug output callback function to the function whose address is given in callback.
glDebugMessageControl.3G
glDebugMessageControl controls the reporting of debug messages generated by a debug context. The parameters source, type and severity form a filter to select...
glDebugMessageInsert.3G
glDebugMessageInsert inserts a user-supplied message into the debug output queue. source specifies the source that will be used to classify the message and must...
glDeleteBuffers.3G
glDeleteBuffers deletes n buffer objects named by the elements of the array buffers. After a buffer object is deleted, it has no contents, and its name is free...
glDeleteFramebuffers.3G
glDeleteFramebuffers deletes the n framebuffer objects whose names are stored in the array addressed by framebuffers. The name zero is reserved by the GL and is...
glDeleteLists.3G
glDeleteLists causes a contiguous group of display lists to be deleted. list is the name of the first display list to be deleted, and range is the number of...
glDeleteProgram.3G
glDeleteProgram frees the memory and invalidates the name associated with the program object specified by program. This command effectively undoes the effects...
glDeleteProgramPipelines.3G
glDeleteProgramPipelines deletes the n program pipeline objects whose names are stored in the array pipelines. Unused names in pipelines are ignored, as is the...
glDeleteQueries.3G
glDeleteQueries deletes n query objects named by the elements of the array ids. After a query object is deleted, it has no contents, and its name is free for...
glDeleteRenderbuffers.3G
glDeleteRenderbuffers deletes the n renderbuffer objects whose names are stored in the array addressed by renderbuffers. The name zero is reserved by the GL and...
glDeleteSamplers.3G
glDeleteSamplers deletes n sampler objects named by the elements of the array samplers. After a sampler object is deleted, its name is again unused. If a...
glDeleteShader.3G
glDeleteShader frees the memory and invalidates the name associated with the shader object specified by shader. This command effectively undoes the effects of a...
glDeleteSync.3G
glDeleteSync deletes the sync object specified by sync. If the fence command corresponding to the specified sync object has completed, or if no glWaitSync() or...
glDeleteTextures.3G
glDeleteTextures deletes n textures named by the elements of the array textures. After a texture is deleted, it has no contents or dimensionality, and its name...
glDeleteTransformFeedbacks.3G
glDeleteTransformFeedbacks deletes the n transform feedback objects whose names are stored in the array ids. Unused names in ids are ignored, as is the name...
glDeleteVertexArrays.3G
glDeleteVertexArrays deletes n vertex array objects whose names are stored in the array addressed by arrays. Once a vertex array object is deleted it has no...
glDepthFunc.3G
glDepthFunc specifies the function used to compare each incoming pixel depth value with the depth value present in the depth buffer. The comparison is performed...
glDepthMask.3G
glDepthMask specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled...
glDepthRange.3G
After clipping and division by w, depth coordinates range from -1 to 1, corresponding to the near and far clipping planes. glDepthRange specifies a linear...
glDepthRangeArray.3G
After clipping and division by w, depth coordinates range from -1 to 1, corresponding to the near and far clipping planes. Each viewport has an independent...
glDepthRangeIndexed.3G
After clipping and division by w, depth coordinates range from -1 to 1, corresponding to the near and far clipping planes. Each viewport has an independent...
glDetachShader.3G
glDetachShader detaches the shader object specified by shader from the program object specified by program. This command can be used to undo the effect of the...
glDispatchCompute.3G
glDispatchCompute launches one or more compute work groups. Each work group is processed by the active program object for the compute shader stage. While the...
glDispatchComputeIndirect.3G
glDispatchComputeIndirect launches one or more compute work groups using parameters stored in the buffer object currently bound to the...
glDrawArrays.3G
glDrawArrays specifies multiple geometric primitives with very few subroutine calls. Instead of calling a GL procedure to pass each individual vertex, normal...
glDrawArraysIndirect.3G
glDrawArraysIndirect specifies multiple geometric primitives with very few subroutine calls. glDrawArraysIndirect behaves similarly to...
glDrawArraysInstanced.3G
glDrawArraysInstanced behaves identically to glDrawArrays() except that primcount instances of the range of elements are executed and the value of the internal...
glDrawArraysInstancedBaseInstance.3G
glDrawArraysInstancedBaseInstance behaves identically to glDrawArrays() except that primcount instances of the range of elements are executed and the value of...
glDrawBuffer.3G
When colors are written to the frame buffer, they are written into the color buffers specified by glDrawBuffer. The specifications are as follows: GL_NONE
glDrawBuffers.3G
glDrawBuffers defines an array of buffers into which outputs from the fragment shader data will be written. If a fragment shader writes a value to one or more...
glDrawElements.3G
glDrawElements specifies multiple geometric primitives with very few subroutine calls. Instead of calling a GL function to pass each individual vertex, normal...
glDrawElementsBaseVertex.3G
glDrawElementsBaseVertex behaves identically to glDrawElements() except that the ith element transferred by the corresponding draw call will be taken from...
glDrawElementsIndirect.3G
glDrawElementsIndirect specifies multiple indexed geometric primitives with very few subroutine calls. glDrawElementsIndirect behaves similarly to...
glDrawElementsInstanced.3G
glDrawElementsInstanced behaves identically to glDrawElements() except that primcount instances of the set of elements are executed and the value of the...
glDrawElementsInstancedBaseInstance.3G
glDrawElementsInstancedBaseInstance behaves identically to glDrawElements() except that primcount instances of the set of elements are executed and the value of...
glDrawElementsInstancedBaseVertex.3G
glDrawElementsInstancedBaseVertex behaves identically to glDrawElementsInstanced() except that the ith element transferred by the corresponding draw call will...
glDrawElementsInstancedBaseVertexBaseInstance.3G
glDrawElementsInstancedBaseVertexBaseInstance behaves identically to glDrawElementsInstanced() except that the ith element transferred by the corresponding draw...
glDrawPixels.3G
glDrawPixels reads pixel data from memory and writes it into the frame buffer relative to the current raster position, provided that the raster position is...
glDrawRangeElements.3G
glDrawRangeElements is a restricted form of glDrawElements(). mode, start, end, and count match the corresponding arguments to glDrawElements(), with the...
glDrawRangeElementsBaseVertex.3G
glDrawRangeElementsBaseVertex is a restricted form of glDrawElementsBaseVertex(). mode, start, end, count and basevertex match the corresponding arguments to...
glDrawTransformFeedback.3G
glDrawTransformFeedback draws primitives of a type specified by mode using a count retrieved from the transform feedback specified by id. Calling...
glDrawTransformFeedbackInstanced.3G
glDrawTransformFeedbackInstanced draws multiple copies of a range of primitives of a type specified by mode using a count retrieved from the transform feedback...
glDrawTransformFeedbackStream.3G
glDrawTransformFeedbackStream draws primitives of a type specified by mode using a count retrieved from the transform feedback stream specified by stream of the...
glDrawTransformFeedbackStreamInstanced.3G
glDrawTransformFeedbackStreamInstanced draws multiple copies of a range of primitives of a type specified by mode using a count retrieved from the transform...
glEdgeFlag.3G
Each vertex of a polygon, separate triangle, or separate quadrilateral specified between a glBegin()/glEnd() pair is marked as the start of either a boundary or...
glEdgeFlagPointer.3G
glEdgeFlagPointer specifies the location and data format of an array of boolean edge flags to use when rendering. stride specifies the byte stride from one edge...
glEnable.3G
glEnable and glDisable enable and disable various capabilities. Use glIsEnabled() or glGet() to determine the current setting of any capability. The initial...
glEnableClientState.3G
glEnableClientState and glDisableClientState() enable or disable individual client-side capabilities. By default, all client-side capabilities are disabled...
glEnableVertexAttribArray.3G
glEnableVertexAttribArray enables the generic vertex attribute array specified by index. glDisableVertexAttribArray disables the generic vertex attribute array...
glEvalCoord.3G
glEvalCoord1 evaluates enabled one-dimensional maps at argument u. glEvalCoord2 does the same for two-dimensional maps using two domain values, u and v. To...
glEvalMesh.3G
glMapGrid() and glEvalMesh are used in tandem to efficiently generate and evaluate a series of evenly-spaced map domain values. glEvalMesh steps through the...
glEvalPoint.3G
glMapGrid() and glEvalMesh() are used in tandem to efficiently generate and evaluate a series of evenly spaced map domain values. glEvalPoint can be used to...
glFeedbackBuffer.3G
The glFeedbackBuffer function controls feedback. Feedback, like selection, is a GL mode. The mode is selected by calling glRenderMode() with GL_FEEDBACK. When...
glFenceSync.3G
glFenceSync creates a new fence sync object, inserts a fence command into the GL command stream and associates it with that sync object, and returns a non-zero...
glFinish.3G
glFinish does not return until the effects of all previously called GL commands are complete. Such effects include all changes to GL state, all changes to...
glFlush.3G
Different GL implementations buffer commands in several different locations, including network buffers and the graphics accelerator itself. glFlush empties all...
glFlushMappedBufferRange.3G
glFlushMappedBufferRange indicates that modifications have been made to a range of a mapped buffer. The buffer must previously have been mapped with the...
glFog.3G
Fog is initially disabled. While enabled, fog affects rasterized geometry, bitmaps, and pixel blocks, but not buffer clear operations. To enable and disable...
glFogCoord.3G
glFogCoord specifies the fog coordinate that is associated with each vertex and the current raster position. The value specified is interpolated and used in...
glFogCoordPointer.3G
glFogCoordPointer specifies the location and data format of an array of fog coordinates to use when rendering. type specifies the data type of each fog...
gl_FragCoord.3G
in vec4 gl_FragCoord ;.SH "DESCRIPTION" Available only in the fragment language, gl_FragCoord is an input variable that contains the window relative coordinate...
gl_FragDepth.3G
out float gl_FragDepth ;.SH "DESCRIPTION" Available only in the fragment language, gl_FragDepth is an output variable that is used to establish the depth value...
glFramebufferParameteri.3G
glFramebufferParameteri modifies the current value of the parameter named pname in the framebuffer bound to target. target must be GL_READ_FRAMEBFUFFER...
glFramebufferRenderbuffer.3G
glFramebufferRenderbuffer attaches a renderbuffer as one of the logical buffers of the currently bound framebuffer object. renderbuffer is the name of the...
glFramebufferTexture.3G
glFramebufferTexture, glFramebufferTexture1D, glFramebufferTexture2D, and glFramebufferTexture attach a selected mipmap level or image of a texture object as...
glFramebufferTextureLayer.3G
glFramebufferTextureLayer operates like glFramebufferTexture(), except that only a single layer of the texture level, given by layer, is attached to the...
glFrontFace.3G
In a scene composed entirely of opaque closed surfaces, back-facing polygons are never visible. Eliminating these invisible polygons has the obvious benefit of...
gl_FrontFacing.3G
in bool gl_FrontFacing ;.SH "DESCRIPTION" Available only in the fragment language, gl_FrontFacing is an input variable whose value is true if the fragment...
glFrustum.3G
glFrustum describes a perspective matrix that produces a perspective projection. The current matrix (see glMatrixMode()) is multiplied by this matrix and the...
glGenBuffers.3G
glGenBuffers returns n buffer object names in buffers. There is no guarantee that the names form a contiguous set of integers; however, it is guaranteed that...
glGenerateMipmap.3G
glGenerateMipmap generates mipmaps for the texture attached to target of the active texture unit. For cube map textures, a GL_INVALID_OPERATION error is...
glGenFramebuffers.3G
glGenFramebuffers returns n framebuffer object names in ids. There is no guarantee that the names form a contiguous set of integers; however, it is guaranteed...
glGenLists.3G
glGenLists has one argument, range. It returns an integer n such that range contiguous empty display lists, named n, n + 1, ..., n + range - 1, are created. If...
glGenProgramPipelines.3G
glGenProgramPipelines returns n previously unused program pipeline object names in pipelines. These names are marked as used, for the purposes of...
glGenQueries.3G
glGenQueries returns n query object names in ids. There is no guarantee that the names form a contiguous set of integers; however, it is guaranteed that none of...
glGenRenderbuffers.3G
glGenRenderbuffers returns n renderbuffer object names in renderbuffers. There is no guarantee that the names form a contiguous set of integers; however, it is...
glGenSamplers.3G
glGenSamplers returns n sampler object names in samplers. There is no guarantee that the names form a contiguous set of integers; however, it is guaranteed that...
glGenTextures.3G
glGenTextures returns n texture names in textures. There is no guarantee that the names form a contiguous set of integers; however, it is guaranteed that none...
glGenTransformFeedbacks.3G
glGenTransformFeedbacks returns n previously unused transform feedback object names in ids. These names are marked as used, for the purposes of...
glGenVertexArrays.3G
glGenVertexArrays returns n vertex array object names in arrays. There is no guarantee that the names form a contiguous set of integers; however, it is...
glGet.3G
These commands return values for simple state variables in GL. pname is a symbolic constant indicating the state variable to be returned, and data is a pointer...
glGetActiveAtomicCounterBufferiv.3G
glGetActiveAtomicCounterBufferiv retrieves information about the set of active atomic counter buffers for a program object. program is the name of a program...
glGetActiveAttrib.3G
glGetActiveAttrib returns information about an active attribute variable in the program object specified by program. The number of active attributes can be...
glGetActiveSubroutineName.3G
glGetActiveSubroutineName queries the name of an active shader subroutine uniform from the program object given in program. index specifies the index of the...
glGetActiveSubroutineUniform.3G
glGetActiveSubroutineUniform queries a parameter of an active shader subroutine uniform. program contains the name of the program containing the uniform...
glGetActiveSubroutineUniformName.3G
glGetActiveSubroutineUniformName retrieves the name of an active shader subroutine uniform. program contains the name of the program containing the uniform...
glGetActiveUniform.3G
glGetActiveUniform returns information about an active uniform variable in the program object specified by program. The number of active uniform variables can...
glGetActiveUniformBlock.3G
glGetActiveUniformBlockiv retrieves information about an active uniform block within program. program must be the name of a program object for which the command...
glGetActiveUniformBlockName.3G
glGetActiveUniformBlockName retrieves the name of the active uniform block at uniformBlockIndex within program. program must be the name of a program object for...
glGetActiveUniformName.3G
glGetActiveUniformName returns the name of the active uniform at uniformIndex within program. If uniformName is not NULL, up to bufSize characters (including a...
glGetActiveUniformsiv.3G
glGetActiveUniformsiv queries the value of the parameter named pname for each of the uniforms within program whose indices are specified in the array of...
glGetAttachedShaders.3G
glGetAttachedShaders returns the names of the shader objects attached to program. The names of shader objects that are attached to program will be returned in...
glGetAttribLocation.3G
glGetAttribLocation queries the previously linked program object specified by program for the attribute variable specified by name and returns the index of the...
glGetBufferParameteriv.3G
glGetBufferParameteriv returns in data a selected parameter of the buffer object specified by target. value names a specific buffer object parameter, as...
glGetBufferPointerv.3G
glGetBufferPointerv returns pointer information. pname is a symbolic constant indicating the pointer to be returned, which must be GL_BUFFER_MAP_POINTER, the...
glGetBufferSubData.3G
glGetBufferSubData returns some or all of the data from the buffer object currently bound to target. Data starting at byte offset offset and extending for size...
glGetClipPlane.3G
glGetClipPlane returns in equation the four coefficients of the plane equation for plane.
glGetColorTable.3G
glGetColorTable returns in table the contents of the color table specified by target. No pixel transfer operations are performed, but pixel storage modes that...
glGetColorTableParameter.3G
Returns parameters specific to color table target. When pname is set to GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS, glGetColorTableParameter returns the color...
glGetCompressedTexImage.3G
glGetCompressedTexImage returns the compressed texture image associated with target and lod into img. img should be an array of GL_TEXTURE_COMPRESSED_IMAGE_SIZE...
glGetConvolutionFilter.3G
glGetConvolutionFilter returns the current 1D or 2D convolution filter kernel as an image. The one- or two-dimensional image is placed in image according to the...
glGetConvolutionParameter.3G
glGetConvolutionParameter retrieves convolution parameters. target determines which convolution filter is queried. pname determines which parameter is returned...
glGetDebugMessageLog.3G
glGetDebugMessageLog retrieves messages from the debug message log. A maximum of count messages are retrieved from the log. If sources is not NULL then the...
glGetError.3G
glGetError returns the value of the error flag. Each detectable error is assigned a numeric code and symbolic name. When an error occurs, the error flag is set...
glGetFragDataIndex.3G
glGetFragDataIndex returns the index of the fragment color to which the variable name was bound when the program object program was last linked. If name is not...
glGetFragDataLocation.3G
glGetFragDataLocation retrieves the assigned color number binding for the user-defined varying out variable name for program program. program must have...
glGetFramebufferAttachmentParameteriv.3G
glGetFramebufferAttachmentParameteriv returns information about attachments of a bound framebuffer object. target specifies the framebuffer binding point and...
glGetFramebufferParameter.3G
glGetFramebufferParameter retrieves the current value of the parameter named pname from the framebuffer bound to target. target must be GL_READ_FRAMEBFUFFER...
glGetHistogram.3G
glGetHistogram returns the current histogram table as a one-dimensional image with the same width as the histogram. No pixel transfer operations are performed...
glGetHistogramParameter.3G
glGetHistogramParameter is used to query parameter values for the current histogram or for a proxy.
glGetInternalformat.3G
glGetInternalformativ and glGetInternalformati64v retrieve information about implementation-dependent support for internal formats. target indicates the target...
glGetLight.3G
glGetLight returns in params the value or values of a light source parameter. light names the light and is a symbolic name of the form GL_LIGHTi where i ranges...
glGetMap.3G
glMap1() and glMap2() define evaluators. glGetMap returns evaluator parameters. target chooses a map, query selects a specific parameter, and v points to...
glGetMaterial.3G
glGetMaterial returns in params the value or values of parameter pname of material face. Six parameters are defined: GL_AMBIENT
glGetMinmax.3G
glGetMinmax returns the accumulated minimum and maximum pixel values (computed on a per-component basis) in a one-dimensional image of width 2. The first set of...
glGetMinmaxParameter.3G
get minmax parameters
glGetMultisamplefv.3G
glGetMultisamplefv queries the location of a given sample. pname specifies the sample parameter to retrieve and must be GL_SAMPLE_POSITION. index corresponds to...
glGetObjectLabel.3G
glGetObjectLabel retrieves the label of the object identified by name within the namespace given by identifier. identifier must be one of GL_BUFFER, GL_SHADER...
glGetObjectPtrLabel.3G
glGetObjectPtrLabel retrieves the label of the sync object identified by ptr. label is the address of a string that will be used to store the object label...
glGetPixelMap.3G
See the glPixelMap() reference page for a description of the acceptable values for the map parameter. glGetPixelMap returns in data the contents of the pixel...
glGetPointerv.3G
glGetPointerv returns pointer information. pname is a symbolic constant indicating the pointer to be returned, and params is a pointer to a location in which to...
glGetPolygonStipple.3G
glGetPolygonStipple returns to pattern a 32 × 32 polygon stipple pattern. The pattern is packed into memory as if glReadPixels() with both height and width of...
glGetProgramBinary.3G
glGetProgramBinary returns a binary representation of the compiled and linked executable for program into the array of bytes whose address is specified in...
glGetProgramInfoLog.3G
glGetProgramInfoLog returns the information log for the specified program object. The information log for a program object is modified when the program object...
glGetProgramInterface.3G
glGetProgramInterfaceiv queries the property of the interface identifed by programInterface in program, the property name of which is given by pname. program...
glGetProgramiv.3G
glGetProgram returns in params the value of a parameter for a specific program object. The following parameters are defined: GL_DELETE_STATUS
glGetProgramPipeline.3G
glGetProgramPipelineiv retrieves the value of a property of the program pipeline object pipeline. pname specifies the name of the parameter whose value to...
glGetProgramPipelineInfoLog.3G
glGetProgramPipelineInfoLog retrieves the info log for the program pipeline object pipeline. The info log, including its null terminator, is written into the...
glGetProgramResource.3G
glGetProgramResourceiv returns values for multiple properties of a single active resource with an index of index in the interface programInterface of program...
glGetProgramResourceIndex.3G
glGetProgramResourceIndex returns the unsigned integer index assigned to a resource named name in the interface type programInterface of program object program...
glGetProgramResourceLocation.3G
glGetProgramResourceLocation returns the location assigned to the variable named name in interface programInterface of program object program. program must be...
glGetProgramResourceLocationIndex.3G
glGetProgramResourceLocationIndex returns the fragment color index assigned to the variable named name in interface programInterface of program object program...
glGetProgramResourceName.3G
glGetProgramResourceName retrieves the name string assigned to the single active resource with an index of index in the interface programInterface of program...
glGetProgramStage.3G
glGetProgramStage queries a parameter of a shader stage attached to a program object. program contains the name of the program to which the shader is attached...
glGetQueryIndexediv.3G
glGetQueryIndexediv returns in params a selected parameter of the indexed query object target specified by target and index. index specifies the index of the...
glGetQueryiv.3G
glGetQueryiv returns in params a selected parameter of the query object target specified by target. pname names a specific query object target parameter. When...
glGetQueryObject.3G
glGetQueryObject returns in params a selected parameter of the query object specified by id. pname names a specific query object parameter. pname can be as...
glGetRenderbufferParameteriv.3G
glGetRenderbufferParameteriv retrieves information about a bound renderbuffer object. target specifies the target of the query operation and must be...
glGetSamplerParameter.3G
glGetSamplerParameter returns in params the value or values of the sampler parameter specified as pname. sampler defines the target sampler, and must be the...
glGetSeparableFilter.3G
glGetSeparableFilter returns the two one-dimensional filter kernel images for the current separable 2D convolution filter. The row image is placed in row and...
glGetShaderInfoLog.3G
glGetShaderInfoLog returns the information log for the specified shader object. The information log for a shader object is modified when the shader is compiled...
glGetShaderiv.3G
glGetShader returns in params the value of a parameter for a specific shader object. The following parameters are defined: GL_SHADER_TYPE
glGetShaderPrecisionFormat.3G
glGetShaderPrecisionFormat retrieves the numeric range and precision for the implementation's representation of quantities in different numeric formats in...
glGetShaderSource.3G
glGetShaderSource returns the concatenation of the source code strings from the shader object specified by shader. The source code strings for a shader object...
glGetString.3G
glGetString returns a pointer to a static string describing some aspect of the current GL connection. name can be one of the following: GL_VENDOR
glGetSubroutineIndex.3G
glGetSubroutineIndex returns the index of a subroutine uniform within a shader stage attached to a program object. program contains the name of the program to...
glGetSubroutineUniformLocation.3G
glGetSubroutineUniformLocation returns the location of the subroutine uniform variable name in the shader stage of type shadertype attached to program, with...
glGetSynciv.3G
glGetSynciv retrieves properties of a sync object. sync specifies the name of the sync object whose properties to retrieve. On success, glGetSynciv replaces up...
glGetTexEnv.3G
glGetTexEnv returns in params selected values of a texture environment that was specified with glTexEnv(). target specifies a texture environment. When target...
glGetTexGen.3G
glGetTexGen returns in params selected parameters of a texture coordinate generation function that was specified using glTexGen(). coord names one of the (s, t...
glGetTexImage.3G
glGetTexImage returns a texture image into img. target specifies whether the desired texture image is one specified by glTexImage1D() (GL_TEXTURE_1D)...
glGetTexLevelParameter.3G
glGetTexLevelParameter returns in params texture parameter values for a specific level-of-detail value, specified as level. target defines the target texture...
glGetTexParameter.3G
glGetTexParameter returns in params the value or values of the texture parameter specified as pname. target defines the target texture. GL_TEXTURE_1D...
glGetTransformFeedbackVarying.3G
Information about the set of varying variables in a linked program that will be captured during transform feedback may be retrieved by calling...
glGetUniformBlockIndex.3G
glGetUniformBlockIndex retrieves the index of a uniform block within program. program must be the name of a program object for which the command glLinkProgram()...
glGetUniformfv.3G
glGetUniform returns in params the value(s) of the specified uniform variable. The type of the uniform variable specified by location determines the number of...
glGetUniformIndices.3G
glGetUniformIndices retrieves the indices of a number of uniforms within program. program must be the name of a program object for which the command...
glGetUniformLocation.3G
glGetUniformLocation returns an integer that represents the location of a specific uniform variable within a program object. name must be a null terminated...
glGetUniformSubroutine.3G
glGetUniformSubroutine retrieves the value of the subroutine uniform at location location for shader stage shadertype of the current program. location must be...
glGetVertexAttribdv.3G
glGetVertexAttrib returns in params the value of a generic vertex attribute parameter. The generic vertex attribute to be queried is specified by index, and the...
glGetVertexAttribPointerv.3G
glGetVertexAttribPointerv returns pointer information. index is the generic vertex attribute to be queried, pname is a symbolic constant indicating the pointer...
gl_GlobalInvocationID.3G
in uvec3 gl_GlobalInvocationID ;.SH "DESCRIPTION" In the compute language, gl_GlobalInvocationID is a derived input variable containing the n-dimensional index...
glHint.3G
Certain aspects of GL behavior, when there is room for interpretation, can be controlled with hints. A hint is specified with two arguments. target is a...
glHistogram.3G
When GL_HISTOGRAM is enabled, RGBA color components are converted to histogram table indices by clamping to the range [0,1], multiplying by the width of the...
glIndex.3G
glIndex updates the current (single-valued) color index. It takes one argument, the new value for the current color index. The current index is stored as a...
glIndexMask.3G
glIndexMask controls the writing of individual bits in the color index buffers. The least significant n bits of mask, where n is the number of bits in a color...
glIndexPointer.3G
glIndexPointer specifies the location and data format of an array of color indexes to use when rendering. type specifies the data type of each color index and...
glInitNames.3G
The name stack is used during selection mode to allow sets of rendering commands to be uniquely identified. It consists of an ordered set of unsigned integers...
gl_InstanceID.3G
in int gl_InstanceID ;.SH "DESCRIPTION" gl_InstanceID is a vertex language input variable that holds the integer index of the current primitive in an instanced...
glInterleavedArrays.3G
glInterleavedArrays lets you specify and enable individual color, normal, texture and vertex arrays whose elements are part of a larger aggregate array element...
glInvalidateBufferData.3G
glInvalidateBufferData invalidates all of the content of the data store of a buffer object. After invalidation, the content of the buffer's data store becomes...
glInvalidateBufferSubData.3G
glInvalidateBufferSubData invalidates all or part of the content of the data store of a buffer object. After invalidation, the content of the specified range of...
glInvalidateFramebuffer.3G
glInvalidateFramebuffer invalidates the content of a specified set of attachments of a framebuffer. The framebuffer whose content to invalidate is indicated by...
glInvalidateSubFramebuffer.3G
glInvalidateSubFramebuffer invalidates the content of a region of a specified set of attachments of a framebuffer. The framebuffer whose content to invalidate...
glInvalidateTexImage.3G
glInvalidateTexSubImage invalidates all of a texture image. texture and level indicated which texture image is being invalidated. After this command, data in...
glInvalidateTexSubImage.3G
glInvalidateTexSubImage invalidates all or part of a texture image. texture and level indicated which texture image is being invalidated. After this command...
gl_InvocationID.3G
in int gl_InvocationID ;.SH "DESCRIPTION" In the tessellation control language, gl_InvocationID contains the index of the output patch vertex assigned to the...
glIsBuffer.3G
glIsBuffer returns GL_TRUE if buffer is currently the name of a buffer object. If buffer is zero, or is a non-zero value that is not currently the name of a...
glIsEnabled.3G
glIsEnabled returns GL_TRUE if cap is an enabled capability and returns GL_FALSE otherwise. Initially all capabilities except GL_DITHER are disabled; GL_DITHER...
glIsEnabled,_glIsEnabledi.3G
glIsEnabled returns GL_TRUE if cap is an enabled capability and returns GL_FALSE otherwise. Boolean states that are indexed may be tested with glIsEnabledi. For...
glIsFramebuffer.3G
glIsFramebuffer returns GL_TRUE if framebuffer is currently the name of a framebuffer object. If framebuffer is zero, or if framebuffer is not the name of a...
glIslist.3G
glIsList returns GL_TRUE if list is the name of a display list and returns GL_FALSE otherwise.
glIsList.3G
glIsList returns GL_TRUE if list is the name of a display list and returns GL_FALSE if it is not, or if an error occurs. A name returned by glGenLists(), but...
glIsProgram.3G
glIsProgram returns GL_TRUE if program is the name of a program object previously created with glCreateProgram() and not yet deleted with glDeleteProgram(). If...
glIsProgramPipeline.3G
glIsProgramPipeline returns GL_TRUE if pipeline is currently the name of a program pipeline object. If pipeline is zero, or if pipeline is not the name of a...
glIsQuery.3G
glIsQuery returns GL_TRUE if id is currently the name of a query object. If id is zero, or is a non-zero value that is not currently the name of a query object...
glIsRenderbuffer.3G
glIsRenderbuffer returns GL_TRUE if renderbuffer is currently the name of a renderbuffer object. If renderbuffer is zero, or if renderbuffer is not the name of...
glIsSampler.3G
glIsSampler returns GL_TRUE if id is currently the name of a sampler object. If id is zero, or is a non-zero value that is not currently the name of a sampler...
glIsShader.3G
glIsShader returns GL_TRUE if shader is the name of a shader object previously created with glCreateShader() and not yet deleted with glDeleteShader(). If...
glIsSync.3G
glIsSync returns GL_TRUE if sync is currently the name of a sync object. If sync is not the name of a sync object, or if an error occurs, glIsSync returns...
glIsTexture.3G
glIsTexture returns GL_TRUE if texture is currently the name of a texture. If texture is zero, or is a non-zero value that is not currently the name of a...
glIsTransformFeedback.3G
glIsTransformFeedback returns GL_TRUE if id is currently the name of a transform feedback object. If id is zero, or if id is not the name of a transform...
glIsVertexArray.3G
glIsVertexArray returns GL_TRUE if array is currently the name of a vertex array object. If array is zero, or if array is not the name of a vertex array object...
gl_Layer.3G
In the geometry language, gl_Layer is used to select a specific layer (or face and layer of cube map) in a multi-layer framebuffer attachment. The actual layer...
glLight.3G
glLight sets the values of individual light source parameters. light names the light and is a symbolic name of the form GL_LIGHTi, where i ranges from 0 to the...
glLightModel.3G
glLightModel sets the lighting model parameter. pname names a parameter and params gives the new value. There are three lighting model parameters...
glLineStipple.3G
Line stippling masks out certain fragments produced by rasterization; those fragments will not be drawn. The masking is achieved by using three parameters: the...
glLineWidth.3G
glLineWidth specifies the rasterized width of both aliased and antialiased lines. Using a line width other than 1 has different effects, depending on whether...
glLinkProgram.3G
glLinkProgram links the program object specified by program. If any shader objects of type GL_VERTEX_SHADER are attached to program, they will be used to create...
glListBase.3G
glCallLists() specifies an array of offsets. Display-list names are generated by adding base to each offset. Names that reference valid display lists are...
glLoadIdentity.3G
glLoadIdentity replaces the current matrix with the identity matrix. It is semantically equivalent to calling glLoadMatrix() with the identity matrix 1 0 0 0 0...
glLoadMatrix.3G
glLoadMatrix replaces the current matrix with the one whose elements are specified by m. The current matrix is the projection matrix, modelview matrix, or...
glLoadName.3G
The name stack is used during selection mode to allow sets of rendering commands to be uniquely identified. It consists of an ordered set of unsigned integers...
glLoadTransposeMatrix.3G
glLoadTransposeMatrix replaces the current matrix with the one whose elements are specified by m. The current matrix is the projection matrix, modelview matrix...
gl_LocalInvocationID.3G
in uvec3 gl_LocalInvocationID ;.SH "DESCRIPTION" In the compute language, gl_LocalInvocationID is an input variable containing the n-dimensional index of the...
gl_LocalInvocationIndex.3G
in uint gl_LocalInvocationIndex ;.SH "DESCRIPTION" In the compute language, gl_LocalInvocationIndex is a derived input variable containing the 1-dimensional...
glLogicOp.3G
glLogicOp specifies a logical operation that, when enabled, is applied between the incoming RGBA color and the RGBA color at the corresponding location in the...
glMap1.3G
Evaluators provide a way to use polynomial or rational polynomial mapping to produce vertices, normals, texture coordinates, and colors. The values produced by...
glMap2.3G
Evaluators provide a way to use polynomial or rational polynomial mapping to produce vertices, normals, texture coordinates, and colors. The values produced by...
glMapBuffer.3G
glMapBuffer maps to the client's address space the entire data store of the buffer object currently bound to target. The data can then be directly read and/or...
glMapBufferRange.3G
glMapBufferRange maps all or part of the data store of a buffer object into the client's address space. target specifies the target to which the buffer is bound...
glMapGrid.3G
glMapGrid and glEvalMesh() are used together to efficiently generate and evaluate a series of evenly-spaced map domain values. glEvalMesh() steps through the...
glMaterial.3G
glMaterial assigns values to material parameters. There are two matched sets of material parameters. One, the front-facing set, is used to shade points, lines...
glMatrixMode.3G
glMatrixMode sets the current matrix mode. mode can assume one of four values: GL_MODELVIEW
glMemoryBarrier.3G
glMemoryBarrier defines a barrier ordering the memory transactions issued prior to the command relative to those issued after the barrier. For the purposes of...
glMinmax.3G
When GL_MINMAX is enabled, the RGBA components of incoming pixels are compared to the minimum and maximum values for each component, which are stored in the...
glMinSampleShading.3G
glMinSampleShading specifies the rate at which samples are shaded within a covered pixel. Sample-rate shading is enabled by calling glEnable() with the...
glMultiDrawArrays.3G
glMultiDrawArrays specifies multiple sets of geometric primitives with very few subroutine calls. Instead of calling a GL procedure to pass each individual...
glMultiDrawArraysIndirect.3G
glMultiDrawArraysIndirect specifies multiple geometric primitives with very few subroutine calls. glMultiDrawArraysIndirect behaves similarly to a multitude of...
glMultiDrawElements.3G
glMultiDrawElements specifies multiple sets of geometric primitives with very few subroutine calls. Instead of calling a GL function to pass each individual...
glMultiDrawElementsBaseVertex.3G
glMultiDrawElementsBaseVertex behaves identically to glDrawElementsBaseVertex(), except that drawcount separate lists of elements are specifried instead.
glMultiDrawElementsIndirect.3G
glMultiDrawElementsIndirect specifies multiple indexed geometric primitives with very few subroutine calls. glMultiDrawElementsIndirect behaves similarly to a...
glMultiTexCoord.3G
glMultiTexCoord specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1 sets the current texture coordinates to s 0 0 1; a call...
glMultiTexCoordARB.3G
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0...
glMultMatrix.3G
glMultMatrix multiplies the current matrix with the one specified using m, and replaces the current matrix with the product. The current matrix is determined by...
glMultTransposeMatrix.3G
glMultTransposeMatrix multiplies the current matrix with the one specified using m, and replaces the current matrix with the product. The current matrix is...
glNewList.3G
Display lists are groups of GL commands that have been stored for subsequent execution. Display lists are created with glNewList. All subsequent commands are...
glNormal.3G
The current normal is set to the given coordinates whenever glNormal is issued. Byte, short, or integer arguments are converted to floating-point format with a...
glNormalPointer.3G
glNormalPointer specifies the location and data format of an array of normals to use when rendering. type specifies the data type of each normal coordinate, and...
gl_NumSamples.3G
in bool gl_NumSamples ;.SH "DESCRIPTION" gl_NumSamples is a fragment language input variable that contains the number of samples in the framebuffer, or 1 if...
gl_NumWorkGroups.3G
in uvec3 gl_NumWorkGroups ;.SH "DESCRIPTION" In the compute language, gl_NumWorkGroups contains the total number of work groups that will execute the compute...
glObjectLabel.3G
glObjectLabel labels the object identified by name within the namespace given by identifier. identifier must be one of GL_BUFFER, GL_SHADER, GL_PROGRAM...
glObjectPtrLabel.3G
glObjectPtrLabel labels the sync object identified by ptr. label is the address of a string that will be used to label the object. length contains the number of...
glOrtho.3G
glOrtho describes a transformation that produces a parallel projection. The current matrix (see glMatrixMode()) is multiplied by this matrix and the result...
glPassThrough.3G
Feedback is a GL render mode. The mode is selected by calling glRenderMode() with GL_FEEDBACK. When the GL is in feedback mode, no pixels are produced by...
glPatchParameter.3G
glPatchParameter specifies the parameters that will be used for patch primitives. pname specifies the parameter to modify and must be either GL_PATCH_VERTICES...
gl_PatchVerticesIn.3G
in int gl_PatchVerticesIn ;.SH "DESCRIPTION" Available only in the tessellation control and evaluation languages, gl_PatchVerticesIn contains the number of...
glPauseTransformFeedback.3G
glPauseTransformFeedback pauses transform feedback operations on the currently active transform feedback object. When transform feedback operations are paused...
glPixelMap.3G
glPixelMap sets up translation tables, or maps, used by glCopyPixels(), glCopyTexImage1D(), glCopyTexImage2D(), glCopyTexSubImage1D(), glCopyTexSubImage2D()...
glPixelStore.3G
glPixelStore sets pixel storage modes that affect the operation of subsequent glReadPixels() as well as the unpacking of texture patterns (see glTexImage1D()...
glPixelTransfer.3G
glPixelTransfer sets pixel transfer modes that affect the operation of subsequent glCopyPixels(), glCopyTexImage1D(), glCopyTexImage2D(), glCopyTexSubImage1D()...
glPixelZoom.3G
glPixelZoom specifies values for the x and y zoom factors. During the execution of glDrawPixels() or glCopyPixels(), if (xr, yr) is the current raster position...
gl_PointCoord.3G
in vec2 gl_PointCoord ;.SH "DESCRIPTION" gl_PointCoord is a fragment language input variable that contains the two-dimensional coordinates indicating where...
glPointParameter.3G
The following values are accepted for pname: GL_POINT_FADE_THRESHOLD_SIZE
gl_PointSize.3G
In the vertex, tessellation evaluation and geometry languages, a single global instance of the gl_PerVertex named block is available and its gl_PointSize member...
glPointSize.3G
glPointSize specifies the rasterized diameter of points. If point size mode is disabled (see glEnable() with parameter GL_PROGRAM_POINT_SIZE), this value will...
glPolygonMode.3G
glPolygonMode controls the interpretation of polygons for rasterization. face describes which polygons mode applies to: both front and back-facing polygons...
glPolygonOffset.3G
When GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, or GL_POLYGON_OFFSET_POINT is enabled, each fragment's depth value will be offset after it is interpolated...
glPolygonStipple.3G
Polygon stippling, like line stippling (see glLineStipple()), masks out certain fragments produced by rasterization, creating a pattern. Stippling is...
glPopDebugGroup.3G
glPopDebugGroup pops the active debug group. After popping a debug group, the GL will also generate a debug output message describing its cause based on the...
gl_Position.3G
In the vertex, tessellation evaluation and geometry languages, a single global instance of the gl_PerVertex named block is available and its gl_Position member...
gl_PrimitiveID.3G
gl_PrimitiveID is a tessellation control, tessellation evaluation and fragment language input variable. For the tessellation control and tessellation evaluation...
gl_PrimitiveIDIn.3G
in int gl_PrimitiveIDIn ;.SH "DESCRIPTION" gl_PrimitiveIDIn is a geometry language input variable that holds the number of primitives processed by the shader...
glPrimitiveRestartIndex.3G
glPrimitiveRestartIndex specifies a vertex array element that is treated specially when primitive restarting is enabled. This is known as the primitive restart...
glPrioritizeTextures.3G
glPrioritizeTextures assigns the n texture priorities given in priorities to the n textures named in textures. The GL establishes a “working set” of textures...
glProgramBinary.3G
glProgramBinary loads a program object with a program binary previously returned from glGetProgramBinary(). binaryFormat and binary must be those returned by a...
glProgramParameter.3G
glProgramParameter specifies a new value for the parameter nameed by pname for the program object program. If pname is GL_PROGRAM_BINARY_RETRIEVABLE_HINT, value...
glProgramUniform1f.3G
glProgramUniform modifies the value of a uniform variable or a uniform variable array. The location of the uniform variable to be modified is specified by...
glProvokingVertex.3G
Flatshading a vertex shader varying output means to assign all vetices of the primitive the same value for that output. The vertex from which these values is...
glPushAttrib.3G
glPushAttrib takes one argument, a mask that indicates which groups of state variables to save on the attribute stack. Symbolic constants are used to set bits...
glPushClientAttrib.3G
glPushClientAttrib takes one argument, a mask that indicates which groups of client-state variables to save on the client attribute stack. Symbolic constants...
glPushDebugGroup.3G
glPushDebugGroup pushes a debug group described by the string message into the command stream. The value of id specifies the ID of messages generated. The...
glPushMatrix.3G
There is a stack of matrices for each of the matrix modes. In GL_MODELVIEW mode, the stack depth is at least 32. In the other modes, GL_COLOR, GL_PROJECTION...
glPushName.3G
The name stack is used during selection mode to allow sets of rendering commands to be uniquely identified. It consists of an ordered set of unsigned integers...
glQueryCounter.3G
glQueryCounter causes the GL to record the current time into the query object named id. target must be GL_TIMESTAMP. The time is recorded after all previous...
glRasterPos.3G
The GL maintains a 3D position in window coordinates. This position, called the raster position, is used to position pixel and bitmap write operations. It is...
glReadBuffer.3G
glReadBuffer specifies a color buffer as the source for subsequent glReadPixels(), glCopyTexImage1D(), glCopyTexImage2D(), glCopyTexSubImage1D()...
glReadPixels.3G
glReadPixels returns pixel data from the frame buffer, starting with the pixel whose lower left corner is at location (x, y), into client memory starting at...
glRect.3G
glRect supports efficient specification of rectangles as two corner points. Each rectangle command takes four arguments, organized either as two consecutive...
glReleaseShaderCompiler.3G
glReleaseShaderCompiler provides a hint to the implementation that it may free internal resources associated with its shader compiler. glCompileShader() may...
glRenderbufferStorage.3G
glRenderbufferStorage is equivalent to calling glRenderbufferStorageMultisample() with the samples set to zero. The target of the operation, specified by target...
glRenderbufferStorageMultisample.3G
glRenderbufferStorageMultisample establishes the data storage, format, dimensions and number of samples of a renderbuffer object's image. The target of the...
glRenderMode.3G
glRenderMode sets the rasterization mode. It takes one argument, mode, which can assume one of three predefined values: GL_RENDER
glResetHistogram.3G
glResetHistogram resets all the elements of the current histogram table to zero.
glResetMinmax.3G
glResetMinmax resets the elements of the current minmax table to their initial values: the “maximum” element receives the minimum possible component values, and...
glResumeTransformFeedback.3G
glResumeTransformFeedback resumes transform feedback operations on the currently active transform feedback object. When transform feedback operations are...
glRotate.3G
glRotate produces a rotation of angle degrees around the vector x y z. The current matrix (see glMatrixMode()) is multiplied by a rotation matrix with the...
glSampleCoverage.3G
Multisampling samples a pixel multiple times at various implementation-dependent subpixel locations to generate antialiasing effects. Multisampling...
gl_SampleID.3G
in int gl_SampleID ;.SH "DESCRIPTION" gl_SampleID is a fragment language input variable that contains the index of the sample currently being processed. This...
gl_SampleMask.3G
out int gl_SampleMask[] ;.SH "DESCRIPTION" gl_SampleMask is a fragment language output array that may be used to set the sample mask for the fragment being...
glSampleMaski.3G
glSampleMaski sets one 32-bit sub-word of the multi-word sample mask, GL_SAMPLE_MASK_VALUE. maskIndex specifies which 32-bit sub-word of the sample mask to...
gl_SampleMaskIn.3G
in int gl_SampleMaskIn[] ;.SH "DESCRIPTION" gl_SampleMaskIn is a fragment language that indicates the set of samples covered by the primitive generating the...
gl_SamplePosition.3G
in vec2 gl_SamplePosition ;.SH "DESCRIPTION" gl_SamplePosition is a fragment language input variable that contains the location within a fragment of the sample...
glSamplerParameter.3G
glSamplerParameter assigns the value or values in params to the sampler parameter specified as pname. sampler specifies the sampler object to be modified, and...
glScale.3G
glScale produces a nonuniform scaling along the x, y, and z axes. The three parameters indicate the desired scale factor along each of the three axes. The...
glScissor.3G
glScissor defines a rectangle, called the scissor box, in window coordinates. The first two arguments, x and y, specify the lower left corner of the box. width...
glScissorArray.3G
glScissorArrayv defines rectangles, called scissor boxes, in window coordinates for each viewport. first specifies the index of the first scissor box to modify...
glScissorIndexed.3G
glScissorIndexed defines the scissor box for a specified viewport. index specifies the index of scissor box to modify. index must be less than the value of...
glSecondaryColor.3G
The GL stores both a primary four-valued RGBA color and a secondary four-valued RGBA color (where alpha is always set to 0.0) that is associated with every...
glSecondaryColorPointer.3G
glSecondaryColorPointer specifies the location and data format of an array of color components to use when rendering. size specifies the number of components...
glSelectBuffer.3G
glSelectBuffer has two arguments: buffer is a pointer to an array of unsigned integers, and size indicates the size of the array. buffer returns values from the...
glSeparableFilter2D.3G
glSeparableFilter2D builds a two-dimensional separable convolution filter kernel from two arrays of pixels. The pixel arrays specified by (width, format, type...
glShadeModel.3G
GL primitives can have either flat or smooth shading. Smooth shading, the default, causes the computed colors of vertices to be interpolated as the primitive is...
glShaderBinary.3G
glShaderBinary loads pre-compiled shader binary code into the count shader objects whose handles are given in shaders. binary points to length bytes of binary...
glShaderSource.3G
glShaderSource sets the source code in shader to the source code in the array of strings specified by string. Any source code previously stored in the shader...
glShaderStorageBlockBinding.3G
glShaderStorageBlockBinding, changes the active shader storage block with an assigned index of storageBlockIndex in program object program. storageBlockIndex...
glStencilFunc.3G
Stenciling, like depth-buffering, enables and disables drawing on a per-pixel basis. Stencil planes are first drawn into using GL drawing primitives, then...
glStencilFuncSeparate.3G
Stenciling, like depth-buffering, enables and disables drawing on a per-pixel basis. You draw into the stencil planes using GL drawing primitives, then render...
glStencilMask.3G
glStencilMask controls the writing of individual bits in the stencil planes. The least significant n bits of mask, where n is the number of bits in the stencil...
glStencilMaskSeparate.3G
glStencilMaskSeparate controls the writing of individual bits in the stencil planes. The least significant n bits of mask, where n is the number of bits in the...
glStencilOp.3G
Stenciling, like depth-buffering, enables and disables drawing on a per-pixel basis. You draw into the stencil planes using GL drawing primitives, then render...
glStencilOpSeparate.3G
Stenciling, like depth-buffering, enables and disables drawing on a per-pixel basis. You draw into the stencil planes using GL drawing primitives, then render...
gl_TessCoord.3G
in vec3 gl_TessCoord ;.SH "DESCRIPTION" Available only in the tessellation cevaluation language, gl_TessCoord specifies the three component (u, v, w) vector...
gl_TessLevelInner.3G
Available only in the tessellation control and evaluation languages, gl_TessLevelInner is used to assign values to the corresponding inner tesellation levels of...
gl_TessLevelOuter.3G
Available only in the tessellation control and evaluation languages, gl_TessLevelOuter is used to assign values to the corresponding outer tesellation levels of...
glTexBuffer.3G
glTexBuffer attaches the storage for the buffer object named buffer to the active buffer texture, and specifies the internal format for the texel array found in...
glTexBufferRange.3G
glTexBufferRange attaches the a range of the data store of the buffer object named buffer to the active buffer texture, and specifies the internal format for...
glTexCoord.3G
glTexCoord specifies texture coordinates in one, two, three, or four dimensions. glTexCoord1 sets the current texture coordinates to s 0 0 1; a call to...
glTexCoordPointer.3G
glTexCoordPointer specifies the location and data format of an array of texture coordinates to use when rendering. size specifies the number of coordinates per...
glTexEnv.3G
A texture environment specifies how texture values are interpreted when a fragment is textured. When target is GL_TEXTURE_FILTER_CONTROL, pname must be...
glTexGen.3G
glTexGen selects a texture-coordinate generation function or supplies coefficients for one of the functions. coord names one of the (s, t, r, q) texture...
glTexImage1D.3G
Texturing maps a portion of a specified texture image onto each graphical primitive for which texturing is enabled. To enable and disable one-dimensional...
glTexImage2D.3G
Texturing allows elements of an image array to be read by shaders. To define texture images, call glTexImage2D. The arguments describe the parameters of the...
glTexImage2DMultisample.3G
glTexImage2DMultisample establishes the data storage, format, dimensions and number of samples of a multisample texture's image. target must be...
glTexImage3D.3G
Texturing maps a portion of a specified texture image onto each graphical primitive for which texturing is enabled. To enable and disable three-dimensional...
glTexImage3DMultisample.3G
glTexImage3DMultisample establishes the data storage, format, dimensions and number of samples of a multisample texture's image. target must be...
glTexParameter.3G
glTexParameter assigns the value or values in params to the texture parameter specified as pname. target defines the target texture, either GL_TEXTURE_1D...
glTexStorage1D.3G
glTexStorage1D specifies the storage requirements for all levels of a one-dimensional texture simultaneously. Once a texture is specified with this command, the...
glTexStorage2D.3G
glTexStorage2D specifies the storage requirements for all levels of a two-dimensional texture or one-dimensional texture array simultaneously. Once a texture is...
glTexStorage2DMultisample.3G
glTexStorage2DMultisample specifies the storage requirements for a two-dimensional multisample texture. Once a texture is specified with this command, its...
glTexStorage3D.3G
glTexStorage3D specifies the storage requirements for all levels of a three-dimensional, two-dimensional array or cube-map array texture simultaneously. Once a...
glTexStorage3DMultisample.3G
glTexStorage3DMultisample specifies the storage requirements for a two-dimensional multisample array texture. Once a texture is specified with this command, its...
glTexSubImage1D.3G
Texturing maps a portion of a specified texture image onto each graphical primitive for which texturing is enabled. To enable or disable one-dimensional...
glTexSubImage2D.3G
Texturing maps a portion of a specified texture image onto each graphical primitive for which texturing is enabled. glTexSubImage2D redefines a contiguous...
glTexSubImage3D.3G
Texturing maps a portion of a specified texture image onto each graphical primitive for which texturing is enabled. glTexSubImage3D redefines a contiguous...
glTextureView.3G
glTextureView initializes a texture object as an alias, or view of another texture object, sharing some or all of the parent texture's data store with the...
glTransformFeedbackVaryings.3G
The names of the vertex or geometry shader outputs to be recorded in transform feedback mode are specified using glTransformFeedbackVaryings. When a geometry...
glTranslate.3G
glTranslate produces a translation by x y z. The current matrix (see glMatrixMode()) is multiplied by this translation matrix, with the product replacing the...
gluBeginCurve.3G
Use gluBeginCurve to mark the beginning of a NURBS curve definition. After calling gluBeginCurve, make one or more calls to gluNurbsCurve() to define the...
gluBeginPolygon.3G
gluBeginPolygon and gluEndPolygon() delimit the definition of a nonconvex polygon. To define such a polygon, first call gluBeginPolygon. Then define the...
gluBeginSurface.3G
Use gluBeginSurface to mark the beginning of a NURBS surface definition. After calling gluBeginSurface, make one or more calls to gluNurbsSurface() to define...
gluBeginTrim.3G
Use gluBeginTrim to mark the beginning of a trimming loop and gluEndTrim() to mark the end of a trimming loop. A trimming loop is a set of oriented curve...
gluBuild1DMipmapLevels.3G
gluBuild1DMipmapLevels builds a subset of prefiltered one-dimensional texture maps of decreasing resolutions called a mipmap. This is used for the antialiasing...
gluBuild1DMipmaps.3G
gluBuild1DMipmaps builds a series of prefiltered one-dimensional texture maps of decreasing resolutions called a mipmap. This is used for the antialiasing of...
gluBuild2DMipmapLevels.3G
gluBuild2DMipmapLevels builds a subset of prefiltered two-dimensional texture maps of decreasing resolutions called a mipmap. This is used for the antialiasing...
gluBuild2DMipmaps.3G
gluBuild2DMipmaps builds a series of prefiltered two-dimensional texture maps of decreasing resolutions called a mipmap. This is used for the antialiasing of...
gluBuild3DMipmapLevels.3G
gluBuild3DMipmapLevels builds a subset of prefiltered three-dimensional texture maps of decreasing resolutions called a mipmap. This is used for the...
gluBuild3DMipmaps.3G
gluBuild3DMipmaps builds a series of prefiltered three-dimensional texture maps of decreasing resolutions called a mipmap. This is used for the antialiasing of...
gluCheckExtension.3G
gluCheckExtension returns GLU_TRUE if extName is supported otherwise GLU_FALSE is returned. This is used to check for the presence for OpenGL, GLU, or GLX...
gluCylinder.3G
gluCylinder draws a cylinder oriented along the z axis. The base of the cylinder is placed at z = 0 and the top at z = height. Like a sphere, a cylinder is...
gluDeleteNurbsRenderer.3G
gluDeleteNurbsRenderer destroys the NURBS object (which was created with gluNewNurbsRenderer()) and frees any memory it uses. Once gluDeleteNurbsRenderer has...
gluDeleteQuadric.3G
gluDeleteQuadric destroys the quadrics object (created with gluNewQuadric()) and frees any memory it uses. Once gluDeleteQuadric has been called, quad cannot be...
gluDeleteTess.3G
gluDeleteTess destroys the indicated tessellation object (which was created with gluNewTess()) and frees any memory that it used.
gluDisk.3G
gluDisk renders a disk on the z = 0 plane. The disk has a radius of outer and contains a concentric circular hole with a radius of inner. If inner is 0, then no...
gluErrorString.3G
gluErrorString produces an error string from a GL or GLU error code. The string is in ISO Latin 1 format. For example, gluErrorString(GLU_OUT_OF_MEMORY) returns...
gluGetNurbsProperty.3G
gluGetNurbsProperty retrieves properties stored in a NURBS object. These properties affect the way that NURBS curves and surfaces are rendered. See the...
gluGetString.3G
gluGetString returns a pointer to a static string describing the GLU version or the GLU extensions that are supported. The version number is one of the...
gluGetTessProperty.3G
gluGetTessProperty retrieves properties stored in a tessellation object. These properties affect the way that tessellation objects are interpreted and rendered...
gluLoadSamplingMatrices.3G
gluLoadSamplingMatrices uses model, perspective, and view to recompute the sampling and culling matrices stored in nurb. The sampling matrix determines how...
gluLookAt.3G
gluLookAt creates a viewing matrix derived from an eye point, a reference point indicating the center of the scene, and an UP vector. The matrix maps the...
gluNewNurbsRenderer.3G
gluNewNurbsRenderer creates and returns a pointer to a new NURBS object. This object must be referred to when calling NURBS rendering and control functions. A...
gluNewQuadric.3G
gluNewQuadric creates and returns a pointer to a new quadrics object. This object must be referred to when calling quadrics rendering and control functions. A...
gluNewTess.3G
gluNewTess creates and returns a pointer to a new tessellation object. This object must be referred to when calling tessellation functions. A return value of 0...
gluNextContour.3G
gluNextContour is used in describing polygons with multiple contours. After the first contour has been described through a series of gluTessVertex() calls, a...
glUniform1f.3G
glUniform modifies the value of a uniform variable or a uniform variable array. The location of the uniform variable to be modified is specified by location...
glUniformBlockBinding.3G
Binding points for active uniform blocks are assigned using glUniformBlockBinding. Each of a program's active uniform blocks has a corresponding uniform buffer...
glUniformSubroutines.3G
glUniformSubroutines loads all active subroutine uniforms for shader stage shadertype of the current program with subroutine indices from indices, storing...
gluNurbsCallback.3G
gluNurbsCallback is used to define a callback to be used by a NURBS object. If the specified callback is already defined, then it is replaced. If CallBackFunc...
gluNurbsCallbackData.3G
gluNurbsCallbackData is used to pass a pointer to the application's data to NURBS tessellator. A copy of this pointer will be passed by the tessellator in the...
gluNurbsCallbackDataEXT.3G
gluNurbsCallbackDataEXT is used to pass a pointer to the application's data to NURBS tessellator. A copy of this pointer will be passed by the tessellator in...
gluNurbsCurve.3G
Use gluNurbsCurve to describe a NURBS curve. When gluNurbsCurve appears between a gluBeginCurve()/gluEndCurve() pair, it is used to describe a curve to be...
gluNurbsProperty.3G
gluNurbsProperty is used to control properties stored in a NURBS object. These properties affect the way that a NURBS curve is rendered. The accepted values for...
gluNurbsSurface.3G
Use gluNurbsSurface within a NURBS (Non-Uniform Rational B-Spline) surface definition to describe the shape of a NURBS surface (before any trimming). To mark...
gluOrtho2D.3G
gluOrtho2D sets up a two-dimensional orthographic viewing region. This is equivalent to calling glOrtho() with near = -1 and far = 1.
gluPartialDisk.3G
gluPartialDisk renders a partial disk on the z = 0 plane. A partial disk is similar to a full disk, except that only the subset of the disk from start through...
gluPerspective.3G
gluPerspective specifies a viewing frustum into the world coordinate system. In general, the aspect ratio in gluPerspective should match the aspect ratio of the...
gluPickMatrix.3G
gluPickMatrix creates a projection matrix that can be used to restrict drawing to a small region of the viewport. This is typically useful to determine what...
gluProject.3G
gluProject transforms the specified object coordinates into window coordinates using model, proj, and view. The result is stored in winX, winY, and winZ. A...
gluPwlCurve.3G
gluPwlCurve describes a piecewise linear trimming curve for a NURBS surface. A piecewise linear curve consists of a list of coordinates of points in the...
gluQuadricCallback.3G
gluQuadricCallback is used to define a new callback to be used by a quadrics object. If the specified callback is already defined, then it is replaced. If...
gluQuadricDrawStyle.3G
gluQuadricDrawStyle specifies the draw style for quadrics rendered with quad. The legal values are as follows: GLU_FILL
gluQuadricNormals.3G
gluQuadricNormals specifies what kind of normals are desired for quadrics rendered with quad. The legal values are as follows: GLU_NONE
gluQuadricOrientation.3G
gluQuadricOrientation specifies what kind of orientation is desired for quadrics rendered with quad. The orientation values are as follows: GLU_OUTSIDE
gluQuadricTexture.3G
gluQuadricTexture specifies if texture coordinates should be generated for quadrics rendered with quad. If the value of texture is GLU_TRUE, then texture...
gluScaleImage.3G
gluScaleImage scales a pixel image using the appropriate pixel store modes to unpack data from the source image and pack data into the destination image. When...
glUseProgram.3G
glUseProgram installs the program object specified by program as part of current rendering state. One or more executables are created in a program object by...
glUseProgramStages.3G
glUseProgramStages binds executables from a program object associated with a specified set of shader stages to the program pipeline object given by pipeline...
gluSphere.3G
gluSphere draws a sphere of the given radius centered around the origin. The sphere is subdivided around the z axis into slices and along the z axis into stacks...
gluTessBeginContour.3G
gluTessBeginContour and gluTessEndContour() delimit the definition of a polygon contour. Within each gluTessBeginContour/gluTessEndContour() pair, there can be...
gluTessBeginPolygon.3G
gluTessBeginPolygon and gluTessEndPolygon() delimit the definition of a convex, concave or self-intersecting polygon. Within each...
gluTessCallback.3G
gluTessCallback is used to indicate a callback to be used by a tessellation object. If the specified callback is already defined, then it is replaced. If...
gluTessEndPolygon.3G
gluTessBeginPolygon() and gluTessEndPolygon delimit the definition of a convex, concave, or self-intersecting polygon. Within each...
gluTessNormal.3G
gluTessNormal describes a normal for a polygon that the program is defining. All input data will be projected onto a plane perpendicular to one of the three...
gluTessProperty.3G
gluTessProperty is used to control properties stored in a tessellation object. These properties affect the way that the polygons are interpreted and rendered...
gluTessVertex.3G
gluTessVertex describes a vertex on a polygon that the program defines. Successive gluTessVertex calls describe a closed contour. For example, to describe a...
gluUnProject.3G
gluUnProject maps the specified window coordinates into object coordinates using model, proj, and view. The result is stored in objX, objY, and objZ. A return...
gluUnProject4.3G
gluUnProject4 maps the specified window coordinatesi: winX, winY, and winZ and its clip w coordinate clipW into object coordinates objX objY objZ objW using...
glValidateProgram.3G
glValidateProgram checks to see whether the executables contained in program can execute given the current OpenGL state. The information generated by the...
glValidateProgramPipeline.3G
glValidateProgramPipeline instructs the implementation to validate the shader executables contained in pipeline against the current GL state. The implementation...
glVertex.3G
glVertex commands are used within glBegin()/glEnd() pairs to specify point, line, and polygon vertices. The current color, normal, texture coordinates, and fog...
glVertexAttrib.3G
The glVertexAttrib family of entry points allows an application to pass generic vertex attributes in numbered locations. Generic attributes are defined as...
glVertexAttribBinding.3G
glVertexAttribBinding, establishes an association between the generic vertex attribute whose index is given by attribindex and a vertex buffer binding whose...
glVertexAttribDivisor.3G
glVertexAttribDivisor modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives in a single draw call. If...
glVertexAttribFormat.3G
glVertexAttribFormat, glVertexAttribIFormat and glVertexAttribLFormat specify the organization of data in vertex arrays. attribindex specifies the index of the...
glVertexAttribPointer.3G
glVertexAttribPointer, glVertexAttribIPointer and glVertexAttribLPointer specify the location and data format of the array of generic vertex attributes at index...
glVertexBindingDivisor.3G
glVertexBindingDivisor, modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives in a single draw command...
gl_VertexID.3G
in int gl_VertexID ;.SH "DESCRIPTION" gl_VertexID is a vertex language input variable that holds an integer index for the vertex. The index is impliclty...
glVertexPointer.3G
glVertexPointer specifies the location and data format of an array of vertex coordinates to use when rendering. size specifies the number of coordinates per...
glViewport.3G
glViewport specifies the affine transformation of x and y from normalized device coordinates to window coordinates. Let x nd y nd be normalized device...
glViewportArray.3G
glViewportArrayv specifies the parameters for multiple viewports simulataneously. first specifies the index of the first viewport to modify and count specifies...
gl_ViewportIndex.3G
In the geometry language, gl_ViewportIndex is used to specify the index of the viewport to which the next primitive emitted from the shader should be drawn...
glViewportIndexed.3G
glViewportIndexedf and glViewportIndexedfv specify the parameters for a single viewport. index specifies the index of the viewport to modify. index must be less...
glWaitSync.3G
glWaitSync causes the GL server to block and wait until sync becomes signaled. sync is the name of an existing sync object upon which to wait. flags and timeout...
glWindowPos.3G
The GL maintains a 3D position in window coordinates. This position, called the raster position, is used to position pixel and bitmap write operations. It is...
gl_WorkGroupID.3G
in uvec3 gl_WorkGroupID ;.SH "DESCRIPTION" In the compute language, gl_WorkGroupID contains the 3-dimensional index of the global work group that the current...
gl_WorkGroupSize.3G
const uvec3 gl_WorkGroupSize ;.SH "DESCRIPTION" In the compute language, gl_WorkGroupSize contains the size of a workgroup declared by a compute shader. The...
glXChooseFBConfig.3G
glXChooseFBConfig returns GLX frame buffer configurations that match the attributes specified in attrib_list, or NULL if no matches are found. If attrib_list is...
glXChooseVisual.3G
glXChooseVisual returns a pointer to an XVisualInfo structure describing the visual that best meets a minimum specification. The boolean GLX attributes of the...
glXCopyContext.3G
glXCopyContext copies selected groups of state variables from src to dst. mask indicates which groups of state variables are to be copied. mask contains the...
glXCreateContext.3G
glXCreateContext creates a GLX rendering context and returns its handle. This context can be used to render into both windows and GLX pixmaps. If...
glXCreateGLXPixmap.3G
glXCreateGLXPixmap creates an off-screen rendering area and returns its XID. Any GLX rendering context that was created with respect to vis can be used to...
glXCreateNewContext.3G
glXCreateNewContext creates a GLX rendering context and returns its handle. This context can be used to render into GLX windows, pixmaps, or pixel buffers. If...
glXCreatePbuffer.3G
glXCreatePbuffer creates an off-screen rendering area and returns its XID. Any GLX rendering context that was created with respect to config can be used to...
glXCreatePixmap.3G
glXCreatePixmap creates an off-screen rendering area and returns its XID. Any GLX rendering context that was created with respect to config can be used to...
glXCreateWindow.3G
glXCreateWindow creates an on-screen rendering area from an existing X window that was created with a visual matching config. The XID of the GLXWindow is...
glXDestroyContext.3G
If the GLX rendering context ctx is not current to any thread, glXDestroyContext destroys it immediately. Otherwise, ctx is destroyed when it becomes not...
glXDestroyGLXPixmap.3G
If the GLX pixmap pix is not current to any client, glXDestroyGLXPixmap destroys it immediately. Otherwise, pix is destroyed when it becomes not current to any...
glXDestroyPbuffer.3G
glXDestroyPbuffer destroys a GLXPbuffer created by glXCreatePbuffer().
glXDestroyPixmap.3G
glXDestroyPixmap destroys a GLXPixmap created by glXCreatePixmap().
glXDestroyWindow.3G
glXDestroyWindow destroys a GLXWindow created by glXCreateWindow().
glXFreeContextEXT.3G
glXFreeContextEXT frees the client-side part of a GLXContext that was created with glXImportContextEXT(). glXFreeContextEXT does not free the server-side...
glXGetClientString.3G
glXGetClientString returns a string describing some aspect of the client library. The possible values for name are GLX_VENDOR, GLX_VERSION, and GLX_EXTENSIONS...
glXGetConfig.3G
glXGetConfig sets value to the attrib value of windows or GLX pixmaps created with respect to vis. glXGetConfig returns an error code if it fails for any...
glXGetContextIDEXT.3G
glXGetContextIDEXT returns the XID associated with a GLXContext. No round trip is forced to the server; unlike most X calls that return a value...
glXGetCurrentContext.3G
glXGetCurrentContext returns the current context, as specified by glXMakeCurrent(). If there is no current context, NULL is returned. glXGetCurrentContext...
glXGetCurrentDisplay.3G
glXGetCurrentDisplay returns the display for the current context. If no context is current, NULL is returned. glXGetCurrentDisplay returns client-side...
glXGetCurrentDrawable.3G
glXGetCurrentDrawable returns the current drawable, as specified by glXMakeCurrent(). If there is no current drawable, None is returned. glXGetCurrentDrawable...
glXGetCurrentReadDrawable.3G
glXGetCurrentReadDrawable returns the current read drawable, as specified by read parameter of glXMakeContextCurrent(). If there is no current drawable, None is...
glXGetFBConfigAttrib.3G
glXGetFBConfigAttrib sets value to the attribute value of GLX drawables created with respect to config. glXGetFBConfigAttrib returns an error code if it fails...
glXGetFBConfigs.3G
glXGetFBConfigs returns a list of all GLXFBConfigs available on the screen specified by screen. Use glXGetFBConfigAttrib() to obtain attribute values from a...
glXGetProcAddress.3G
glXGetProcAddress returns the address of the function specified in procName. This is necessary in environments where the OpenGL link library exports a different...
glXGetSelectedEvent.3G
glXGetSelectedEvent returns in event_mask the events selected for draw.
glXGetVisualFromFBConfig.3G
If config is a valid GLX frame buffer configuration and it has an associated X Visual, then information describing that visual is returned; otherwise NULL is...
glXImportContextEXT.3G
glXImportContextEXT creates a GLXContext given the XID of an existing GLXContext. It may be used in place of glXCreateContext(), to share another process's...
glXIntro.3G
OpenGL (called GL in other pages) is a high-performance 3D-oriented renderer. It is available in the X window system through the GLX extension. To determine...
glXIsDirect.3G
glXIsDirect returns True if ctx is a direct rendering context, False otherwise. Direct rendering contexts pass rendering commands directly from the calling...
glXMakeContextCurrent.3G
glXMakeContextCurrent binds ctx to the current rendering thread and to the draw and read GLX drawables. draw and read may be the same. draw is used for all...
glXMakeCurrent.3G
glXMakeCurrent does two things: It makes ctx the current GLX rendering context of the calling thread, replacing the previously current context if there was one...
glXQueryContext.3G
glXQueryContext sets value to the value of attribute with respect to ctx. attribute may be one of the following: GLX_FBCONFIG_ID
glXQueryContextInfoEXT.3G
glXQueryContextInfoEXT sets value to the value of attribute with respect to ctx. glXQueryContextInfoEXT returns an error code if it fails for any reason...
glXQueryDrawable.3G
glXQueryDrawable sets value to the value of attribute with respect to the GLXDrawable draw. attribute may be one of the following: GLX_WIDTH
glXQueryExtension.3G
glXQueryExtension returns True if the X server of connection dpy supports the GLX extension, False otherwise. If True is returned, then errorBase and eventBase...
glXQueryExtensionsString.3G
glXQueryExtensionsString returns a pointer to a string describing which GLX extensions are supported on the connection. The string is null-terminated and...
glXQueryServerString.3G
glXQueryServerString returns a pointer to a static, null-terminated string describing some aspect of the server's GLX extension. The possible values for name...
glXQueryVersion.3G
glXQueryVersion returns the major and minor version numbers of the GLX extension implemented by the server associated with connection dpy. Implementations with...
glXSelectEvent.3G
glXSelectEvent sets the GLX event mask for a GLX pixel buffer or a window. Calling glXSelectEvent overrides any previous event mask that was set by the client...
glXSwapBuffers.3G
glXSwapBuffers promotes the contents of the back buffer of drawable to become the contents of the front buffer of drawable. The contents of the back buffer then...
glXUseXFont.3G
glXUseXFont generates count display lists, named listBase through listBase + count - 1, each containing a single glBitmap() command. The parameters of the...
glXWaitGL.3G
GL rendering calls made prior to glXWaitGL are guaranteed to be executed before X rendering calls made after glXWaitGL. Although this same result can be...
glXWaitX.3G
X rendering calls made prior to glXWaitX are guaranteed to be executed before GL rendering calls made after glXWaitX. Although the same result can be achieved...