| State Variable | Description | Attribute Group | Initial Value | Get Command |
|---|---|---|---|---|
GL_POINT_SIZE | Point size | point | 1.0 | glGetFloatv() |
GL_POINT_SMOOTH | Point antialiasing on | point/enable | GL_FALSE | glIsEnabled() |
GL_LINE_WIDTH | Line width | line | 1.0 | glGetFloatv() |
GL_LINE_SMOOTH | Line antialiasing on | line/enable | GL_FALSE | glIsEnabled() |
GL_LINE_STIPPLE_PATTERN | Line stipple | line | 1's | glGetIntegerv() |
GL_LINE_STIPPLE_REPEAT | Line stipple repeat | line | 1 | glGetIntegerv() |
GL_LINE_STIPPLE | Line stipple enable | line/enable | GL_FALSE | glIsEnabled() |
GL_CULL_FACE | Polygon culling enabled | polygon/enable | GL_FALSE | glIsEnabled() |
GL_CULL_FACE_MODE | Cull front-/back-facing polygons | polygon | GL_BACK | glGetIntegerv() |
GL_FRONT_FACE | Polygon front-face CW/CCW indicator | polygon | GL_CCW | glGetIntegerv() |
GL_POLYGON_SMOOTH | Polygon antialiasing on | polygon/enable | GL_FALSE | glIsEnabled() |
GL_POLYGON_MODE | Polygon rasterization mode (front and back) | polygon | GL_FILL | glGetIntegerv() |
GL_POLYGON_STIPPLE | Polygon stipple enable | polygon/enable | GL_FALSE | glIsEnabled() |
-- | Polygon stipple pattern | polygon-stipple | 1's | glGetPolygon-S tipple() |
OpenGL Programming Guide