Struct ash::vk::MemoryBarrier2Builder
source · pub struct MemoryBarrier2Builder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MemoryBarrier2Builder<'a>
impl<'a> MemoryBarrier2Builder<'a>
pub fn src_stage_mask(self, src_stage_mask: PipelineStageFlags2) -> Self
pub fn src_access_mask(self, src_access_mask: AccessFlags2) -> Self
pub fn dst_stage_mask(self, dst_stage_mask: PipelineStageFlags2) -> Self
pub fn dst_access_mask(self, dst_access_mask: AccessFlags2) -> Self
sourcepub fn build(self) -> MemoryBarrier2
pub fn build(self) -> MemoryBarrier2
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 MemoryBarrier2Builder<'a>
impl<'a> Deref for MemoryBarrier2Builder<'a>
source§impl<'a> DerefMut for MemoryBarrier2Builder<'a>
impl<'a> DerefMut for MemoryBarrier2Builder<'a>
impl ExtendsSubpassDependency2 for MemoryBarrier2Builder<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryBarrier2Builder<'a>
impl<'a> RefUnwindSafe for MemoryBarrier2Builder<'a>
impl<'a> !Send for MemoryBarrier2Builder<'a>
impl<'a> !Sync for MemoryBarrier2Builder<'a>
impl<'a> Unpin for MemoryBarrier2Builder<'a>
impl<'a> UnwindSafe for MemoryBarrier2Builder<'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