This is the documentation for Enlighten.

struct Enlighten CullCluster

struct Enlighten::CullCluster

A class used to apply cluster-light level culling.

Variables

Name Description
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


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.


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.