API OpenGL output soil element functions and related subroutines

Source: Internet
Author: User
Tags polyline

GLUORTHO2D: Specify a two-dimensional world coordinate system glvertex*: Select a coordinate location. The function must be placed between Glbegin/glend Glbegin (gl_points): Draw one or more points, each specified in the Glvertex function. The end string is finally ended by the Glend statement. Glbegin (Gl_lines): Displays a set of straight line segments whose endpoint coordinates are specified in the Glvertex function. The end string is finally ended by the Glend statement. Glbegin (Gl_line-strip): Displays the polyline glbegin (gl_line-loop) specified for Gl_lines same structure: Displays the closed polyline specified with the same structure as gl_lines. glrect*: Displays a fill area on the XY plane Glbegin (Gl_polygon): Displays a fill polygon whose vertices are given in Glvertex and terminated by the Glend statement. Glbegin (gl_triangles): Displays a set of fill triangles that describe the same structure as Gl_polygon Glbegin (Gl_triangle-strip): Displays a filled triangle with the same description structure as the Gl_polygon. Glenableclientstatef (Gl_vertex_array): Active OpenGL vertex array facilities glvertexpointer (size, type, stride, array)   : Specifies an array of coordinate values gldrawelements (Prim,num.type,array): Displays a specified primitive type from the array data glnewlists (ListID, Listmode): Defines a set of commands as a display table, End glgenlists with glendlist statement: Generates one or more display table identities Glislist: Determines whether a display table identifies a query function that is used Glcalllist: Executes a display table Gllistbase: Specifies the displacement of the display table identity array glcalllists: Executes multiple display tables Gldeletelists: Deletes the specified list of displayed tables glrasetrpos*: Specifies a two-dimensional or three-dimensional current position for the frame cache. This position is used as a reference glbitmap (W, H, x0, y0, xshift, yshift, pattern) for bitmap and pixel graph patterns: Specifies the bitmap pattern to map to the pixel location corresponding to the current position gldrawpixels (W, H, type, format, pattern): Specifies the pixel graph pattern to map to the pixel location corresponding to the current position Gldrawbuffer: Select one or more cache glreadpixels to store the pixel map: deposit A pixel in the specified array glcopypixels: Copy a pixel from one cache to another GLLOGICOP: Select a logical operation after activating with constant GL_COLOR_LOGIC_OP to combine the two pixels group Glutbitmapcharacter (font, char) : Select a font and a bitmap profile character to display glutstrokecharacter (font, char): Select a font and a contour character to display Glutreshapefunc: Specifies the work when the display window size changes

API OpenGL Output soil element functions and related subroutines

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.