LightLinearAttenuation
Keywords: LightLinearAttenuation, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> LightLinearAttenuation - 3D API light linear attenuation

> ## Usage

> LightLinearAttenuation[i] = float(linear_attenuation)

> ## Valid Enumerants

> linear_attenuation: floating point value

> ## Description

> Specify the linear light attenuation factor. See the GL_LINEAR_ATTENUATION description on the OpenGL glLight manual page for details. See the Attenuation1 member of the D3DLIGHT9 argument to IDirect3DDevice9::SetLight method.

> The standard reset callback sets the LightLinearAttenuation[i] state to float(0).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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