Export (0) Print
Expand All

Coloring State Variables

Applies to: desktop apps only

GL_FOG_COLOR
Description:Fog color
Attribute group:fog
Initial value:0,0,0,0
Get command: glGetFloatv

 

GL_FOG_INDEX
Description:Fog index
Attribute group:fog
Initial value:0
Get command: glGetFloatv

 

GL_FOG_DENSITY
Description:Exponential fog density
Attribute group:fog
Initial value:1.0
Get command: glGetFloatv

 

GL_FOG_START
Description:Linear fog start
Attribute group:fog
Initial value:0.0
Get command: glGetFloatv

 

GL_FOG_END
Description:Linear fog end
Attribute group:fog
Initial value:1.0
Get command: glGetFloatv

 

GL_FOG_MODE
Description:Fog mode
Attribute group:fog
Initial value:GL_EXP
Get command: glGetIntegerv

 

GL_FOG
Description:True if fog enabled
Attribute group:fog/enable
Initial value:GL_FALSE
Get command: glIsEnabled

 

GL_SHADE_MODEL
Description:glShadeModel setting
Attribute group:lighting
Initial value:GL_SMOOTH
Get command: glGetIntegerv

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft