Function inexor::vulkan_renderer::tools::build_device_info

Function Documentation

DeviceInfo inexor::vulkan_renderer::tools::build_device_info(VkPhysicalDevice physical_device, VkSurfaceKHR surface)

Build DeviceInfo from a real vulkan physical device (as opposed to a fake one used in the tests).

Parameters:
  • physical_device – The physical device

  • surface – The window surface

Returns:

The device info data