I am using the following code to get the string value of enum keys:
VkStructureType color = VkStructureType::VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO;
auto color_name = magic_enum::enum_name(color);
spdlog::info("{}", color_name);
magic_enum works for VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO
magic_enum returns "" for VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES.
I have two enum values:
I am using the following code to get the string value of enum keys:
magic_enum works for VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO
magic_enum returns "" for VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES.
Could you please help ? Thank you very much