@pmndrs/bvh
    Preparing search index...

    Interface SdfGeneratorOptions

    Options of SdfGenerator.create: the output and the scenes' formats, compiled in, as for ClosestPointBatchKernel.

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

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

    output?: SdfOutput

    Default 'texture' (an r32float 3D storage texture); 'buffer' for f32 in a storage buffer.

    positionLayout?: PositionLayout

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

    rayMasks?: boolean

    Default true: each call may pass a mask. False compiles masks out.

    triangleLeaves?: GpuLayoutTriangleLeaves

    The scenes' triangle format. Default 'records'.