@pmndrs/reflections
    Preparing search index...

    Variable RT_STATEConst

    RT_STATE: {
        capped: 1;
        filled: 12;
        fillFallbacks: 13;
        granted: 6;
        hits: 2;
        misses: 3;
        onScreen: 7;
        tileBase: 9;
        tileCap: 8;
        tileExtra: 11;
        tilePhase: 10;
        tilesWithMisses: 4;
        tilesWithMissesLastFrame: 5;
        traced: 0;
    } = ...

    State buffer header, u32 words. 0-4 and 6-7 are this frame's counts (zeroed by the begin pass, read back for debug); 5 and 8-11 are inputs the begin pass computes (10 persists across frames).

    Type Declaration

    • Readonlycapped: 1
    • Readonlyfilled: 12

      W74 (X4): fill-list pixels the bilateral fill gave their traced neighbours' result (zeroed by the begin pass).

    • ReadonlyfillFallbacks: 13

      W74 (X4): fill-list pixels with no usable neighbour (kept intersect's fallback, source 'capped').

    • Readonlygranted: 6
    • Readonlyhits: 2
    • Readonlymisses: 3
    • ReadonlyonScreen: 7
    • ReadonlytileBase: 9

      Rays every tile may trace: floor(budget / tiles with misses last frame), at most maxRaysPerTile.

    • ReadonlytileCap: 8

      The most rays any tile may trace this frame (tileBase, + 1 when tileExtra > 0).

    • ReadonlytileExtra: 11

      f32 bits: the fraction of tiles that get one ray more (remainder / tiles).

    • ReadonlytilePhase: 10

      f32 bits: phase of the rotating remainder, in [0, 1).

    • ReadonlytilesWithMisses: 4
    • ReadonlytilesWithMissesLastFrame: 5
    • Readonlytraced: 0