Struct vulkano::sync::Semaphore
[−]
[src]
pub struct Semaphore<D = Arc<Device>> where D: SafeDeref<Target=Device> { // some 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]
fn raw(device: D) -> Result<Semaphore<D>, OomError>
See the docs of new().
fn new(device: D) -> Arc<Semaphore<D>>
Trait Implementations
impl<D: Debug> Debug for Semaphore<D> where D: SafeDeref<Target=Device>
[src]
impl<D> VulkanObject for Semaphore<D> where D: SafeDeref<Target=Device>
[src]
type Object = Semaphore
The type of the object.
fn internal_object(&self) -> Semaphore
Returns a reference to the object.