1GLEDGEFLAG(3G) GLEDGEFLAG(3G)
2
3
4
6 glEdgeFlag, glEdgeFlagv - flag edges as either boundary or nonboundary
7
8
10 void glEdgeFlag( GLboolean flag )
11
12
14 flag Specifies the current edge flag value, either GL_TRUE or
15 GL_FALSE. The initial value is GL_TRUE.
16
18 void glEdgeFlagv( const GLboolean *flag )
19
20
22 flag Specifies a pointer to an array that contains a single boolean
23 element, which replaces the current edge flag value.
24
26 Each vertex of a polygon, separate triangle, or separate quadrilateral
27 specified between a glBegin/glEnd pair is marked as the start of either
28 a boundary or nonboundary edge. If the current edge flag is true when
29 the vertex is specified, the vertex is marked as the start of a bound‐
30 ary edge. Otherwise, the vertex is marked as the start of a nonbound‐
31 ary edge. glEdgeFlag sets the edge flag bit to GL_TRUE if flag is
32 GL_TRUE, and to GL_FALSE otherwise.
33
34 The vertices of connected triangles and connected quadrilaterals are
35 always marked as boundary, regardless of the value of the edge flag.
36
37 Boundary and nonboundary edge flags on vertices are significant only if
38 GL_POLYGON_MODE is set to GL_POINT or GL_LINE. See glPolygonMode.
39
41 The current edge flag can be updated at any time. In particular,
42 glEdgeFlag can be called between a call to glBegin and the correspond‐
43 ing call to glEnd.
44
46 glGet with argument GL_EDGE_FLAG
47
49 glBegin(3G), glEdgeFlagPointer(3G), glPolygonMode(3G)
50
51
52
53 GLEDGEFLAG(3G)