EasyManua.ls Logo

HP b2600

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
G
glGetLight
Chapter 7
198
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
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.
See Also
glLight

Table of Contents

Other manuals for HP b2600

Related product manuals