glGetLight returns in params the value or values of a light source parameter. light names the light and is a symbolic name of the form GL_LIGHT i where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. GL_MAX_LIGHTS is an implementation dependent constant that is greater than or equal to eight. pname specifies one of ten light source parameters, again by symbolic name. The following parameters are defined:
It is always the case that GL_LIGHT i = GL_LIGHT0 + i. If an error is generated, no change is made to the contents of params.
Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
glGetLight: man2/glGetLight.xml
glGetLight returns in params the value or values of a light source parameter. light names the light and is a symbolic name of the form GL_LIGHT i where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. GL_MAX_LIGHTS is an implementation dependent constant that is greater than or equal to eight. pname specifies one of ten light source parameters, again by symbolic name. The following parameters are defined:
It is always the case that GL_LIGHT i = GL_LIGHT0 + i. If an error is generated, no change is made to the contents of params.