pub struct SemaphoreSubmitInfo {
pub semaphore: Semaphore,
pub stage_mask: PipelineStageFlags2,
pub value: u64,
}Expand description
Semaphore information used during submission.
Used for both waits and signals. The legacy vkQueueSubmit path only supports binary
semaphores and coarse stage masks: value must be 0, and
stage_mask must be vk::PipelineStageFlags2::ALL_COMMANDS or
vk::PipelineStageFlags2::NONE. Use SemaphoreSubmit2Info with
QueueSubmitInfo::QueueSubmit2 when a more precise stage mask is required.
See VkSubmitInfo.
Fields§
§semaphore: SemaphoreSemaphore to wait on or signal.
Defaults to vk::Semaphore::null.
stage_mask: PipelineStageFlags2Stages blocked by this wait, or stages after which the semaphore is signaled.
Defaults to vk::PipelineStageFlags2::empty.
value: u64Timeline value to wait for or signal, or 0 for binary semaphores.
Trait Implementations§
Source§impl Clone for SemaphoreSubmitInfo
impl Clone for SemaphoreSubmitInfo
Source§fn clone(&self) -> SemaphoreSubmitInfo
fn clone(&self) -> SemaphoreSubmitInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemaphoreSubmitInfo
Source§impl Debug for SemaphoreSubmitInfo
impl Debug for SemaphoreSubmitInfo
Source§impl Default for SemaphoreSubmitInfo
impl Default for SemaphoreSubmitInfo
Source§fn default() -> SemaphoreSubmitInfo
fn default() -> SemaphoreSubmitInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SemaphoreSubmitInfo
impl RefUnwindSafe for SemaphoreSubmitInfo
impl Send for SemaphoreSubmitInfo
impl Sync for SemaphoreSubmitInfo
impl Unpin for SemaphoreSubmitInfo
impl UnsafeUnpin 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