RayTracingGeometryInstanceConfig.renderingLayerMask

public uint renderingLayerMask;

Description

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);

Did you find this page useful? Please give it a rating: