Function derive_image_layout

Source
pub fn derive_image_layout(
    usage: TextureUses,
    format: TextureFormat,
) -> ImageLayout
Available on vulkan only.