Struct ash::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) -> 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.
Trait Implementations§
source§impl<'a> Deref for SparseImageFormatPropertiesBuilder<'a>
impl<'a> Deref for SparseImageFormatPropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SparseImageFormatPropertiesBuilder<'a>
impl<'a> RefUnwindSafe for SparseImageFormatPropertiesBuilder<'a>
impl<'a> Send for SparseImageFormatPropertiesBuilder<'a>
impl<'a> Sync for SparseImageFormatPropertiesBuilder<'a>
impl<'a> Unpin for SparseImageFormatPropertiesBuilder<'a>
impl<'a> UnwindSafe for SparseImageFormatPropertiesBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more