Function inexor::vulkan_renderer::tools::is_extension_supported¶
Defined in File device_info.hpp
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:
trueif the required device extension is supported