@pmndrs/bvh
    Preparing search index...

    Interface MeshLayoutBuilderOptions

    interface MeshLayoutBuilderOptions {
        label?: string;
        maxBatchBytes?: number;
        prefer?: MeshLayoutBuilderKind;
        prepare?: boolean;
    }
    Index
    label?: string
    maxBatchBytes?: number

    Cap each GPU batch's bytes (inputs, scratch, outputs) for a lower build peak; default none.

    The GPU builder ('gpu-hploc', the default, or 'gpu-lbvh'), or 'tinybvh' to force the CPU builder (for comparisons).

    prepare?: boolean

    Default true: the factory compiles the GPU builder's pipelines before it resolves. False: MeshLayoutBuilder.prepare (or the first build) does, so an app can time or schedule it apart.