@pmndrs/bvh
    Preparing search index...

    Interface TraceBatchKernelOptions

    interface TraceBatchKernelOptions {
        anyHitOrder?: AnyHitOrder;
        counters?: boolean;
        hitNormal?: boolean;
        label?: string;
        nodeFormat?: GpuLayoutNodeFormat;
        positionLayout?: PositionLayout;
        quantizedDecode?: QuantizedDecode;
        rayMasks?: boolean;
        triangleFilter?: string;
        triangleLeaves?: GpuLayoutTriangleLeaves;
    }
    Index
    anyHitOrder?: AnyHitOrder

    The any-hit walk's child order, compiled in (AnyHitOrder). Default 'far' (best for rays from surfaces); 'larger' for rays from outside the geometry or across open space.

    counters?: boolean

    Compile the counted walk (TraceModuleOptions.counters): every ray's result is a BvhWalkCounts (WALK_COUNTS_BYTES, words in WALK_COUNTS_WORD), the hit and the walk's work, in either mode. For heat maps and tools; trace with a kernel without it for speed. Default false.

    hitNormal?: boolean

    Default true: 40-byte closest-hit records with material and normal. False: the 24-byte compact record.

    label?: string
    nodeFormat?: GpuLayoutNodeFormat

    The scenes' node format, compiled in. Default 'quantized' (DEFAULT_NODE_FORMAT), as scenes are by default; a kernel refuses a scene of the other format.

    positionLayout?: PositionLayout

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

    quantizedDecode?: QuantizedDecode

    How the walk decodes quantized nodes, compiled in (QuantizedDecode). Default 'exact'; 'folded' is the measured lever (quantized nodes only).

    rayMasks?: boolean

    Default true: each batch has a ray mask (TraceBatch.mask). False compiles masks out.

    triangleFilter?: string

    The triangle filter (bvhTrianglePasses); default: every triangle blocks.

    triangleLeaves?: GpuLayoutTriangleLeaves

    The scenes' triangle format, compiled in. Default 'records'.