@pmndrs/bvh
    Preparing search index...

    Interface CpuTracerOptions

    interface CpuTracerOptions {
        anyHitOrder?: AnyHitOrder;
        filterEveryTriangle?: boolean;
        indexedWithoutHeaders?: boolean;
        rayMasks?: boolean;
        triangleFilter?: TrianglePasses;
    }
    Index
    anyHitOrder?: AnyHitOrder

    As the trace module's anyHitOrder option: any-hit's child order. Default 'far'. Answers are the same either way.

    filterEveryTriangle?: boolean

    Ask 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.

    indexedWithoutHeaders?: boolean

    An 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.

    rayMasks?: boolean

    As the trace module's rayMasks option. Default true.

    triangleFilter?: TrianglePasses

    The CPU twin of the kernel's bvhTrianglePasses, for flagged triangles; without it they block.