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 not set to all_commands
only, the
synchronization2
feature must be enabled
on the device.
The default value has only all_commands
set.
_ne: NonExhaustive
Implementations
Trait Implementations
sourceimpl Clone for SemaphoreSubmitInfo
impl Clone for SemaphoreSubmitInfo
sourcefn clone(&self) -> SemaphoreSubmitInfo
fn clone(&self) -> SemaphoreSubmitInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more