pub fn is_format_supported(&self, format: Format, usage: ImageUsageFlags) -> bool {
        unsafe { self.get_format_info(format, vk::ImageUsageFlags::from_raw(usage.bits())) }
            .ok()
            .is_some()
    }
// TODO: Should this take the image dimensions? Vulkan states there is a maximum extent for a format.
Should this take the image dimensions. Vulkan states there is a maximum extent for a format.
Should this take the image dimensions . Vulkan states there is a maximum extent for a format .
pub fn is_format_supported(&self, format: Format, usage: ImageUsageFlags) -> bool {
        unsafe { self.get_format_info(format, vk::ImageUsageFlags::from_raw(usage.bits())) }
            .ok()
            .is_some()
    }
pub fn is_format_supported ( & self , format : Format , usage : ImageUsageFlags ) -> bool { unsafe { self . get_format_info ( format , vk :: ImageUsageFlags :: from_raw ( usage . bits ( ) ) ) } . ok ( ) . is_some ( ) }
TODO: Should this take the image dimensions?
TODO : Should this take the image dimensions?
&self
format
Format
usage
ImageUsageFlags