Go to: Related nodes. Attributes.

The display layer manager node manages the list of display layers currently available, including keeping track which one is the current one, and enforcing a unique number per display layer.

The current display layer is the one whos number matches the "current" input attribute's value. It is an error to have no match, although this condition will default the current display layer to the default layer.

The default layer is always number 0, and is always connected at multi-index 0 of the 'displayLayers' multi-attribute. Other display layers are connected in order of their priority (which is currently only used for the layerbar display ordering).

Node nameParentsMFn typeCompatible function sets
displayLayerManagernodekDisplayLayerManagerkBase
kNamedObject
kDependencyNode
kDisplayLayerManager

Related nodes

displayLayer, renderLayerManager, renderLayer

Attributes (2)

currentDisplayLayer, displayLayerId

Long name (short name)TypeDefaultFlags
currentDisplayLayer (cdl) short0outputinputconnectablestorable
Number of the display layer that is the "current" one
displayLayerId (dli) short0arrayoutputinputconnectablestorable
Display layer id. Connections here indicate display layer existence.