Struct sierra::SubpassDependency
source · pub struct SubpassDependency {
pub src: Option<u32>,
pub dst: Option<u32>,
pub src_stages: PipelineStages,
pub dst_stages: PipelineStages,
}
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: PipelineStages
Stages of the first subpass that will be synchronized
with stages for second subpass specified in dst_stages
.
dst_stages: PipelineStages
Stages of the second subpass that will be synchronized
with stages for first subpass specified in src_stages
.
Trait Implementations§
source§impl Clone for SubpassDependency
impl Clone for SubpassDependency
source§fn clone(&self) -> SubpassDependency
fn clone(&self) -> SubpassDependency
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubpassDependency
impl Debug for SubpassDependency
source§impl Hash for SubpassDependency
impl Hash for SubpassDependency
source§impl PartialEq<SubpassDependency> for SubpassDependency
impl PartialEq<SubpassDependency> for SubpassDependency
source§fn eq(&self, other: &SubpassDependency) -> bool
fn eq(&self, other: &SubpassDependency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.