@pmndrs/bvh
    Preparing search index...

    Interface GpuMeshRefitOptions

    Options of one mesh refit: GpuBvhRefitOptions, with the shared kernels of the mesh refit.

    interface GpuMeshRefitOptions {
        boxes?: GpuRefitBoxPool;
        diagnostics?: boolean;
        kernels?: GpuMeshRefitKernels;
        label?: string;
    }

    Hierarchy

    Index

    A box buffer shared with other refits (GpuRefitBoxPool: their encode calls must not overlap); without it this refit has its own, sized for its mesh.

    diagnostics?: boolean

    Read the stats back (a frame or two late) into latestStats, one small readback per copyStats the caller records. Off by default. ddgi-core promises hosts no readbacks frame after frame: its top level turns this on only in stats mode, and its deforming meshes copy at most once every 15 frames each (DECISIONS 2026-11-10). Correctness never depends on it: a refit that gives up is repaired on the GPU in the same frame either way.

    Kernels shared with other mesh refits; without them this refit compiles its own in prepare.

    label?: string