GLEDGEFLAG(3G) GLEDGEFLAG(3G)
NAME
glEdgeFlag,, glEdgeFlagv - flag edges as either boundary or nonboundary
C SPECIFICATION
void glEdgeFlag( GLboolean flag )
PARAMETERS
flag Specifies the current edge flag value, either GLTRUE or
GLFALSE. The initial value is GLTRUE.
C SPECIFICATION
void glEdgeFlagv( const GLboolean *flag )
PARAMETERS
flag Specifies a pointer to an array that contains a single boolean
element, which replaces the current edge flag value.
DESCRIPTION
Each vertex of a polygon, separate triangle, or separate quadrilateral
specified between a glBegin/glEnd pair is marked as the start of either
a boundary or nonboundary edge. If the current edge flag is true when
the vertex is specified, the vertex is marked as the start of a bound-
ary edge. Otherwise, the vertex is marked as the start of a nonbound-
ary edge. glEdgeFlag sets the edge flag bit to GLTRUE if flag is
GLTRUE, and to GLFALSE otherwise.
The vertices of connected triangles and connected quadrilaterals are
always marked as boundary, regardless of the value of the edge flag.
Boundary and nonboundary edge flags on vertices are significant only if
GLPOLYGONMODE is set to GLPOINT or GLINE. See glPolygonode.
NOTES
The current edge flag can be updated at any time. In particular,
glEdgeFlag can be called between a call to glBegin and the correspond-
ing call to glEnd.
ASOCIATED GETS
glGet with argument GLEDGEFLAG
SEE ALSO
glBegin, glEdgeFlagPointer, glPolygonode
GLEDGEFLAG(3G)
|