EasyManuals Logo
Home>HP>Desktop>b2600

HP b2600 Reference Guide

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
Page #128 background imageLoading...
Page #128 background image
E
glEdgeFlag
Chapter 5
128
glEdgeFlag
glEdgeFlag, glEdgeFlagv: flag edges as either boundary or non-boundary.
C Specification
void glEdgeFlag(
GLboolean flag)
void glEdgeFlagv(
const GLboolean *flag)
Parameters
flag Specifies the current edge flag value, either GL_TRUE or GL_FALSE.
The initial value is GL_TRUE.
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 non-boundary edge.
If the current edge flag is true when the vertex is specified, the vertex is marked as the
start of a boundary edge. Otherwise, the vertex is marked as the start of a non-boundary
edge. glEdgeFlag sets the edge flag bit to GL_TRUE if flag is GL_TRUE, and to
GL_FALSE otherwise.
The vertices of connected triangles and connected quadrilaterals are always marked as
boundary, regardless of the value of the edge flag.
Boundary and non-boundary edge flags on vertices are significant only if
GL_POLYGON_MODE is set toGL_POINT or GL_LINE. See glPolygonMode.
Notes
The current edge flag can be updated at any time. In particular, glEdgeFlag can be called
between a call to glBegin and the corresponding call to glEnd.
Associated Gets
glGet with argument GL_EDGE_FLAG
See Also
glBegin,
glEdgeFlagPointer,
glPolygonMode

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals