Function inexor::vulkan_renderer::tools::get_physical_devices

Function Documentation

std::vector<VkPhysicalDevice> inexor::vulkan_renderer::tools::get_physical_devices(VkInstance inst)

Call vkEnumeratePhysicalDevices

Parameters:

inst – The Vulkan instance

Throws:

VulkanException – vkEnumeratePhysicalDevices call failed

Returns:

A std::vector of all physical devices which are available on the system (this can be empty!)