> ## Name

> LightEnable - 3D API light enable

> ## Usage

> LightEnable[i] = bool(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Enable/disable a light for use in the lighting computations. See the GL_LIGHTi description on the OpenGL glEnable manual page for details. See the IDirect3DDevice9::SetLight method for details.

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

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> Lighting, LightAmbient, LightAttenuation0, LightAttenuation1, LightAttenuation2, LightConstantAttenuation, LightDiffuse, LightDirection, LightFalloff, LightLinearAttenuation, LightModelAmbient, LightModelColorControl, LightModelLocalViewerEnable, LightModelTwoSideEnable, LightPhi, LightPosition, LightQuadraticAttenuation, LightRange, LightSpecular, LightSpotCutoff, LightSpotDirection, LightSpotExponent, LightTheta, LightType, LightingEnable