Struct vulkano::sync::Event [] [src]

pub struct Event { /* fields omitted */ }

Used to block the GPU execution until an event on the CPU occurs.

Note that Vulkan implementations may have limits on how long a command buffer will wait for an event to be signaled, in order to avoid interfering with progress of other clients of the GPU. If the event isn't signaled within these limits, results are undefined and may include device loss.

Methods

impl Event
[src]

See the docs of new().

Builds a new event.

Panic

  • Panics if the device or host ran out of memory.

Returns true if the event is signaled.

See the docs of set().

Changes the Event to the signaled state.

If a command buffer is waiting on this event, it is then unblocked.

Panic

  • Panics if the device or host ran out of memory.

See the docs of reset().

Changes the Event to the unsignaled state.

Panic

  • Panics if the device or host ran out of memory.

Trait Implementations

impl Debug for Event
[src]

Formats the value using the given formatter.

impl DeviceOwned for Event
[src]

Returns the device that owns Self.

impl VulkanObject for Event
[src]

The type of the object.

Returns a reference to the object.

impl Drop for Event
[src]

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