pub struct BindSparseInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for VkBindSparseInfo
.
Implementations§
Source§impl<'b> BindSparseInfoBuilder<'b>
impl<'b> BindSparseInfoBuilder<'b>
pub fn new() -> BindSparseInfoBuilder<'b>
pub unsafe fn next<'m>(self, next: *const c_void) -> BindSparseInfoBuilder<'b>
pub fn wait_semaphores<'m, 'a>(
self,
wait_semaphores: &'a [SemaphoreHandle],
) -> BindSparseInfoBuilder<'b>where
'a: 'b,
pub fn buffer_binds<'m, 'a>(
self,
buffer_binds: &'a [SparseBufferMemoryBindInfo<'_>],
) -> BindSparseInfoBuilder<'b>where
'a: 'b,
pub fn image_opaque_binds<'m, 'a>(
self,
image_opaque_binds: &'a [SparseImageOpaqueMemoryBindInfo<'_>],
) -> BindSparseInfoBuilder<'b>where
'a: 'b,
pub fn image_binds<'m, 'a>(
self,
image_binds: &'a [SparseImageMemoryBindInfo<'_>],
) -> BindSparseInfoBuilder<'b>where
'a: 'b,
pub fn signal_semaphores<'m, 'a>(
self,
signal_semaphores: &'a [SemaphoreHandle],
) -> BindSparseInfoBuilder<'b>where
'a: 'b,
pub fn get_next<'a>(&'a self) -> *const c_void
pub fn get_wait_semaphores<'a>(&'a self) -> &'a [VkSemaphore] ⓘ
pub fn get_buffer_binds<'a>(&'a self) -> &'a [SparseBufferMemoryBindInfo<'_>]
pub fn get_image_opaque_binds<'a>( &'a self, ) -> &'a [SparseImageOpaqueMemoryBindInfo<'_>]
pub fn get_image_binds<'a>(&'a self) -> &'a [SparseImageMemoryBindInfo<'_>]
pub fn get_signal_semaphores<'a>(&'a self) -> &'a [VkSemaphore] ⓘ
pub fn build(self) -> BindSparseInfo<'b>
Trait Implementations§
Source§impl<'b> Clone for BindSparseInfoBuilder<'b>
impl<'b> Clone for BindSparseInfoBuilder<'b>
Source§fn clone(&self) -> BindSparseInfoBuilder<'b>
fn clone(&self) -> BindSparseInfoBuilder<'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'b> Debug for BindSparseInfoBuilder<'b>
impl<'b> Debug for BindSparseInfoBuilder<'b>
Source§impl<'b> Default for BindSparseInfoBuilder<'b>
impl<'b> Default for BindSparseInfoBuilder<'b>
Source§fn default() -> BindSparseInfoBuilder<'b>
fn default() -> BindSparseInfoBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for BindSparseInfoBuilder<'b>
impl<'b> RefUnwindSafe for BindSparseInfoBuilder<'b>
impl<'b> !Send for BindSparseInfoBuilder<'b>
impl<'b> !Sync for BindSparseInfoBuilder<'b>
impl<'b> Unpin for BindSparseInfoBuilder<'b>
impl<'b> UnwindSafe for BindSparseInfoBuilder<'b>
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