OpenGL library function list OpenGL core function library

Source: Internet
Author: User

Glaccum operation accumulation Buffer
Gladdswaphintrectwin defines a group of triangles copied by swapbuffers.
Glalphafunc allows Alpha Detection
Glaretexturesresident determines whether a specific texture object is resident in the texture memory.
Glarrayelement defines an array component used for vertex Rendering
Glbegin, glend defines one or a group of original vertices
Glbindtexture allows you to create a named texture bound to the target texture.
Glbitmap draws a bitmap
Glblendfunc special pixel Algorithm
Glcalllist: execute a display list
Glcalllists executes a column to display the list
Glclear clears the buffer with the current value
Glclearaccum specifies the value to be cleared for the accumulated buffer.
Glclearcolor specifies the value to be cleared for the color buffer.
Glcleardepth specifies the value to be cleared for the depth buffer.
Glclearstencel specifies the value to be cleared for the template buffer.
Glclipplane defines a plane ry to be cropped.
Glcolor sets the current color
Glcolormask allows or does not allow color component frame buffer writing
Glcolormaterial points a material color to the current color
Glcolorpointer defines a color Column
Glcolortableext defines the format and size of a palette texture for the target.
Part of the glcolorsubtableext definition target texture palette is replaced
Glcopypixels copies the pixels in the frame buffer.
Glcopyteximage1d copies pixels from the frame buffer to a single-space texture image.
Glcopyteximage2d copies pixels from the frame buffer to a dual-space texture image.
Glcopytexsubimage1d copies a single-space texture sub-image from the frame buffer
Glcopytexsubimage2d copies a dual-space texture sub-image from the frame buffer
Glcullface defines whether the front or back can be selected
Gldeletelists deletes a list of adjacent groups.
Gldeletetextures Delete the named texture
Gldepthfunc defines the data used for deep buffer comparison
Gldepthmask allows or does not allow deep buffer writing
Gldepthrange defines the Z value from the standard device coordinate ing to the window Coordinate
Gldrawarrays defines rendering of Multiple Elements
Gldrawbuffer defines which color buffer is drawn
Gldrawelements renders elements in the array data
Gldrawpixels writes a set of pixels to the frame buffer.
Gledgeflag defines an edge flag Array
Gledgeflagpointer defines an array of edge signs
Glenable and gldisable enable or disable the special functions of OpenGL
Glableclientstate and gldisableclientstate open or close arrays respectively
Glevalcoord solves one-dimension and two-dimensional textures
Glevalmesh1, glevalmesh2 solves one-dimensional and two-dimensional point or line Mesh
Glevalpoint1 and glevalpoint2 generate and solve single points in a grid
Glfeedbackbuffer control feedback mode
Glfinish waits until OpenGL execution ends.
Glflush enforces OpenGL execution within a limited period of time
Glfogf, glfogi, glfogfv, and glfogiv define fog Parameters
Glfrontface defines the front and back of a polygon.
Glfrustum current matrix multiplied by perspective Matrix
Glgenlists generates a group of empty continuous display lists.
Glgentextures generate texture name
Glgetbooleanv, glgetdoublev, glgetfloatv, glgetintegerv return values or the selected parameter values
Glgetclipplane returns the coefficient of a specific cut surface
Glgetcolortableext obtains the color table data from the current target texture palette.
Glgetcolortableparameterfvext and glgetcolortableparameterivext obtain the color palette parameters from the color table.
Glgeterror returns an error message
Glgetlightfv, glgetlightiv return the parameter value of the light source.
Glgetmapdv, glgetmapfv, and glgetmapiv return the evaluate program parameters.
Glgetmaterialfv, glgetmaterialiv return material parameters
Glgetpixelmapfv, glgetpixelmapuiv, glgetpixelmapusv return a specific pixel chart
Glgetpointerv returns the address of the vertex data array
Glgetpolygonstipple returns the dot pattern of a polygon.
Glgetstring returns the string describing the current OpenGL connection
Glgettexenvfv returns texture environment parameters
Glgettexgendv, glgettexgenfv, and glgettexgeniv return the texture coordinate generation parameter.
Glgetteximage returns a texture image
Glgettexlevelparameterfv and glgettexlevelparameteriv return the level of detail for specific texture parameters
Glgettexparameterfv, glgettexparameteriv return the texture parameter value
Special clues about glhint definition implementation
Glindex creates the current color index
Glindexmask controls the individual bits in the write color index Buffer
Glindexpointer defines a color index array
Glinitname initialize name Stack
Glinterleavedarrays simultaneously defines and allows several alternate arrays in a large array set
Glisenabled defines whether performance is allowed
Glislist
Glistexture determines that a name corresponds to a texture
Gllightf, gllighti, gllightfv, and gllightiv set light source parameters
Gllightmodelf, gllightmodeli, gllightmodelfv, and gllightmodeliv
Gllinestipple
Gllinewidth: Set the width of the grating line segment.
Gllistbase sets the basis for the display list for glcalllist
Glloadidentity replaces the current matrix with a constant matrix
Glloadmatrixd and glloadmatrif Replace the current matrix with an arbitrary matrix
Glloadname calls a name to the name Stack
Gllogicop defines a logical pixel operation for color index Rendering
Glmap1d and glmap1f define a one-dimensional evaluate Program
Glmap2d and glmap2f define a two-dimensional evaluate Program
Glmapgrid1d, glmapgrid1f, glmapgrid2d, and glmapgrid2f define a one-or two-dimensional grid.
Glmaterialf, glmateriali, glmateriafv, and glmaterialiv define the material parameters for the illumination model.
Glmatrixmode defines which matrix is the current matrix.
Glmultmatrixd and glmultmatrixf are multiplied by the current matrix and any matrix.
Glnewlist and gldlist create or replace a display list
Glnormal sets the normal direction of the current vertex
Glnormalpointer sets a forward array
Glortho multiply the vertical matrix with the current Matrix
Glpassthrough marks in the feedback Buffer
Glpixelmapfv, glpixelmapuiv, and glpixelmapusv
Glpixelstoref and glpixelstorei set the pixel storage mode
Glpixeltransferf and glpixeltransferi set the pixel storage mode
Glpixelzoom sets the pixel zoom factor.
Glpointsize: Set the diameter of the grating.
Glpolygonmode: select the grating mode of a polygon.
Glpolygonoffset: sets the ratio and unit of OpenGL used to calculate the depth value.
Glpolygonstipple: Set the polygon Pattern
Glprioritizetextures sets a fixed texture priority.
Glpushattrib, glpopattrib attribute stack push and pop-up operations
Glpushclientattrib, glpopclientattrib in customer attribute stack storage and restore customer status value
Glpushmatrix and glpopmatrix
Glpushname, glpopname, and stack push and pop-up operations
Glrasterpos defines the position of the grating for Pixel operations
Glreadbuffer selects a source color buffer for pixels
Glreadpixels reads a set of data from the frame buffer
Glrectd, glrectf, glrecti, glrects, glrectdv, glrectfv, glrectiv, glrectsv draw a triangle
Glrendermode defines the grating Mode
Glrotated and glrotatef multiply the rotation matrix by the current Matrix
Glscaled and glscalef multiply the General proportional matrix by the current Matrix
Glscissor definition drop box
Glselectbuffer creates a buffer for the selected mode Value
Glshademodel: Straight or smooth coloring
Glstencilfunc sets the function and reference value for the template test.
Glstencilmask controls the writing of separate bits on the template
Test the activation mode of glstencilop settings
Gltexcoord sets the coordinates of the current texture
Gltexcoordpointer defines a texture coordinate Array
Gltexenvf, gltexenvi, gltexenvfv, and gltexenviv set texture coordinate Environment Parameters
Gltexgend, gltexgenf, gltexgendv, gltexgenfv, and gltexgeniv control texture coordinate generation
Glteximage1d defines a one-dimensional texture image
Glteximage2d defines a two-dimensional texture map
Set the texture parameters for gltexparameterf, gltexparameteri, gltexparameterfv, and gltexparameteriv.
Gltexsubimage1d defines a part of an existing one-dimensional texture image, but cannot define a new texture
Gltexsubimage2d defines an existing part of a two-dimensional texture image, but does not define a new texture
Gltranslated and gltranslatef multiply the transformation matrix by the current Matrix
Glvertex defines a vertex
Glvertexpointer sets a vertex data array
Glviewport setting window

[OpenGL application function library]
Glubegincurve and gluendcurve define a different and rational curve.
Glubeginpolygon, gluendpolygon defines a non-Convex Polygon
Glubeginsurface, gluendsurface, defines a curve
Glubegintrim and gluendtrim define a division cycle
Glubuild1dmipmaps
Glubuild2dmipmaps
Glucylinder draws a cylindrical
Gludeletenurbsrenderer
Gludelequadric: deletes a Quadratic Surface object.
Gludeletetess deletes an embedded object
Gludisk draws a plate
Gluerrorstring generate an error string based on OpenGL or Glu error code
Glugetnutbsproperty
Glugetstring gets a string that describes the version number of the Glu or supports calling the Glu extension.
Glugettessproperty gets an embedded object.
Gluloadsamplingmatrices: numrbs loading example and selection Matrix
Glulookat sets a Viewpoint Change.
Glunewnurbsrenderer: Creates a green data table.
Glunewquadric creates a Quadratic Surface object
Glunewtess creates an embedded object
Glunextcontour marks the beginning of other outlines
Glunurbscallback
Glunnrbscurve is used to set the shape of a curve.
Glunurbsproperty
Glunurbssurface is used to define the shape of a green surface.
Gluortho2d defines a two-digit orthogonal projection matrix
Glupartialdisk draws the arc of a plate
Gluperspective sets a Perspective Projection Matrix
Glupickmatrix defines a pick Interval
Gluproject maps object coordinates to window coordinates
Glupwlcurve describe a piecewise linear curve based on a curve
Gluquadriccallback defines a callback for a Quadratic Surface object
Gluquadricdrawstyle
Gluquadricnormals defines the type of normal direction used by the Quadratic Surface
Gluquadricorientation defines the internal or external direction of the Quadratic Surface
Gluquadrictexture defines whether a texture post graph with a secondary Surface
Gluscaleimage converts an image to any size
Glusphere draws a sphere
Glutessbegincontour and glutessendcontour define a boundary Description
Glutessbeginpolygon and glutessendpolygon define a polygon description
Glutesscallback defines a callback for the embedded object
Glutessnormal is a multilateral line-shaped definition method
Glutessproperty
Glutessvertex defines the vertex on a polygon.
Gluunproject maps window coordinates to object coordinates

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.