Function inexor::vulkan_renderer::vk_tools::get_extension_properties

Function Documentation

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

All functions which contain the word “all” in it, call some vkEnumerate.. function, while all functions without it call vkGet.. 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!)