[][src]Function nannou::vk::find_supported_depth_image_format

pub fn find_supported_depth_image_format(
    device: Arc<Device>,
    candidates: &[Format]
) -> Option<Format>

Given a slice of depth format candidates in order of preference, return the first that is supported by the given device.