@pmndrs/bvh
    Preparing search index...

    Interface BatchPlanOptions

    Options of the batch planners.

    interface BatchPlanOptions {
        maxBatchBytes?: number;
        triangleLeaves?: GpuLayoutTriangleLeaves;
    }

    Hierarchy (View Summary)

    Index
    maxBatchBytes?: number

    Each batch's GPU bytes (inputs, scratch and outputs) stay at or under this, except a single mesh bigger than it, which gets a batch of its own. Default: no cap (batches as big as the device's buffers allow).

    triangleLeaves?: GpuLayoutTriangleLeaves

    The trees' triangle format, whose output size the cap counts. Default 'records'.