pub enum PassKind {
Render,
Compute,
Copy,
}Expand description
Which scope a pass opens.
Variants§
Render
A render pass, with attachments.
Compute
A compute pass, with none.
Copy
A copy, which opens no scope at all.
The seam’s rule is that “copies, barriers and query writes are legal only
outside any pass”, so a body that copies cannot run inside either of
the other two. The graph still computes this pass’s barriers and orders
it against its neighbours exactly as it does for them — the only
difference is that CompiledGraph::execute opens nothing around the
body.
Implementations§
Trait Implementations§
impl Copy for PassKind
impl Eq for PassKind
impl StructuralPartialEq for PassKind
Auto Trait Implementations§
impl Forget for PassKind
impl Freeze for PassKind
impl Move for PassKind
impl RefUnwindSafe for PassKind
impl Send for PassKind
impl Sync for PassKind
impl Unpin for PassKind
impl UnsafeUnpin for PassKind
impl UnwindSafe for PassKind
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