Function inexor::vulkan_renderer::vk_tools::get_device_features_as_vector

Function Documentation

std::vector<VkBool32> inexor::vulkan_renderer::vk_tools::get_device_features_as_vector(const VkPhysicalDeviceFeatures &features)

Transform a VkPhysicalDeviceFeatures into a std::vector<VkBool32>

Note

The size of the vector will be determined by the number of VkBool32 variables in the VkPhysicalDeviceFeatures struct

Parameters

features – The physical device features

Returns

A std::vector<VkBool32> The transformed data