pub struct RenderFlow;Expand description
Projects the ECS World into the per-frame RenderWorld consumed by the
render lanes.
Trait Implementations§
Source§impl Default for RenderFlow
impl Default for RenderFlow
Source§fn default() -> RenderFlow
fn default() -> RenderFlow
Returns the “default value” for a type. Read more
Source§impl Flow for RenderFlow
impl Flow for RenderFlow
Source§fn cache_key(&self, world: &World, runtime: &Runtime) -> Option<u64>
fn cache_key(&self, world: &World, runtime: &Runtime) -> Option<u64>
The projection below reads mesh/material handles, Light and
Camera (Render domain), GlobalTransform (Spatial domain), and —
through primary_view — the editor viewport override, which is
runtime state with no ECS epoch. Folding its bit-level fingerprint
into the key keeps editor camera motion from serving stale views.
Source§const DOMAIN: SemanticDomain = SemanticDomain::Render
const DOMAIN: SemanticDomain = SemanticDomain::Render
Domain identifier — matches the agent’s domain.
Source§type View = RenderWorld
type View = RenderWorld
The typed view this Flow publishes into the LaneBus.
Clone so the
registration trampoline can republish a cached view without
re-running select/project (views hold Arcs and plain data, so
cloning is cheap relative to a full re-projection).Auto Trait Implementations§
impl Freeze for RenderFlow
impl RefUnwindSafe for RenderFlow
impl Send for RenderFlow
impl Sync for RenderFlow
impl Unpin for RenderFlow
impl UnsafeUnpin for RenderFlow
impl UnwindSafe for RenderFlow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more