@pmndrs/bvh
    Preparing search index...

    Interface GpuTreeRequest

    A mesh to build: its slot and version, and its geometry, read once when the build starts.

    interface GpuTreeRequest {
        generation: number;
        geometry: GpuMeshGeometry;
        slot: number;
        triangleLeading?: number;
    }
    Index
    generation: number
    geometry: GpuMeshGeometry
    slot: number
    triangleLeading?: number

    Triangles left free before the mesh's in its batch's triangle buffer (GpuBuildOptions.triangleLeading): an indexed scene that adopts the buffer writes the mesh's header and side tables there. Default 0.