Struct ash::vk::MemoryRequirementsBuilder
source · #[repr(transparent)]pub struct MemoryRequirementsBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MemoryRequirementsBuilder<'a>
impl<'a> MemoryRequirementsBuilder<'a>
pub fn size(self, size: DeviceSize) -> Self
pub fn alignment(self, alignment: DeviceSize) -> Self
pub fn memory_type_bits(self, memory_type_bits: u32) -> Self
sourcepub fn build(self) -> MemoryRequirements
pub fn build(self) -> MemoryRequirements
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.