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