pub struct CommandReplayContext<'a> {
pub state: &'a mut CommandReplayState,
pub stale_available: bool,
pub serve_stale: bool,
}Expand description
The replay half of primitives_for_placement_verified’s contract: the
command’s verification state plus the stale-transition seam. The caller
(the scene builder, which owns the per-command registry) says whether a
valid previous-frame emission is on hand; verification answers whether
this frame collapsed out of its capture and was therefore NOT emitted —
nothing materialized, the caller must re-emit its saved emission.
Fields§
§state: &'a mut CommandReplayState§stale_available: boolIn: the previous build emitted a replay frame the caller saved, still valid under the current recording generation and retained feed epoch, and the stale-transition flag is on.
serve_stale: boolOut: verification collapsed out of an established capture while
stale_available held, so the recording was finished via
cranpose_ui_graphics::DrawScopeDefault::finish_recording_only
— no primitives, no frame — and the caller re-emits its saved
emission in place of this frame’s.