Versions Compared

Key

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

class Enlighten::ClusterRange

The ClusterRange describes a range of leaf clusters that belong to a certain cluster in the tree.

It is effectively all leaf clusters that are grouped in this cluster.

Variables

NameDescription
Geo::s32 m_ClusterIdx

Index of the node containing the range of leaf clusters.

Geo::s32 m_LeafClusterCount

Number of clusters in the range.

Geo::s32 m_LeafClusterStartIdx

Index in the linear clustering of the first cluster in the range.

Geo::s32 m_Level

Level at which the node containing the range of leaf clusters is located in the tree.

Functions


Anchor
a3bc759fb94e864c0dce3f7f73693fd3f
a3bc759fb94e864c0dce3f7f73693fd3f

Enlighten::ClusterRange::ClusterRange

...

public: ClusterRange
(
    Geo::s32 leafClusterStartIdx,
    Geo::s32 leafClusterCount,
    Geo::s32 level,
    Geo::s32 clusterIdx
)

...

Constructor.