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.
Fields of Binary
semaphore: &'a BinarySemaphore
Reference to the binary semaphore.
stage: PipelineStageFlags2KHR
The stage for this semaphore.
A timeline semaphore.
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.