G
glGet
params returns four values: the red, green, blue, and alpha components of the ambient
intensity of the entire scene. Integer values, if requested, are linearly mapped from the
internal floating-point representation such that 1.0 returns the most positive
representable integer value, and - 1.0 returns the most negative representable integer
value. The initial value is (0.2, 0.2, 0.2, 1.0). See glLightModel.
GL_LIGHT_MODEL_LOCAL_VIEWER
params returns a single boolean value indicating whether specular reflection
calculations treat the viewer as being local to the scene. The initial value is GL_FALSE.
See glLightModel.
GL_LIGHT_MODEL_TWO_SIDE
params returns a single boolean value indicating whether separate materials are used to
compute lighting for front- and back-facing polygons. The initial value is GL_FALSE.
See glLightModel.
GL_LINE_SMOOTH
params returns a single boolean value indicating whether anti-aliasing of lines is
enabled. The initial value is GL_FALSE. See glLineWidth.
GL_LINE_SMOOTH_HINT
params returns one value, a symbolic constant indicating the mode of the line
anti-aliasing hint. The initial value is GL_DONT_CARE. See glHint.
GL_LINE_STIPPLE
params returns a single boolean value indicating whether stippling of lines is enabled.
The initial value is GL_FALSE. See glLineStipple.
GL_LINE_STIPPLE_PATTERN
params returns one value, the 16-bit line stipple pattern. The initial value is all 1s. See
glLineStipple.
GL_LINE_STIPPLE_REPEAT
params returns one value, the line stipple repeat factor. The initial value is 1. See
glLineStipple.
GL_LINE_WIDTH
params returns one value, the line width as specified with glLineWidth. The initial value
is 1.
GL_LINE_WIDTH_GRANULARITY
params returns one value, the width difference between adjacent supported widths for
anti-aliased lines. See glLineWidth.
GL_LINE_WIDTH_RANGE
params returns two values: the smallest and largest supported widths for anti-aliased
lines. See glLineWidth.
GL_LIST_BASE
params returns one value, the base offset added to all names in arrays presented to
glCallLists. The initial value is 0. See glListBase.
GL_LIST_INDEX
173
Chapter 7