A class managing instances of world clusters used by the renderer for layers with unique sets of clustered lights.

Constructors

Properties

Constructors

Properties

_allocated: WorldClusters[] = []

All allocated clusters

_clusters: Map<number, RenderAction> = ...

Render actions with all unique light clusters. The key is the hash of lights on a layer, the value is a render action with unique light clusters.

_empty: WorldClusters = null

Empty cluster with no lights.