@pmndrs/bvh
    Preparing search index...

    Interface ClosestPointBatchKernelOptions

    Options of ClosestPointBatchKernel.create: the scenes' formats, compiled in, as for TraceBatchKernel.

    interface ClosestPointBatchKernelOptions {
        label?: string;
        nodeFormat?: GpuLayoutNodeFormat;
        positionLayout?: PositionLayout;
        rayMasks?: boolean;
        triangleLeaves?: GpuLayoutTriangleLeaves;
    }
    Index
    label?: string
    nodeFormat?: GpuLayoutNodeFormat

    The scenes' node format. Default 'quantized' (DEFAULT_NODE_FORMAT); a kernel refuses a scene of the other format.

    positionLayout?: PositionLayout

    Indexed only: 'vec4' (the default) or 'packed' positions.

    rayMasks?: boolean

    Default true: each batch has an instance mask (ClosestPointBatch.mask). False compiles masks out.

    triangleLeaves?: GpuLayoutTriangleLeaves

    The scenes' triangle format. Default 'records'.