@pmndrs/reflections
    Preparing search index...

    Interface ScreenSpaceReflectionsOutputs

    interface ScreenSpaceReflectionsOutputs {
        blueNoise: GPUTexture;
        confidence: GPUTexture;
        denoiserTileList: GPUBuffer;
        depthHierarchy: GPUTexture;
        extractedRoughness: GPUTexture;
        hitColorFilterActive?: boolean;
        hitColorPyramid?: GPUTexture;
        hitDistance: GPUTexture;
        indirectArgs: GPUBuffer;
        missArgs?: GPUBuffer;
        missCapacity?: number;
        missCounter?: GPUBuffer;
        missFillCapacity?: number;
        missList?: GPUBuffer;
        radiance: GPUTexture;
        rayCounter: GPUBuffer;
        rayList: GPUBuffer;
        sampleDirection?: GPUTexture;
        settings?: Readonly<ScreenSpaceReflectionsSettings>;
        tileFlags: GPUBuffer;
    }
    Index
    blueNoise: GPUTexture
    confidence: GPUTexture

    r32float: hit confidence in [0, 1] (FFX's vignette x thickness falloff; 0 for rejected rays, rough pixels and the background). Radiance is mix(fallback, hit, confidence); a resolve that blends its own fallback reads this. Port addition: FFX only uses it inside intersect.

    denoiserTileList: GPUBuffer

    u32 per 8x8 tile with a glossy reflective pixel: tile origin x | y << 16.

    depthHierarchy: GPUTexture
    extractedRoughness: GPUTexture

    r32float: linear roughness (alpha).

    hitColorFilterActive?: boolean

    W72: this frame ran hitColorFilter: 'cone' (false while its pipelines build, or where it is unavailable).

    hitColorPyramid?: GPUTexture

    W72 (D5020): the hit-colour pyramid this frame's 'cone' read, when it is of this frame's scene colour (inputs.color); undefined otherwise. The ray-traced pass reads it for its on-screen hits.

    hitDistance: GPUTexture

    r32float: world hit distance, 0 where the ray found no screen-space hit (the denoiser's convention).

    indirectArgs: GPUBuffer

    Indirect args: intersect at byte 0, denoiser (one group per tile) at byte 12. 2-D groups (x = min(n, 65535), y = ceil(n / x)): index a group as wg.y * nwg.x + wg.x and bounds-check against rayCounter[1] / [3] (D601; FFX writes 1-D, which overflows at 4K).

    missArgs?: GPUBuffer

    Indirect args for a ray-traced pass over the miss list: 64 per group, 2-D groups (index (wg.y * nwg.x + wg.x) * 64 + local, bounds-check against missCounter[1]). W74: bytes 12-23 hold the same for the fill list (bounds-check against missCounter[5]).

    missCapacity?: number

    W74 (X4): entries of the miss list before the fill list: the k-th fill entry is missList[missCapacity + k].

    missCounter?: GPUBuffer

    [0] append counter (reset after intersect), [1] misses listed this frame, [2] overflow append counter (reset), [3] dropped past capacity this frame.

    missFillCapacity?: number

    W74 (X4): fill-list entries at most (tracedMissRate: 'half'); past it intersect sends the entry to the miss list.

    missList?: GPUBuffer

    vec2u per miss: packed ray coords (as rayList), oct-encoded world direction (2 x snorm16).

    radiance: GPUTexture

    rgba16float: reflected radiance rgb, world ray length in w (FFX layout).

    rayCounter: GPUBuffer

    [0] next frame's ray counter, [1] rays this frame, [2] next frame's tile counter, [3] tiles this frame.

    rayList: GPUBuffer

    u32 per ray: x (15 bits) | y (14 bits) << 15 | copy horizontal / vertical / diagonal << 29 / 30 / 31.

    sampleDirection?: GPUTexture

    W78 (options.sampleDirection, D5140): rgba32float, each pixel's ray direction (world, .xyz) and its pdf (.w; 0 = no sample this frame). denoiser-core's SpecularInputs.direction.

    settings?: Readonly<ScreenSpaceReflectionsSettings>

    W76: the settings the last dispatch ran with, every default resolved (resolveScreenSpaceSettings) and the cone's fallback applied (while 'cone' builds: 'off', and a compensated bias 0). The ray-traced pass takes its lobe split from here unless its own settings give one; the bench shows the effective thickness from it.

    tileFlags: GPUBuffer

    u32 per 8x8 tile (row-major): bit 0 listed, bit 1 has a non-mirror glossy pixel.