Struct ash::vk::BufferMemoryBarrierBuilder [−][src]
#[repr(transparent)]pub struct BufferMemoryBarrierBuilder<'a> { /* fields omitted */ }
Implementations
pub fn src_queue_family_index(
self,
src_queue_family_index: u32
) -> BufferMemoryBarrierBuilder<'a>
pub fn dst_queue_family_index(
self,
dst_queue_family_index: u32
) -> BufferMemoryBarrierBuilder<'a>
pub fn push_next<T: ExtendsBufferMemoryBarrier>(
self,
next: &'a mut T
) -> BufferMemoryBarrierBuilder<'a>
pub fn push_next<T: ExtendsBufferMemoryBarrier>(
self,
next: &'a mut T
) -> BufferMemoryBarrierBuilder<'a>
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call builder.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
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.
Methods from Deref<Target = BufferMemoryBarrier>
Trait Implementations
type Target = BufferMemoryBarrier
type Target = BufferMemoryBarrier
The resulting type after dereferencing.