HP b2600 Reference Manual page 198

Opengl 1.1 reference
Hide thumbs Also See for b2600:
Table of Contents

Advertisement

G
glGetLight
params returns a single integer or floating-point value representing the linear
attenuation of the light. An integer value, when requested, is computed by rounding the
internal floating-point representation to the nearest integer. The initial value is 0.
GL_QUADRATIC_ATTENUATION
params returns a single integer or floating-point value representing the quadratic
attenuation of the light. An integer value, when requested, is computed by rounding the
internal floating-point representation to the nearest integer. The initial value is 0.
Notes
It is always the case that GL_LIGHTi = GL_LIGHT0 + i.
If an error is generated, no change is made to the contents of params.
Errors
See Also
glLight
198
GL_INVALID_ENUM is generated if light or pname is not an accepted value.
GL_INVALID_OPERATION is generated if glGetLight is executed between the
execution of glBegin and the corresponding execution of glEnd.
Chapter 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents