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