Version: 2023.1
言語: 日本語
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);