Function inexor::vulkan_renderer::vk_tools::result_to_description

Function Documentation

std::string_view inexor::vulkan_renderer::vk_tools::result_to_description(VkResult result)

Convert a VkResult value into the corresponding error description as std::string_view.


This function converts the VkResult into the corresponding error description text If you want to convert it into an std::string_view, see the matching as_string template


result – The VkResult to convert


A std::string_view which contains an error description text of the VkResult