pub fn wait_events(
device: &Device,
command_buffer: CommandBuffer,
events: &[Event],
global_barrier: Option<GlobalBarrier<'_>>,
buffer_barriers: &[BufferBarrier<'_>],
image_barriers: &[ImageBarrier<'_>],
)
Expand description
Simplified wrapper around vkCmdWaitEvents
.
The mapping functions defined above are used to translate the passed in
barrier definitions into a set of pipeline stages and native Vulkan memory
barriers to be passed to vkCmdPipelineBarrier
.
commandBuffer
and events
are passed unmodified to vkCmdWaitEvents
.