glLighti
glLighti is a function in the OpenGL programming interface used to specify integer-valued parameters for lighting. This function is part of the OpenGL API, a standard for rendering 2D and 3D vector graphics. When working with lighting in OpenGL, you can control various aspects like the direction, color, and intensity of light sources.
The glLighti function allows developers to set these lighting parameters using integer values. For example, it
Common uses of glLighti include controlling the state of a light source. For instance, the parameter GL_LIGHT0