Signature
Parameters
Variables | Description |
---|---|
face |
Specifies the polygons that
mode
applies to.
Must be
GL_FRONT_AND_BACK
for front- and back-facing polygons.
|
mode |
Specifies how polygons will be rasterized.
Accepted values are
GL_POINT
,
GL_LINE
, and
GL_FILL
.
The initial value is
GL_FILL
for both front- and back-facing polygons.
|
Sample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glPolygonMode
{LGPL or GPL or MPL} Kamaelia
Sketches/CL/Topology3D/THF/Sketches/playground/ProgressBar.py
Lines: 100, 125
{LGPL or GPL or MPL} Kamaelia
Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/ProgressBar.py
Lines: 109, 133
{LGPL or GPL or MPL} Kamaelia
Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/ProgressBar.py
Lines: 109, 133
{LGPL or GPL or MPL} Kamaelia
Code/Python/Kamaelia/Kamaelia/UI/OpenGL/ProgressBar.py
Lines: 109, 133