Struct vulkano::sync::Semaphore [] [src]

pub struct Semaphore<D = Arc<Device>> where
    D: SafeDeref<Target = Device>, 
{ /* fields omitted */ }

Used to provide synchronization between command buffers during their execution.

It is similar to a fence, except that it is purely on the GPU side. The CPU can't query a semaphore's status or wait for it to be signaled.

Methods

impl<D> Semaphore<D> where
    D: SafeDeref<Target = Device>, 
[src]

Builds a new semaphore.

Trait Implementations

impl<D: Debug> Debug for Semaphore<D> where
    D: SafeDeref<Target = Device>, 
[src]

Formats the value using the given formatter.

impl DeviceOwned for Semaphore
[src]

Returns the device that owns Self.

impl<D> VulkanObject for Semaphore<D> where
    D: SafeDeref<Target = Device>, 
[src]

The type of the object.

Returns a reference to the object.

impl<D> Drop for Semaphore<D> where
    D: SafeDeref<Target = Device>, 
[src]

A method called when the value goes out of scope. Read more