Struct ash::vk::SparseImageMemoryBindBuilder
source · pub struct SparseImageMemoryBindBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SparseImageMemoryBindBuilder<'a>
impl<'a> SparseImageMemoryBindBuilder<'a>
pub fn subresource(self, subresource: ImageSubresource) -> Self
pub fn offset(self, offset: Offset3D) -> Self
pub fn extent(self, extent: Extent3D) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
pub fn flags(self, flags: SparseMemoryBindFlags) -> Self
sourcepub fn build(self) -> SparseImageMemoryBind
pub fn build(self) -> SparseImageMemoryBind
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 SparseImageMemoryBindBuilder<'a>
impl<'a> Deref for SparseImageMemoryBindBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SparseImageMemoryBindBuilder<'a>
impl<'a> RefUnwindSafe for SparseImageMemoryBindBuilder<'a>
impl<'a> Send for SparseImageMemoryBindBuilder<'a>
impl<'a> Sync for SparseImageMemoryBindBuilder<'a>
impl<'a> Unpin for SparseImageMemoryBindBuilder<'a>
impl<'a> UnwindSafe for SparseImageMemoryBindBuilder<'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