Function inexor::vulkan_renderer::tools::get_extension_properties

Function Documentation

std::vector<VkExtensionProperties> inexor::vulkan_renderer::tools::get_extension_properties(VkPhysicalDevice physical_device)

Call vkEnumerateDeviceExtensionProperties

Note

Because device layers are deprecated in Vulkan, we are not exposing the pLayerName parameter of vkEnumerateDeviceExtensionProperties as a parameter here

Parameters:

physical_device – The physical device to get all extension properties form

Throws:

VulkanException – vkEnumerateDeviceExtensionProperties call failed

Returns:

A std::vector of all device extension properties of a physical device (this can be empty!)