Versions Compared

Key

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

struct Enlighten::CullCluster

A class used to apply cluster-light level culling.

Variables

NameDescription
const Geo::v128 & m_Max

Bounds of the cluster.

const Geo::v128 & m_MaxNormalFlipped

Normal bounds of the cluster.

const Geo::v128 & m_Min

Bounds of the cluster.

const Geo::v128 & m_MinNormalFlipped

Normal bounds of the cluster.

Functions


Anchor
a91e01f6917eb91c4628a2fa8ceaca837
a91e01f6917eb91c4628a2fa8ceaca837

GEO_CONTROLLED_INLINE Enlighten::CullCluster::CullCluster

...

public: GEO_CONTROLLED_INLINE CullCluster
(
    const Geo::v128 & bbMin,
    const Geo::v128 & bbMax,
    const Geo::v128 & minNormalFlipped,
    const Geo::v128 & maxNormalFlipped
)

...

Constructor.


Anchor
aec5df70154e527866be83f1b7c2447b8
aec5df70154e527866be83f1b7c2447b8

GEO_CONTROLLED_INLINE bool Enlighten::CullCluster::IsCulled

...

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

...

Checks if the given light should be culled.