Module vulkano::sync::event

source ·
Expand description

An event provides fine-grained synchronization within a single queue, or from the host to a queue.

When an event is signaled from a queue using the set_event command buffer command, an event acts similar to a pipeline barrier, but the synchronization scopes are split: the source synchronization scope includes only commands before the set_event command, while the destination synchronization scope includes only commands after the wait_events command. Commands in between the two are not included.

An event can also be signaled from the host, by calling the set method directly on the Event.

Structs

  • Used to block the GPU execution until an event on the CPU occurs.
  • Flags specifying additional properties of an event.
  • Parameters to create a new Event.