@pmndrs/reflections
    Preparing search index...

    Interface ReflectionDenoiseSeam

    Maps one frame of the contract onto the denoiser's guides and runs it. Call dispatch after the frame's signal has been submitted; it submits its own guides pass, then the denoiser's work.

    interface ReflectionDenoiseSeam {
        denoiser: TemporalDenoiser<SpecularInputs>;
        guides: DenoiseGuides | null;
        hitSource: GPUTexture | null;
        destroy(): void;
        dispatch(
            frame: FrameInputs,
            signal: SpecularInputs,
            sources?: DenoiseHitSources | null,
        ): GPUTexture;
        resetHistory(): void;
    }
    Index
    guides: DenoiseGuides | null

    The guides of the last dispatch (for debug views).

    hitSource: GPUTexture | null

    The hit source of the last dispatch that was given sources (r32float, HIT_SOURCE codes), else null.

    • Denoise. Returns the denoiser's output texture (owned by it, valid until its next dispatch). With sources (W53), the seam also hands the denoiser hitSource, built from them: a traced hit off screen is traced; a screen-space hit (confidence > 0, W52's reading) or a traced hit shaded from the on-screen colour is screen; anything else is miss. A signal.hitSource given by the caller is passed as is.

      Parameters

      Returns GPUTexture