This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels