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