Struct vulkano::command_buffer::SemaphoreSubmitInfo
source · pub struct SemaphoreSubmitInfo {
pub semaphore: Arc<Semaphore>,
pub stages: PipelineStages,
pub _ne: NonExhaustive,
}
Expand description
Parameters for a semaphore signal or wait operation in a command buffer submission.
Fields§
§semaphore: Arc<Semaphore>
The semaphore to signal or wait for.
stages: PipelineStages
For a semaphore wait operation, specifies the pipeline stages in the second synchronization scope: stages of queue operations following the wait operation that can start executing after the semaphore is signalled.
For a semaphore signal operation, specifies the pipeline stages in the first synchronization
scope: stages of queue operations preceding the signal operation that must complete before
the semaphore is signalled.
If this value does not equal ALL_COMMANDS
, then the synchronization2
feature must
be enabled on the device.
The default value is ALL_COMMANDS
.
_ne: NonExhaustive
Implementations§
Trait Implementations§
source§impl Clone for SemaphoreSubmitInfo
impl Clone for SemaphoreSubmitInfo
source§fn clone(&self) -> SemaphoreSubmitInfo
fn clone(&self) -> SemaphoreSubmitInfo
Returns a copy 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for SemaphoreSubmitInfo
impl Send for SemaphoreSubmitInfo
impl Sync for SemaphoreSubmitInfo
impl Unpin for SemaphoreSubmitInfo
impl !UnwindSafe for SemaphoreSubmitInfo
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