pub struct FrameTargets {
pub color: TextureViewId,
pub depth: Option<TextureViewId>,
}Expand description
Targets acquired by RenderSystem::begin_frame for the current frame.
The engine inserts these into the per-frame FrameContext (as
ColorTarget / DepthTarget) so agents can read them when recording
passes into the frame graph.
Fields§
§color: TextureViewIdColor attachment: swapchain texture or offscreen viewport.
depth: Option<TextureViewId>Depth attachment, when depth buffering is enabled.
Trait Implementations§
Source§impl Clone for FrameTargets
impl Clone for FrameTargets
Source§fn clone(&self) -> FrameTargets
fn clone(&self) -> FrameTargets
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameTargets
impl Debug for FrameTargets
impl Copy for FrameTargets
Auto Trait Implementations§
impl Freeze for FrameTargets
impl RefUnwindSafe for FrameTargets
impl Send for FrameTargets
impl Sync for FrameTargets
impl Unpin for FrameTargets
impl UnsafeUnpin for FrameTargets
impl UnwindSafe for FrameTargets
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle for Twhere
T: ?Sized,
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