包含此页的版本:
不含此页的版本:
A mask that you can access in HLSL with unity_RenderingLayer built-in shader uniform.
unity_RenderingLayer
uniform float4 unity_RenderingLayer;// HLSL usage example: uint renderingLayerMask = asuint(unity_RenderingLayer.x);