Version: 2023.2
public uint mask ;

描述

The ray tracing instance mask.

During acceleration structure traversal, the GPU accepts or rejects geometry based on the instance mask and InstanceInclusionMask specified when you call the TraceRay HLSL function, or when you execute ray queries while calling the TraceRayInline HLSL function.