LightEnable

> # NAME

> LightEnable - 3D API per-vertex light source enable

> # USAGE

> LightEnable[ndx] = bool(enable)

> # VALID ENUMERANTS

> enable: true, false

> # DESCRIPTION

> Set the OpenGL or Direct3D per-vertex light source enable. See the GL_LIGHTn description on the OpenGL glEnable manual page for details.

> The standard reset callback sets the LightEnable state to bool(false).

> The index ndx identifies the light source and must be greater or equal to zero and less than the value of GL_MAX_LIGHTS (typically 8). DirectX 9 supports 8 light sources.

> # OPENGL FUNCTIONALITY REQUIREMENTS

> OpenGL 1.0

> # DIRECT3D FUNCTIONALITY REQUIREMENTS

> DirectX 9

> # SEE ALSO

> LightingEnable, DepthTestEnable, StencilTestEnable