pub fn get_image_memory_barrier(
    barrier: &ImageBarrier<'_>
) -> (PipelineStageFlags, PipelineStageFlags, ImageMemoryBarrier)
Expand description

Mapping function that translates an image barrier into a set of source and destination pipeline stages, and an image memory barrier, that can be used with Vulkan synchronization methods.