pub struct SubpassDependencyBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SubpassDependencyBuilder<'a>
impl<'a> SubpassDependencyBuilder<'a>
pub fn src_subpass(self, src_subpass: u32) -> Self
pub fn dst_subpass(self, dst_subpass: u32) -> Self
pub fn src_stage_mask(self, src_stage_mask: PipelineStageFlags) -> Self
pub fn dst_stage_mask(self, dst_stage_mask: PipelineStageFlags) -> Self
pub fn src_access_mask(self, src_access_mask: AccessFlags) -> Self
pub fn dst_access_mask(self, dst_access_mask: AccessFlags) -> Self
pub fn dependency_flags(self, dependency_flags: DependencyFlags) -> Self
Sourcepub fn build(self) -> SubpassDependency
pub fn build(self) -> SubpassDependency
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for SubpassDependencyBuilder<'a>
impl<'a> Deref for SubpassDependencyBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SubpassDependencyBuilder<'a>
impl<'a> RefUnwindSafe for SubpassDependencyBuilder<'a>
impl<'a> Send for SubpassDependencyBuilder<'a>
impl<'a> Sync for SubpassDependencyBuilder<'a>
impl<'a> Unpin for SubpassDependencyBuilder<'a>
impl<'a> UnwindSafe for SubpassDependencyBuilder<'a>
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