gl.EdgeFlag(flag)
gl.EdgeFlag()
sets the edge flag
bit to #GL_TRUE
if flag is #GL_TRUE
and to #GL_FALSE
otherwise. The initial value is #GL_TRUE
.
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 #GL_POLYGON_MODE
is set to #GL_POINT
or #GL_LINE
. See gl.PolygonMode for details.
The current edge flag can be updated at any time. In particular, gl.EdgeFlag()
can be called between a call to gl.Begin()
and the corresponding call to gl.End().
Please consult an OpenGL reference manual for more information.
#GL_TRUE
or #GL_FALSE
)#GL_EDGE_FLAG