getLayer

Gets the layer index for a given attachment point.

Return

The layer index

Parameters

attachment

The attachment point to query