State Variables for Current Values and Associated Data

GL_CURRENT_COLOR
Description:Current color
Attribute group:current
Initial value:1, 1, 1, 1
Get command: glGetIntegerv
 
glGetFloatv

 

GL_CURRENT_INDEX
Description:Current color index
Attribute group:current
Initial value:1
Get command: glGetIntegerv
 
glGetFloatv

 

GL_CURRENT_TEXTURE_COORDS
Description:Current texture coordinates
Attribute group:current
Initial value:0, 0, 0, 1
Get command: glGetFloatv

 

GL_CURRENT_NORMAL
Description:Current normal
Attribute group:current
Initial value:0, 0, 1
Get command: glGetFloatv

 

GL_CURRENT_RASTER POSITION
Description:Current raster position
Attribute group:current
Initial value:0, 0, 0, 1
Get command: glGetFloatv

 

GL_CURRENT_RASTER_DISTANCE
Description:Current raster distance
Attribute group:current
Initial value:0
Get command: glGetFloatv

 

GL_CURRENT_RASTER_COLOR
Description:Color associated with raster position
Attribute group:current
Initial value:1, 1, 1, 1
Get command: glGetIntegerv
 
glGetFloatv

 

GL_CURRENT_RASTER_INDEX
Description:Color index associated with raster position
Attribute group:current
Initial value:1
Get command: glGetIntegerv
 
glGetFloatv

 

GL_CURRENT_RASTER_TEXTURE_COORDS
Description:Texture coordinates associated with raster position
Attribute group:current
Initial value:0, 0, 0, 1
Get command: glGetFloatv

 

GL_CURRENT_RASTER_POSITION_VALID
Description:Raster position valid bit
Attribute group:current
Initial value:GL_TRUE
Get command: glGetBooleanv

 

GL_EDGE_FLAG
Description:Edge flag
Attribute group:current
Initial value:GL_TRUE
Get command: glGetBooleanv

 

 

 

Show: