Version: 2023.2
언어: 한국어
public uint renderingLayerMask ;

설명

A mask that you can access in HLSL with unity_RenderingLayer built-in shader uniform.

uniform float4 unity_RenderingLayer;

// HLSL usage example: uint renderingLayerMask = asuint(unity_RenderingLayer.x);