Struct ash::vk::SparseImageMemoryRequirementsBuilder
source · [−]#[repr(transparent)]pub struct SparseImageMemoryRequirementsBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for SparseImageMemoryRequirementsBuilder<'a>
impl<'a> Deref for SparseImageMemoryRequirementsBuilder<'a>
type Target = SparseImageMemoryRequirements
type Target = SparseImageMemoryRequirements
The resulting type after dereferencing.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more