ドキュメント

Unity Engine

Unity Engine

mask

The ray tracing instance mask.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public uint mask { readonly get; set; }

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.