pub struct CompiledPass {
pub id: PassId,
pub kind: PassKind,
pub reads: Vec<ResourceVersion>,
pub writes: Vec<ResourceVersion>,
pub presents: bool,
pub barriers_before: Vec<BarrierOp>,
}Expand description
One pass in execution order. Carries the declared reads / writes, the
barriers the executor must emit before running this pass, and the
PassKind + PassId the backend dispatches on.
Fields§
§id: PassIdThe pass’s stable identity.
kind: PassKindWhether the executor encodes a render or a compute pass.
reads: Vec<ResourceVersion>Resource versions this pass reads.
writes: Vec<ResourceVersion>Resource versions this pass writes.
presents: boolWhether this pass writes the swapchain image.
barriers_before: Vec<BarrierOp>Barriers the executor emits before the pass.
Trait Implementations§
Source§impl Clone for CompiledPass
impl Clone for CompiledPass
Source§fn clone(&self) -> CompiledPass
fn clone(&self) -> CompiledPass
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 moreAuto Trait Implementations§
impl Freeze for CompiledPass
impl RefUnwindSafe for CompiledPass
impl Send for CompiledPass
impl Sync for CompiledPass
impl Unpin for CompiledPass
impl UnsafeUnpin for CompiledPass
impl UnwindSafe for CompiledPass
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