pub fn pipeline_barrier(
device: &DeviceFnV1_0,
command_buffer: CommandBuffer,
global_barrier: Option<GlobalBarrier<'_>>,
buffer_barriers: &[BufferBarrier<'_>],
image_barriers: &[ImageBarrier<'_>],
)Expand description
Simplified wrapper around vkCmdPipelineBarrier.
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.
command_buffer is passed unmodified to vkCmdPipelineBarrier.