Function inexor::vulkan_renderer::tools::is_extension_supported

Function Documentation

bool inexor::vulkan_renderer::tools::is_extension_supported(const std::vector<VkExtensionProperties> &extensions, const std::string &extension_name)

Check if a device extension is supported by a physical device

Note

If extensions is empty, this function returns false

Parameters:
  • extensions – The device extensions

  • extension_name – The extension name

Returns:

true if the required device extension is supported