Optional ReadonlyanyOptional ReadonlyfilterAsk triangleFilter about every triangle, flagged or not, as if each had
TRIANGLE_FLAG_FILTER set. The CPU mesh tree (CpuMeshBvh) uses it for
all-hit queries and per-triangle acceptance (three's groups) without
writing the flag into a layout it may share. Default false. Not in the WGSL walk.
Optional ReadonlyindexedAn indexed scene of mesh trees with no 16-byte header before their
triangles: every instance has vertex base 0 and no material table.
CpuMeshBvh with corners: 'positions' uses it (one mesh, its
triangles as built, the source's own positions). Default false. CPU only.
Optional ReadonlyrayAs the trace module's rayMasks option. Default true.
Optional ReadonlytriangleThe CPU twin of the kernel's bvhTrianglePasses, for flagged triangles; without it they block.
As the trace module's
anyHitOrderoption: any-hit's child order. Default'far'. Answers are the same either way.