Returns the pending view-state and clears it, or null if nothing was queued.
Whether a view-state is currently queued.
Process any pending view-state queued during a retry / refinement
loop. Fires on a microtask so the caller's promise resolves first,
then re-enters updateView via the supplied trigger callback.
True when a state was queued and a re-entry has been scheduled;
false when the slot was empty and nothing will run. Callers that also
settle _passWaiters need this: the re-entered pass carries the parked
waiters to its own commit, so resolving them as well would release them
before the view they asked for has landed.
S6: per-loader predictive prefetch. Extrapolates the next-frame
view state from the path's previous derived view-state to the
current one and fires prefetchChunks(predicted) on the loader.
Honors per-node tolerance extension (incl. a fully-extended node's
slice-invariant query) by accepting the derived view-state (caller
computes it) — so extended nodes don't get over-prefetched.
Fire-and-forget in a microtask so a slow prefetch cannot delay the commit path.
Drop the saved per-node previous view-state for a single path.
Clear the per-loader prefetch predictor state. Called on dataset switch + on retry-baseline failures so a reused SceneLoader doesn't extrapolate from a prior dataset.
Queue a view-state for a future drain. Overwrites any previous pending state.