pub struct FrameGraphPass {
pub name: String,
pub reads: Vec<String>,
pub writes: Vec<String>,
pub dependencies: Vec<String>,
pub queue: QueueType,
}Expand description
A simple frame-graph pass descriptor.
Frame graphs describe the rendering / compute workload as a DAG of passes, enabling automatic barrier insertion and resource aliasing.
Fields§
§name: StringUnique name for this pass.
reads: Vec<String>Names of resources this pass reads.
writes: Vec<String>Names of resources this pass writes.
dependencies: Vec<String>Names of passes that must complete before this one.
queue: QueueTypeWhich queue this pass runs on.
Implementations§
Trait Implementations§
Source§impl Clone for FrameGraphPass
impl Clone for FrameGraphPass
Source§fn clone(&self) -> FrameGraphPass
fn clone(&self) -> FrameGraphPass
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 FrameGraphPass
impl RefUnwindSafe for FrameGraphPass
impl Send for FrameGraphPass
impl Sync for FrameGraphPass
impl Unpin for FrameGraphPass
impl UnsafeUnpin for FrameGraphPass
impl UnwindSafe for FrameGraphPass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more