| State Variable | Description | Attribute Group | Initial Value | Get Command |
|---|---|---|---|---|
GL_CURRENT_COLOR | Current color | current | 1, 1, 1, 1 | glGetIntegerv() , glGetFloatv() |
GL_CURRENT_INDEX | Current color index | current | 1 | glGetIntegerv() , glGetFloatv() |
GL_CURRENT_TEXTURE_COORDS | Current texture coordinates | current | 0, 0, 0, 1 | glGetFloatv() |
GL_CURRENT_NORMAL | Current normal | current | 0, 0, 1 | glGetFloatv() |
GL_CURRENT_RASTER_POSITION | Current raster position | current | 0, 0, 0, 1 | glGetFloatv() |
GL_CURRENT_RASTER_DISTANCE | Current raster distance | current | 0 | glGetFloatv() |
GL_CURRENT_RASTER_COLOR | Color associated with raster position | current | 1, 1, 1, 1 | glGetIntegerv() , glGetFloatv() |
GL_CURRENT_RASTER_INDEX | Color index associated with raster position | current | 1 | glGetIntegerv() , glGetFloatv() |
GL_CURRENT_RASTER_TEXTURE_ COORDS | Texture coordinates associated with raster position | current | 0, 0, 0, 1 | glGetFloatv() |
GL_CURRENT_RASTER_POSITION_ VALID | Raster position valid bit | current | GL_TRUE | glGetBooleanv( ) |
GL_EDGE_FLAG | Edge flag | current | GL_TRUE | glGetBooleanv( ) |
OpenGL Programming Guide