[Computer Graphics] openGL common functions, computer graphics opengl

Source: Internet
Author: User

[Computer Graphics] openGL common functions, computer graphics opengl

OpenGL common functions

 

GlAccum operation accumulation Buffer

GlAddSwapHintRectWIN defines a group

Triangle 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 map

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.