Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

State Variables for Current Values and Associated Data

Applies to: desktop apps only

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

 

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

 

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: glGetIntegervglGetFloatv

 

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

 

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

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2015 Microsoft