Version: 2018.1

Renderer.renderingLayerMask

Switch to Manual
public uint renderingLayerMask ;

Description

Determines which rendering layer this renderer lives on.

When using a scriptable render pipeline, you can specify an additional rendering-specific layer mask. This filters the renderers based on the mask the renderer has and the mask passed to the DrawRenderers command.