This is the documentation for Enlighten.

struct Enlighten CullSystem

struct Enlighten::CullSystem

A class used to apply system-light level culling.

Variables

Name Description
float m_DistanceToSystem

The distance to the system that is used culling the light.

const Geo::v128 & m_Max

Bounds of the system.

const Geo::v128 & m_Min

Bounds of the system.

Functions

Name Description
CullSystem(const Geo::v128 &, const Geo::v128 &, float)

Constructor.

IsCulled(const CachedLightType &)

Checks if the given light should be culled.


GEO_CONTROLLED_INLINE Enlighten::CullSystem::CullSystem


public: GEO_CONTROLLED_INLINE CullSystem
(
    const Geo::v128 & bbMin,
    const Geo::v128 & bbMax,
    float distance
)


Constructor.


GEO_CONTROLLED_INLINE bool Enlighten::CullSystem::IsCulled


public: GEO_CONTROLLED_INLINE bool IsCulled
(
    const CachedLightType & light
) const


Checks if the given light should be culled.