mask
The mask used by ray tracing instances.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public uint mask { readonly get; set; }
Remarks
During acceleration structure traversal, the GPU accepts or rejects geometry based on the ray tracing instance mask and InstanceInclusionMask specified when you call the HLSL function, or when you execute ray queries while calling the HLSL function.
TraceRayTraceRayInline