Optional ReadonlymaskThe ray mask (the WGSL *Masked functions' mask). Default all ones. Ignored with rayMasks: false.
Optional ReadonlysideSide culling, CPU only (the WGSL walk has no side option): CPU_TRACE_FRONT_SIDE takes front-face hits only, CPU_TRACE_BACK_SIDE back-face hits only (the authored side, after the flip bit). A culled triangle is passed through like a filtered one: nothing is recorded, the filter isn't asked, and the closest distance stays. Default CPU_TRACE_DOUBLE_SIDE, the WGSL walk's behaviour.
Optional ReadonlystatsCounters to fill in.
Per-trace options.