pub fn max_instance_version() -> Result<Version, VkError> {
        let version = LIBRARY
            .try_enumerate_instance_version()?
            .map(Version::from_raw)
            // Vulkan 1.0 does not have `vkEnumerateInstanceVersion`.
            .unwrap_or(Version::VERSION_1_0);

        Ok(version)
    }
/// Returns the max Vulkan API version supported any created instances.
Returns the max Vulkan API version supported any created instances.
Returns the max Vulkan API version supported any created instances .
pub fn max_instance_version() -> Result<Version, VkError> {
        let version = LIBRARY
            .try_enumerate_instance_version()?
            .map(Version::from_raw)
            // Vulkan 1.0 does not have `vkEnumerateInstanceVersion`.
            .unwrap_or(Version::VERSION_1_0);
        Ok(version)
    }
pub fn max_instance_version ( ) -> Result < Version , VkError > { let version = LIBRARY . try_enumerate_instance_version ( ) ? . map ( Version :: from_raw ) // Vulkan 1.0 does not have `vkEnumerateInstanceVersion`. . unwrap_or ( Version :: VERSION_1_0 ) ; Ok ( version ) }
Returns the max Vulkan API version supported any created instances.
Returns the max Vulkan API version supported any created instances .