Optional ReadonlyanyOptional ReadonlycountersCompile the counted walk (TraceModuleOptions.counters): every ray's
result is a BvhWalkCounts (WALK_COUNTS_BYTES, words in
WALK_COUNTS_WORD), the hit and the walk's work, in either mode. For
heat maps and tools; trace with a kernel without it for speed. Default false.
Optional ReadonlyhitDefault true: 40-byte closest-hit records with material and normal. False: the 24-byte compact record.
Optional ReadonlylabelOptional ReadonlynodeThe scenes' node format, compiled in. Default 'quantized' (DEFAULT_NODE_FORMAT), as scenes are by default; a kernel refuses a scene of the other format.
Optional ReadonlypositionIndexed only: 'vec4' (the default) or 'packed' positions, compiled in.
Optional ReadonlyquantizedHow the walk decodes quantized nodes, compiled in (QuantizedDecode). Default 'exact'; 'folded' is the measured lever (quantized nodes only).
Optional ReadonlyrayDefault true: each batch has a ray mask (TraceBatch.mask). False compiles masks out.
Optional ReadonlytriangleThe triangle filter (bvhTrianglePasses); default: every triangle blocks.
Optional ReadonlytriangleThe scenes' triangle format, compiled in. Default 'records'.
The any-hit walk's child order, compiled in (
AnyHitOrder). Default'far'(best for rays from surfaces);'larger'for rays from outside the geometry or across open space.