| ## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csgfx/vertexlight.h File Reference

Attenuation functors. More...

`#include "csqsqrt.h"`
`#include "csgeom/math.h"`
`#include "csgeom/transfrm.h"`
`#include "csgeom/vector3.h"`
`#include "csgfx/lightsvcache.h"`
`#include "csgfx/vertexlistwalker.h"`
`#include "csutil/cscolor.h"`
`#include "cstool/rbuflock.h"`
`#include "iengine/light.h"`
`#include "iengine/movable.h"`
`#include "ivideo/shader/shader.h"`

Go to the source code of this file.

## Classes
struct | csCLQAttenuation
| Constant, Linear, Quadratic attenuation Out = in /(const + distance*lin + distance^2*quad). More...
class | csDirectionalLightProc< AttenuationProc >
| Preform directional light lighting calculation without shadowing. More...
class | csDirectionalLightProc< AttenuationProc >::PerVertex
struct | csInverseAttenuation
| Inverse linear attenuation. More...
struct | csLightProperties
| Light properties, as needed by the attenuation and lighting functors. More...
struct | csLinearAttenuation
| Linear attenuation. More...
struct | csNoAttenuation
| No attenuation. More...
class | csPointLightProc< AttenuationProc >
| Preform pointlight lighting calculation without shadowing. More...
class | csPointLightProc< AttenuationProc >::PerVertex
struct | csRealisticAttenuation
| Inverse quadratic attenuation. More...
class | csSpotLightProc< AttenuationProc >
| Perform spotlight lighting calculation without shadowing. More...
class | csSpotLightProc< AttenuationProc >::PerVertex
class | csVertexLightCalculator< LightProc >
| iVertexLightCalculator implementation that takes one of csPointLightProc, csDirectionalLightProc or csSpotLightProc for LightProc to compute lighting for a light of the respective type. More...
struct | iVertexLightCalculator
| Interface to calculate lighting for a number of vertices. More...

## Detailed Description

Attenuation functors.

Definition in file vertexlight.h.