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
Name | Description |
---|---|
CullCluster(const Geo::v128 &, const Geo::v128 &, const Geo::v128 &, const Geo::v128 &) | Constructor. |
IsCulled(const CachedLightType &) | Checks if the given light should be culled. |
Anchor | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
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.