Struct ash::vk::MemoryBarrierBuilder  
source · #[repr(transparent)]pub struct MemoryBarrierBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> MemoryBarrierBuilder<'a>
 
impl<'a> MemoryBarrierBuilder<'a>
pub fn src_access_mask(self, src_access_mask: AccessFlags) -> Self
pub fn dst_access_mask(self, dst_access_mask: AccessFlags) -> Self
sourcepub fn build(self) -> MemoryBarrier
 
pub fn build(self) -> MemoryBarrier
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.