This is the documentation for Enlighten.
class Enlighten FrustumLight CachedData
class Enlighten::FrustumLight::CachedData
Cached data for FrustumLight.
Variables
Name | Description |
|---|---|
Geo::v128 m_BoundsMax | Bounds max. |
Geo::v128 m_BoundsMin | Bounds min. |
Geo::v128 m_Colour | RGB intensity of the light (linear space). |
Geo::v128 m_CutoffSquared | Cutoff * cutoff. |
Geo::v128 m_Direction | Direction. |
Enlighten::InternalLightFalloffTable m_FalloffTable | Falloff table. |
bool m_HasChanged | Whether the light has changed since it was last given to the extended direct lighting api. |
Geo::u32 m_HasVisibilityData | Has visibility data? |
const eLightType m_LightType | Type of input light corresponding to an eLightType enum value. |
Geo::v128 m_NegativeSinLightAngle | -sin(light angle) |
Geo::u32 m_Padding | Unused padding. |
Geo::u64 m_Padding | Unused (this class is usually extended by one that starts with multiple v128s) |
Geo::v128 m_Position | World space position of light. |
Geo::v128 m_Radius | Radius. |
Geo::Matrix m_ViewProjTransposed | Transpose of view-projection matrix. |
Functions
Name | Description |
|---|---|
Constructor. | |
Hash the light data. | |
Constructor. | |
Constructor. | |
IsIntersectingCluster(const Geo::v128 &, const Geo::v128 &, const Geo::v128 &, const Geo::v128 &) | Complex light V normalBoundingBox intersection test. |
Light v ClusterGroup Bounding box intersection test. | |
Simple Light V system BoundingBox intersection test. | |
Shades the given samples. | |
Shades the given quad. | |
Shades the given quads. |
Enlighten::FrustumLight::CachedData::CachedData
public: CachedData
(
const FrustumLight & frustumLight,
const void * perDusterVisibility
)