pub struct SparseImageMemoryRequirementsBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SparseImageMemoryRequirementsBuilder<'a>
impl<'a> SparseImageMemoryRequirementsBuilder<'a>
pub fn format_properties( self, format_properties: SparseImageFormatProperties, ) -> Self
pub fn image_mip_tail_first_lod(self, image_mip_tail_first_lod: u32) -> Self
pub fn image_mip_tail_size(self, image_mip_tail_size: DeviceSize) -> Self
pub fn image_mip_tail_offset(self, image_mip_tail_offset: DeviceSize) -> Self
pub fn image_mip_tail_stride(self, image_mip_tail_stride: DeviceSize) -> Self
Sourcepub fn build(self) -> SparseImageMemoryRequirements
pub fn build(self) -> SparseImageMemoryRequirements
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 SparseImageMemoryRequirementsBuilder<'a>
impl<'a> Deref for SparseImageMemoryRequirementsBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SparseImageMemoryRequirementsBuilder<'a>
impl<'a> RefUnwindSafe for SparseImageMemoryRequirementsBuilder<'a>
impl<'a> Send for SparseImageMemoryRequirementsBuilder<'a>
impl<'a> Sync for SparseImageMemoryRequirementsBuilder<'a>
impl<'a> Unpin for SparseImageMemoryRequirementsBuilder<'a>
impl<'a> UnwindSafe for SparseImageMemoryRequirementsBuilder<'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