Struct ash::vk::SparseMemoryBindBuilder
source · #[repr(transparent)]pub struct SparseMemoryBindBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SparseMemoryBindBuilder<'a>
impl<'a> SparseMemoryBindBuilder<'a>
pub fn resource_offset(self, resource_offset: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
pub fn flags(self, flags: SparseMemoryBindFlags) -> Self
sourcepub fn build(self) -> SparseMemoryBind
pub fn build(self) -> SparseMemoryBind
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.