Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

struct Enlighten::CullSystem

A class used to apply system-light level culling.

Variables

NameDescription
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

NameDescription
CullSystem(const Geo::v128 &, const Geo::v128 &, float)

Constructor.

IsCulled(const CachedLightType &)

Checks if the given light should be culled.


Anchor
a604e03618c4f60f4612c6b8bff598378
a604e03618c4f60f4612c6b8bff598378

GEO_CONTROLLED_INLINE Enlighten::CullSystem::CullSystem

...

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

...

Constructor.


Anchor
a892a9f50fef4224b5b3d52427544d29a
a892a9f50fef4224b5b3d52427544d29a

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.