기술 자료

Unity Engine

Unity Engine

mask

The ray tracing instance mask.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public uint mask

Remarks

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.