@pmndrs/bvh
    Preparing search index...

    Interface StaticMergeOptions

    Options of mergeStaticGeometry.

    interface StaticMergeOptions {
        maxTrianglesPerGroup?: number;
        triangleLeaves?: GpuLayoutTriangleLeaves;
    }

    Hierarchy (View Summary)

    Index
    maxTrianglesPerGroup?: number

    Most triangles in one merged mesh; a group that would pass it is split. Default (and at most) the layout's limit, 2^28 - 1.

    triangleLeaves?: GpuLayoutTriangleLeaves

    The format of the scene the plan is for. 'indexed' also closes a group at MAX_MERGED_SOURCES sources (an indexed scene names a merged triangle's source by a 16-bit slot). Default 'records': no source cap, the grouping it always had.