[−][src]Struct vulkano::command_buffer::submit::SubmitBindSparseBatchBuilder
A single batch of a sparse bind operation.
Methods
impl<'a> SubmitBindSparseBatchBuilder<'a>
[src]
pub fn new() -> SubmitBindSparseBatchBuilder<'a>
[src]
Builds a new empty SubmitBindSparseBatchBuilder
.
pub fn add_buffer(&mut self, cmd: SubmitBindSparseBufferBindBuilder<'a>)
[src]
Adds an operation that binds memory to a buffer.
pub fn add_image_opaque(
&mut self,
cmd: SubmitBindSparseImageOpaqueBindBuilder<'a>
)
[src]
&mut self,
cmd: SubmitBindSparseImageOpaqueBindBuilder<'a>
)
Adds an operation that binds memory to an opaque image.
pub fn add_image(&mut self, cmd: SubmitBindSparseImageBindBuilder<'a>)
[src]
Adds an operation that binds memory to an image.
pub unsafe fn add_wait_semaphore(&mut self, semaphore: &'a Semaphore)
[src]
Adds a semaphore to be waited upon before the sparse binding is executed.
Safety
-
If you submit this builder, the semaphore must be kept alive until you are guaranteed that the GPU has at least started executing the operation.
-
If you submit this builder, no other queue must be waiting on these semaphores. In other words, each semaphore signal can only correspond to one semaphore wait.
-
If you submit this builder, the semaphores must be signaled when the queue execution reaches this submission, or there must be one or more submissions in queues that are going to signal these semaphores. In other words, you must not block the queue with semaphores that can't get signaled.
-
The fence, buffers, images, and semaphores must all belong to the same device.
pub fn num_signal_semaphores(&self) -> usize
[src]
Returns the number of semaphores to signal.
In other words, this is the number of times add_signal_semaphore
has been called.
pub unsafe fn add_signal_semaphore(&mut self, semaphore: &'a Semaphore)
[src]
Adds a semaphore that is going to be signaled at the end of the submission.
Safety
-
If you submit this builder, the semaphore must be kept alive until you are guaranteed that the GPU has finished executing this submission.
-
The semaphore must be in the unsignaled state when queue execution reaches this submission.
-
The fence, buffers, images, and semaphores must all belong to the same device.
Auto Trait Implementations
impl<'a> Send for SubmitBindSparseBatchBuilder<'a>
impl<'a> Unpin for SubmitBindSparseBatchBuilder<'a>
impl<'a> Sync for SubmitBindSparseBatchBuilder<'a>
impl<'a> UnwindSafe for SubmitBindSparseBatchBuilder<'a>
impl<'a> RefUnwindSafe for SubmitBindSparseBatchBuilder<'a>
Blanket Implementations
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,