Struct screen_13::prelude::vk::SparseImageFormatPropertiesBuilder
source · pub struct SparseImageFormatPropertiesBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> SparseImageFormatPropertiesBuilder<'a>
impl<'a> SparseImageFormatPropertiesBuilder<'a>
pub fn aspect_mask(
self,
aspect_mask: ImageAspectFlags
) -> SparseImageFormatPropertiesBuilder<'a>
pub fn image_granularity(
self,
image_granularity: Extent3D
) -> SparseImageFormatPropertiesBuilder<'a>
pub fn flags(
self,
flags: SparseImageFormatFlags
) -> SparseImageFormatPropertiesBuilder<'a>
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.
Trait Implementations§
source§impl<'a> Deref for SparseImageFormatPropertiesBuilder<'a>
impl<'a> Deref for SparseImageFormatPropertiesBuilder<'a>
§type Target = SparseImageFormatProperties
type Target = SparseImageFormatProperties
The resulting type after dereferencing.