Enum asche::CommandBufferSemaphore [−][src]
pub enum CommandBufferSemaphore<'a> { Binary { semaphore: &'a BinarySemaphore, stage: PipelineStageFlags2KHR, }, Timeline { semaphore: &'a TimelineSemaphore, stage: PipelineStageFlags2KHR, value: u64, }, }
Expand description
Defines the semaphore a command buffer will use on wait and signal.
Variants
A binary semaphore.
Show fields
Fields of Binary
semaphore: &'a BinarySemaphore
Reference to the binary semaphore.
stage: PipelineStageFlags2KHR
The stage for this semaphore.
A timeline semaphore.
Show fields
Fields of Timeline
semaphore: &'a TimelineSemaphore
Reference to the timeline semaphore.
stage: PipelineStageFlags2KHR
The stage for this semaphore.
value: u64
The timeline value to wait / signal.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CommandBufferSemaphore<'a>
impl<'a> Send for CommandBufferSemaphore<'a>
impl<'a> Sync for CommandBufferSemaphore<'a>
impl<'a> Unpin for CommandBufferSemaphore<'a>
impl<'a> !UnwindSafe for CommandBufferSemaphore<'a>