@pmndrs/reflections
    Preparing search index...

    Interface TracedReflections

    interface TracedReflections {
        device: GPUDevice;
        halfRateReady: boolean;
        height: number;
        provider: TraceProvider;
        source: GPUTexture;
        state: GPUBuffer;
        tilesX: number;
        tilesY: number;
        width: number;
        destroy(): void;
        dispatch(
            cmd: GPUCommandEncoder,
            frame: TracedReflectionsDispatch,
            settings?: TracedReflectionsSettings,
        ): void;
        prepareHalfRate(): Promise<void>;
        readStats(): Promise<TracedReflectionsStats>;
        readTimings(): Promise<ReadonlyMap<string, number>>;
    }
    Index
    device: GPUDevice
    halfRateReady: boolean

    W74 (review fix 4): the half-rate fill's pipelines are compiled (asynchronously, on the first tracedMissRate: 'half' dispatch or prepareHalfRate()). Until then a 'half' dispatch runs no fill: give the SSSR tracer 'full' meanwhile (the three adapter does), or its fill entries keep intersect's fallback for those frames.

    height: number
    provider: TraceProvider
    source: GPUTexture

    r32float per pixel: RT_SOURCE code (0 untouched, 1 traced hit, 2 traced miss, 3 capped, 4 traced hit that reused the on-screen colour). Cleared each dispatch.

    state: GPUBuffer

    u32: RT_STATE header (16 words), then one counter per 8x8 tile (row-major): misses that tile asked for.

    tilesX: number
    tilesY: number
    width: number
    • With timestamps: ms per pass ('rt begin', 'rt trace', 'total') for the last frame.

      Returns Promise<ReadonlyMap<string, number>>