@pmndrs/reflections
    Preparing search index...

    Interface ScreenSpaceReflectionsOptions

    interface ScreenSpaceReflectionsOptions {
        depthInverted?: boolean;
        height: number;
        hitSource?: boolean;
        hitSpecularShading?: HitShading;
        missList?: boolean;
        radianceFallback?: RadianceFallback;
        sampleDirection?: boolean;
        timestamps?: boolean;
        variant?: "auto" | Variant;
        width: number;
    }
    Index
    depthInverted?: boolean

    Reverse-Z depth (1 = near). Picks max instead of min for the pyramid and flips the far plane. Default false.

    height: number
    hitSource?: boolean

    Bind inputs.hitSource (last frame's per-pixel hit source) in intersect, for settings.hitLobeFilterMixed (W52, D3641). One more sampled texture in the intersect stage, so off unless asked for. Default false.

    hitSpecularShading?: HitShading

    Where hitShading: 'reshade' looks up the radiance along a hit's reflected ray (W44, D3540): a hit shading module (core probeHitShading / environmentHitShading, the one a traced pass shades its hits with; its bindings in @group(3), bound per frame by inputs.hitShadingBindGroup). Default: the radiance fallback (sampleRadianceFallback).

    missList?: boolean

    Allocate the miss list (pixels for a ray-traced pass, see docs/SPEC.md "Work lists"). Default false.

    radianceFallback?: RadianceFallback

    Radiance for misses and rough pixels. Default: constantRadianceFallback().

    sampleDirection?: boolean

    W78 (X3 phase B, D5140): write outputs.sampleDirection, each pixel's sample for a denoiser that weights samples by BRDF / pdf (denoiser-core SpecularInputs.direction; FFX brdfWeights): rgba32float, the ray's world direction in .xyz and the pdf it was drawn with in .w (0 where no ray reached the pixel this frame, and on mirrors). The quad copies carry their ray's sample; a ray-traced pass over the miss list traces the same directions, so its pixels keep theirs. One more storage texture in intersect (4 of the default 4) and a clear per frame, so off unless asked for. Not meaningful with rayReuse: 'ratio' (its resolve already mixed the samples). Default false.

    timestamps?: boolean

    Per-pass GPU timestamps (needs 'timestamp-query'). Default false.

    variant?: "auto" | Variant

    'auto' (default) uses 'subgroups' when the device has the feature, else 'workgroup'.

    width: number