1GLEDGEFLAG(3G)                   OpenGL Manual                  GLEDGEFLAG(3G)
2
3
4

NAME

6       glEdgeFlag - flag edges as either boundary or nonboundary
7

C SPECIFICATION

9       void glEdgeFlag(GLboolean flag);
10

PARAMETERS

12       flag
13           Specifies the current edge flag value, either GL_TRUE or GL_FALSE.
14           The initial value is GL_TRUE.
15

C SPECIFICATION

17       void glEdgeFlagv(const GLboolean * flag);
18

PARAMETERS

20       flag
21           Specifies a pointer to an array that contains a single boolean
22           element, which replaces the current edge flag value.
23

DESCRIPTION

25       Each vertex of a polygon, separate triangle, or separate quadrilateral
26       specified between a glBegin()/glEnd() pair is marked as the start of
27       either a boundary or nonboundary edge. If the current edge flag is true
28       when the vertex is specified, the vertex is marked as the start of a
29       boundary edge. Otherwise, the vertex is marked as the start of a
30       nonboundary edge.  glEdgeFlag sets the edge flag bit to GL_TRUE if flag
31       is GL_TRUE and to GL_FALSE otherwise.
32
33       The vertices of connected triangles and connected quadrilaterals are
34       always marked as boundary, regardless of the value of the edge flag.
35
36       Boundary and nonboundary edge flags on vertices are significant only if
37       GL_POLYGON_MODE is set to GL_POINT or GL_LINE. See glPolygonMode().
38

NOTES

40       The current edge flag can be updated at any time. In particular,
41       glEdgeFlag can be called between a call to glBegin() and the
42       corresponding call to glEnd().
43

ASSOCIATED GETS

45       glGet() with argument GL_EDGE_FLAG
46

SEE ALSO

48       glBegin(), glEdgeFlagPointer, glPolygonMode()
49
51       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
52       under the SGI Free Software B License. For details, see
53       http://oss.sgi.com/projects/FreeB/.
54

AUTHORS

56       opengl.org
57
58
59
60opengl.org                        06/10/2014                    GLEDGEFLAG(3G)
Impressum