OpenGL common functions

Source: Internet
Author: User

Glaccum Operation Additive Buffers

Gladdswaphintrectwin defines a set of

Swapbuffers copy of the triangle

Glalphafunc allow the alpha detection function to be set

Glaretexturesresident determines whether a particular texture object resides in texture memory

Glarrayelement defines an array component that is used for vertex rendering

Glbegin,glend define one or a set of original vertices

Glbindtexture allows you to create a named texture that is bound to the target texture

Glbitmap drawing a bitmap

Glblendfunc Special pixel algorithm

Glcalllist Performing a display list

Glcalllists performing a list of displayed columns

Glclear clearing buffers with current values

GLCLEARACCUM Specifies the value to be cleared for the cumulative buffer

GLCLEARCOLOR specifies a value for the color buffer to use for purging

GLCLEARDEPTH specifies a value for the depth buffer for purging

Glclearstencil specifying a value for the template buffer for purging

Glclipplane defines a planar geometry that is clipped

Glcolor Setting the current color

Glcolormask allow or disallow write color component frame buffers

Glcolormaterial make a material color point to the current color

Glcolorpointer defining a column of colors

Glcolortableext defines the format and size of the palette for the purpose of a palette texture

Glcolorsubtableext a part of the palette that defines the destination texture is replaced

Glcopypixels pixels in the copy frame buffer

glcopyteximage1d copying pixels from a frame buffer into a single-space texture image

Glcopyteximage2d copying pixels from the frame buffer to a two-dimensional texture map

GLCOPYTEXSUBIMAGE1D Copy a sub-image of a single-space texture from the frame buffer

Glcopytexsubimage2d Copying a sub-image of a two-dimensional texture from a frame buffer

Glcullface defines whether front or back can be selected

Gldeletelists Delete an adjacent set of display lists

Gldeletetextures Delete a named texture

Gldepthfunc defining data for deep buffer comparisons

Gldepthmask allows or does not allow write depth buffers

Gldepthrange define Z-values to map from standard device coordinates to window coordinates

Gldrawarrays definition renders multiple elements

Gldrawbuffer defines which color buffer is selected to be drawn

Gldrawelements rendering elements in array data

Gldrawpixels writes a group of pixels to the frame buffer

Gledgeflag defines an array of edge flags

Gledgeflagpointer defines an array of edge flags

Glenable, gldisable turn on or off OpenGL special features

Glenableclientstate,gldisableclientstate opening or closing an array, respectively

Glevalcoord solving one-and two-dimensional maps

GLEVALMESH1,GLEVALMESH2 solving grids of one-and two-dimensional points or lines

Glevalpoint1,glevalpoint2 Generating and solving a single point in a grid

Glfeedbackbuffer Control Feedback Mode

Glfinish wait until OpenGL execution ends

Glflush forcing OpenGL execution for a limited time

Glfogf,glfogi,glfogfv,glfogiv Defining Fog Parameters

Glfrontface defining the front and back of a polygon

Glfrustum current matrix multiply on perspective matrix

Glgenlists generating a set of empty, contiguous display lists

Glgentextures Generating a texture name

Glgetbooleanv,glgetdoublev,glgetfloatv,glgetintegerv return value or selected parameter value

Glgetclipplane returns the coefficient of a specific cut surface

Glgetcolortableext to get color table data from the current target texture palette

Glgetcolortableparameterfvext,glgetcolortableparameterivext to get palette parameters from the color table

Glgeterror return error message

Glgetlightfv,glgetlightiv return Light parameter values

GLGETMAPDV,GLGETMAPFV,GLGETMAPIV Return Evaluation Program parameters

Glgetmaterialfv,glgetmaterialiv Return Material parameters

GLGETPIXELMAPFV,GLGETPIXELMAPUIV,GLGETPIXELMAPUSV return a specific pixel graph

Glgetpointerv returns the address of the vertex data array

Glgetpolygonstipple returns the dot pattern of the polygon

Glgetstring returns a string describing the current OpenGL connection

GLGETTEXENVFV Return Texture Environment parameters

Glgettexgendv,glgettexgenfv,glgettexgeniv return texture coordinate generation parameters

Glgetteximage returns a texture image

Glgettexlevelparameterfv,glgettexlevelparameteriv returns the level of detail for a specific texture parameter

GLGETTEXPARAMETERFV,GLGETTEXPARAMETERIV return Texture parameter values

Glhint definition to implement special clues

Glindex creating the current color index

Glindexmask Control writes the individual bits in the color index buffer

Glindexpointer Defining a color index array

Glinitname Initializing the name stack

Glinterleavedarrays also defines and allows several alternating arrays in a large array of arrays

Glisenabled defines whether performance is allowed

Glislist detecting the presence of a display list

Glistexture determine a name that corresponds to a texture

Gllightf,gllighti,gllightfv,gllightiv Setting the light source parameters

Gllightmodelf,gllightmodeli,gllightmodelfv,gllightmodeliv setting Ray model parameters

Gllinestipple set line point drawing case

Gllinewidth Setting the width of the grating segment

Gllistbase setting the base of the display list for glcalllist

Glloadidentity replacing the current matrix with an identity matrix

Glloadmatrixd,glloadmatrif Replace the current matrix with an arbitrary matrix

Glloadname a name into the name stack

Gllogicop defining a logical pixel operation for color index rendering

GLMAP1D,GLMAP1F define a one-dimensional evaluation procedure

GLMAP2D,GLMAP2F defines a two-dimensional evaluation procedure

GLMAPGRID1D,GLMAPGRID1F,GLMAPGRID2D,GLMAPGRID2F define a one-dimensional or two-dimensional mesh

Glmaterialf,glmateriali,glmateriafv,glmaterialiv defining material parameters for a lighting model

Glmatrixmode defines which matrix is the current matrix

GLMULTMATRIXD,GLMULTMATRIXF multiply with any matrix with the current matrix

Glnewlist,glendlist Create or replace a display list

Glnormal Setting the current vertex method

Glnormalpointer setting a normal array

Glortho multiplication with the current matrix with a vertical matrix

Glpassthrough marks the feedback buffer.

GLPIXELMAPFV,GLPIXELMAPUIV,GLPIXELMAPUSV Setting the Pixel Exchange chart

Glpixelstoref,glpixelstorei Setting the pixel storage mode

Glpixeltransferf,glpixeltransferi Setting the pixel storage mode

Glpixelzoom setting pixel scaling factor

Glpointsize setting the diameter of the grating point

Glpolygonmode Selecting a polygon's raster mode

Glpolygonoffset setting the scale and unit of OpenGL for calculating depth values

Glpolygonstipple Setting the Polygon fill pattern

Glprioritizetextures setting priority for texture pinning

Glpushattrib,glpopattrib and eject operations of the property stack

Glpushclientattrib,glpopclientattrib Store and restore customer status values in the customer attribute stack

Glpushmatrix,glpopmatrix and eject operations of the matrix stack

Glpushname,glpopname and eject operation of the name stack

Glrasterpos defines the raster position of the pixel operation

Glreadbuffer Selecting a source color buffer for pixels

Glreadpixels reading a set of data from the frame buffer

GLRECTD,GLRECTF,GLRECTI,GLRECTS,GLRECTDV,GLRECTFV,GLRECTIV,GLRECTSV Draw a triangle

Glrendermode Defining a raster pattern

Glrotated,glrotatef multiplies the rotation matrix with the current matrix

Glscaled,glscalef multiplying a general scale matrix with the current matrix

Glscissor Defining a cut box

Glselectbuffer creating a buffer for the selection mode value

Glshademodel Select straight or smooth shading

Glstencilfunc setting functions and reference values for a template test

Glstencilmask control to write individual bits on the stencil face

Glstencilop Setting the activation mode test

Gltexcoord setting the current texture coordinates

Gltexcoordpointer defines an array of texture coordinates

Gltexenvf,gltexenvi,gltexenvfv,gltexenviv setting texture coordinate environment parameters

Gltexgend,gltexgenf,gltexgendv,gltexgenfv,gltexgeniv control of texture coordinate generation

Glteximage1d defining a one-dimensional texture image

Glteximage2d defining a two-dimensional texture map

Gltexparameterf,gltexparameteri,gltexparameterfv,gltexparameteriv Setting Texture Parameters

GLTEXSUBIMAGE1D defines a part of an existing one-dimensional texture image, but cannot define a new texture

Gltexsubimage2d defines a part of an existing two-dimensional texture image, but cannot define a new texture

Gltranslated,gltranslatef multiplying the transformation matrix with the current matrix

Glvertex Defining a vertex

Glvertexpointer setting a vertex data array

Glviewport Settings window

#######################################################################################

OpenGL Application Function Library

Glubegincurve,gluendcurve defines a rational nurbs curve that is inconsistent

Glubeginpolygon,gluendpolygon defines a non-convex polygon

Glubeginsurface,gluendsurface Defining a NURBS curve

Glubegintrim,gluendtrim defining a NURBS collation cycle

Glubuild1dmipmaps building a one-dimensional multi-mapping

Glubuild2dmipmaps establishing two-dimensional multiple mappings

Glucylinder Draw a cylinder

Gludeletenurbsrenderer Deleting a NURBs object

Gludelequadric Delete a two-time surface object

Gludeletetess Deleting a Mosaic object

Gludisk Draw a Plate

Gluerrorstring generating an error string based on OpenGL or Glu error codes

Glugetnutbsproperty Get a NURBS attribute

Glugetstring get a string that describes the Glu version number or supports Glu extension calls

Glugettessproperty Get a Mosaic object

Gluloadsamplingmatrices Loading numrbs examples and select matrices

Glulookat Setting a transform viewpoint

Glunewnurbsrenderer Creating a NURBs Object

Glunewquadric creating a two-time surface object

Glunewtess Creating a Mosaic object

Glunextcontour marks the beginning of other outlines

Glunurbscallback setting a callback for a NURBs object

Glunnrbscurve setting the shape of a NURBS curve

Glunurbsproperty Setting a NURBs property

Glunurbssurface defines the shape of a nurbs surface

Gluortho2d defining a two-bit orthogonal projection matrix

Glupartialdisk draw an arc of a plate

Gluperspective setting a Perspective projection matrix

Glupickmatrix Define a pickup interval

Gluproject mapping object coordinates to window coordinates

Glupwlcurve describes a piecewise linear nurbs clipping curve

Gluquadriccallback defining a callback for a two-time surface object

Gluquadricdrawstyle set the appropriate drawing style for two-times surfaces

Gluquadricnormals defines the kind of normal used for two-second surfaces

Gluquadricorientation defining the inner or outer direction of a two-second surface

Gluquadrictexture defines whether to take two times its polygon to make a texture post map

Gluscaleimage transform images to any size

Glusphere Draw a Sphere

Glutessbegincontour,glutessendcontour Delimit a boundary description

Glutessbeginpolygon,glutessendpolygon Delimit a polygon description

Glutesscallback defining a callback for a mosaic object

Glutessnormal for a multilateral line-shape definition method

Glutessproperty setting the properties of a mosaic object

Glutessvertex the vertices defined on a polygon

Gluunproject Mapping window coordinates to object coordinates

OpenGL common functions

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.