Struct ash::vk::SparseImageFormatPropertiesBuilder
source · #[repr(transparent)]pub struct SparseImageFormatPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SparseImageFormatPropertiesBuilder<'a>
impl<'a> SparseImageFormatPropertiesBuilder<'a>
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn image_granularity(self, image_granularity: Extent3D) -> Self
pub fn flags(self, flags: SparseImageFormatFlags) -> Self
sourcepub fn build(self) -> SparseImageFormatProperties
pub fn build(self) -> SparseImageFormatProperties
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.