Subroutine Purpose Selects a polygon rasterization mode. The glPolygonMode subroutine controls the interpretation of polygons for rasterization. The polygon mode affects only the final rasterization of polygons. In particular, a polygon's vertices are lit and the polygon is clipped and possibly culled before these modes are applied.
Parameters Face Specifies the polygons to which Mode applies.
Mode Specifies the way polygons are rasterized. Notes Vertices are marked as boundary or nonboundary with an edge flag. Edge flags are generated internally by the GL when it decomposes polygons, and they can be set explicitly with the glEdgeFlag subroutine. The glPolygonMode subroutine is called between a call to glBegin and the corresponding call to glEnd . Associated Gets Associated gets for the glPolygonMode subroutine are as follows.