pub struct SubmitBindSparseBatchBuilder<'a> { /* private fields */ }
Expand description

A single batch of a sparse bind operation.

Implementations

Builds a new empty SubmitBindSparseBatchBuilder.

Adds an operation that binds memory to a buffer.

Adds an operation that binds memory to an opaque image.

Adds an operation that binds memory to an image.

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.

Returns the number of semaphores to signal.

In other words, this is the number of times add_signal_semaphore has been called.

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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.