pub struct ShadowFlow;Expand description
Computes shadow view-projection matrices.
Trait Implementations§
Source§impl Default for ShadowFlow
impl Default for ShadowFlow
Source§fn default() -> ShadowFlow
fn default() -> ShadowFlow
Returns the “default value” for a type. Read more
Source§impl Flow for ShadowFlow
impl Flow for ShadowFlow
Source§fn cache_key(&self, world: &World, runtime: &Runtime) -> Option<u64>
fn cache_key(&self, world: &World, runtime: &Runtime) -> Option<u64>
Same inputs as RenderFlow: Light / Camera (Render domain),
GlobalTransform (Spatial domain), and primary_view’s editor
viewport override (runtime state, fingerprinted bit-for-bit).
Source§const DOMAIN: SemanticDomain = SemanticDomain::Render
const DOMAIN: SemanticDomain = SemanticDomain::Render
Domain identifier — matches the agent’s domain.
Source§type View = ShadowView
type View = ShadowView
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 ShadowFlow
impl RefUnwindSafe for ShadowFlow
impl Send for ShadowFlow
impl Sync for ShadowFlow
impl Unpin for ShadowFlow
impl UnsafeUnpin for ShadowFlow
impl UnwindSafe for ShadowFlow
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