Function inexor::vulkan_renderer::tools::device_type_rating

Function Documentation

std::uint32_t inexor::vulkan_renderer::tools::device_type_rating(const DeviceInfo &info)

A function for rating physical devices by type

Parameters:

info – The physical device info

Returns:

A number from 0 to 2 which rates the physical device (higher is better)