pub struct FrameTargets<'v> {
pub target: ImageId,
pub extent: (u32, u32),
pub skinning: Option<&'v Skinning>,
pub views: &'v [ViewTarget],
}Expand description
What one call to ForwardRenderer::add_passes_with_views draws into.
Fields§
§target: ImageIdThe primary camera’s target, imported into the graph the call records into.
extent: (u32, u32)That target’s extent.
skinning: Option<&'v Skinning>The skinning plan whose dispatch the frame records, or None for a
frame that skins nothing — see
ForwardRenderer::add_skinned_passes.
views: &'v [ViewTarget]Every secondary view the frame draws, each into its own target.
Implementations§
Trait Implementations§
Source§impl<'v> Clone for FrameTargets<'v>
impl<'v> Clone for FrameTargets<'v>
impl<'v> Copy for FrameTargets<'v>
Auto Trait Implementations§
impl<'v> Forget for FrameTargets<'v>
impl<'v> Freeze for FrameTargets<'v>
impl<'v> Move for FrameTargets<'v>
impl<'v> RefUnwindSafe for FrameTargets<'v>
impl<'v> Send for FrameTargets<'v>
impl<'v> Sync for FrameTargets<'v>
impl<'v> Unpin for FrameTargets<'v>
impl<'v> UnsafeUnpin for FrameTargets<'v>
impl<'v> UnwindSafe for FrameTargets<'v>
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