Struct sierra::SubpassDependency [−][src]
pub struct SubpassDependency { pub src: Option<u32>, pub dst: Option<u32>, pub src_stages: PipelineStageFlags, pub dst_stages: PipelineStageFlags, }
Expand description
Defines memory dependency between two subpasses or subpass and commands outside render pass.
Fields
src: Option<u32>
Index of the first subpass in dependency.
None
for defining dependency between commands before render pass and
subpass.
Both src
and dst
cannot be None
.
dst: Option<u32>
Index of the second subpass in dependency.
None
for defining dependency between subpass and commands after
render pass.
Both src
and dst
cannot be None
.
src_stages: PipelineStageFlags
Stages of the first subpass that will be synchronized
with stages for second subpass specified in dst_stages
.
dst_stages: PipelineStageFlags
Stages of the second subpass that will be synchronized
with stages for first subpass specified in src_stages
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SubpassDependency
impl Send for SubpassDependency
impl Sync for SubpassDependency
impl Unpin for SubpassDependency
impl UnwindSafe for SubpassDependency
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more