Skip to content

declareSortLayer

declareSortLayer(name, config): SortLayerConfig

Defined in: packages/three-flatland/src/pipeline/sortLayers.ts:133

Declare (or redeclare) a named sort layer.

Pair with a SortLayerRegistry interface augmentation for typed use.

SortLayerName

SortLayerConfig

SortLayerConfig

When config.renderOrder is not a finite signed 32-bit integer.