Struct ash::vk::BufferMemoryBarrierBuilder
source · pub struct BufferMemoryBarrierBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> BufferMemoryBarrierBuilder<'a>
impl<'a> BufferMemoryBarrierBuilder<'a>
pub fn src_access_mask(self, src_access_mask: AccessFlags) -> Self
pub fn dst_access_mask(self, dst_access_mask: AccessFlags) -> Self
pub fn src_queue_family_index(self, src_queue_family_index: u32) -> Self
pub fn dst_queue_family_index(self, dst_queue_family_index: u32) -> Self
pub fn buffer(self, buffer: Buffer) -> Self
pub fn offset(self, offset: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
sourcepub fn build(self) -> BufferMemoryBarrier
pub fn build(self) -> BufferMemoryBarrier
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 BufferMemoryBarrierBuilder<'a>
impl<'a> Deref for BufferMemoryBarrierBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for BufferMemoryBarrierBuilder<'a>
impl<'a> RefUnwindSafe for BufferMemoryBarrierBuilder<'a>
impl<'a> !Send for BufferMemoryBarrierBuilder<'a>
impl<'a> !Sync for BufferMemoryBarrierBuilder<'a>
impl<'a> Unpin for BufferMemoryBarrierBuilder<'a>
impl<'a> UnwindSafe for BufferMemoryBarrierBuilder<'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