Enum asche::CommandBufferSemaphore[][src]

pub enum CommandBufferSemaphore {
    Binary {
        semaphore: BinarySemaphoreHandle,
        stage: PipelineStageFlags2KHR,
    },
    Timeline {
        semaphore: TimelineSemaphoreHandle,
        stage: PipelineStageFlags2KHR,
        value: u64,
    },
}
Expand description

Defines the semaphore a command buffer will use on wait and signal.

Variants

Binary

A binary semaphore.

Fields of Binary

semaphore: BinarySemaphoreHandle

Handle of the binary semaphore.

stage: PipelineStageFlags2KHR

The stage for this semaphore.

Timeline

A timeline semaphore.

Fields of Timeline

semaphore: TimelineSemaphoreHandle

Handle of the timeline semaphore.

stage: PipelineStageFlags2KHR

The stage for this semaphore.

value: u64

The timeline value to wait / signal.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.