This is the documentation for Enlighten.

struct Enlighten CullClusterGroup

struct Enlighten::CullClusterGroup

A class used to apply clustergroup-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::CullClusterGroup::CullClusterGroup


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


Constructor.


GEO_CONTROLLED_INLINE bool Enlighten::CullClusterGroup::IsCulled


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


Checks if the given light should be culled.