pub struct CommandReplayFrame {
pub center: Point,
pub spans: Vec<FrameSpan>,
pub fallback: Option<Rc<CommandRecording>>,
}Expand description
A command’s replay verdict translated into the space its consumers see: spans address the run’s materialized primitive vector, not the record tape. This is what rides the render graph next to the primitives.
Fields§
§center: PointThe similarity pivot every span transform rotates and scales about.
spans: Vec<FrameSpan>Interleaved retained/dynamic structure in exact z order.
fallback: Option<Rc<CommandRecording>>The frame-owned rematerialization source: the exact recording this
frame’s spans address, pinned for the frame’s lifetime. A bypassed
span (empty primitive range) that cannot draw retained materializes
its tape_range from HERE — never from a sweepable ambient registry,
whose contents may have moved on by render time. None only before
the recording is published (the builder attaches the published
handle) or on hand-built frames with nothing bypassed. Shared, not
cloned: the handle pins the recording buffers; the depth-one frame
packet will carry this same handle as an Arc when the graph goes
Send.
Trait Implementations§
Source§impl Clone for CommandReplayFrame
impl Clone for CommandReplayFrame
Source§fn clone(&self) -> CommandReplayFrame
fn clone(&self) -> CommandReplayFrame
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more