EasyManua.ls Logo

HP b2600

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
P
glPolygonMode
Chapter 14
341
Examples
To draw a surface with filled back-facing polygons and outlined front-facing polygons,
call
glPolygonMode(GL_FRONT, GL_LINE);
Notes
Vertices are marked as boundary or non-boundary with an edge flag. Edge flags are
generated internally by the GL when it decomposes polygons; they can be set explicitly
using glEdgeFlag.
Errors
GL_INVALID_ENUM is generated if either face or mode is not an accepted value.
GL_INVALID_OPERATION is generated if glPolygonMode is executed between the
execution of glBegin and the corresponding execution of glEnd.
Associated Gets
glGet with argument GL_POLYGON_MODE
See Also
glBegin,
glEdgeFlag,
glLineStipple,
glLineWidth,
glPointSize,
glPolygonStipple

Table of Contents

Other manuals for HP b2600

Related product manuals