Struct ash::vk::SparseBufferMemoryBindInfoBuilder
source · #[repr(transparent)]pub struct SparseBufferMemoryBindInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SparseBufferMemoryBindInfoBuilder<'a>
impl<'a> SparseBufferMemoryBindInfoBuilder<'a>
pub fn buffer(self, buffer: Buffer) -> Self
pub fn binds(self, binds: &'a [SparseMemoryBind]) -> Self
sourcepub fn build(self) -> SparseBufferMemoryBindInfo
pub fn build(self) -> SparseBufferMemoryBindInfo
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.