pub struct Pass<'a, F: FrameOperations + ?Sized> {
pub colors: &'a [ColorTarget<'a, F>],
pub depth: Option<DepthTarget<'a, F>>,
}Expand description
Describes a render pass: a set of color attachments and an optional depth attachment to render into.
Fields§
§colors: &'a [ColorTarget<'a, F>]Color attachments for this pass.
depth: Option<DepthTarget<'a, F>>Optional depth attachment for this pass.
Auto Trait Implementations§
impl<'a, F> Freeze for Pass<'a, F>where
F: ?Sized,
impl<'a, F> RefUnwindSafe for Pass<'a, F>where
<F as FrameOperations>::DepthAttachment: RefUnwindSafe,
<F as FrameOperations>::Attachment: RefUnwindSafe,
F: ?Sized,
impl<'a, F> Send for Pass<'a, F>where
<F as FrameOperations>::DepthAttachment: Sync,
<F as FrameOperations>::Attachment: Sync,
F: ?Sized,
impl<'a, F> Sync for Pass<'a, F>where
<F as FrameOperations>::DepthAttachment: Sync,
<F as FrameOperations>::Attachment: Sync,
F: ?Sized,
impl<'a, F> Unpin for Pass<'a, F>where
F: ?Sized,
impl<'a, F> UnsafeUnpin for Pass<'a, F>where
F: ?Sized,
impl<'a, F> UnwindSafe for Pass<'a, F>where
<F as FrameOperations>::DepthAttachment: RefUnwindSafe,
<F as FrameOperations>::Attachment: RefUnwindSafe,
F: ?Sized,
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