11 #define LUG_ENUM_TO_STR(enum) \ 14 #define LUG_ENUM_TO_STR_FUNCTION(type, macro) \ 15 const char* toStr(type enumVal) { \ 17 macro(LUG_ENUM_TO_STR) \ 19 LUG_LOG.warn("One value of the enum " #type " is not implemented : {}", enumVal); \ 39 #define LUG_FLAGS_TO_STR_VEC(enum) \ 41 retVal.push_back(#enum); \ 45 #define LUG_FLAGS_TO_STR_VEC_FUNCTION(type, macro) \ 46 std::vector<const char*> type ## ToStrVec(type flag) { \ 47 std::vector<const char*> retVal; \ 49 macro(LUG_FLAGS_TO_STR_VEC) \ 51 LUG_LOG.warn("One value of the flag " #type " is not implemented : {}", flag); \ 65 #define LUG_FLAGS_TO_STR(enum) \ 73 #define LUG_FLAGS_TO_STR_FUNCTION(type, macro) \ 74 std::string type ## ToStr(type flag) { \ 77 macro(LUG_FLAGS_TO_STR) \ 79 LUG_LOG.warn("One value of the flag " #type " is not implemented: {}", flag); \ #define LUG_FLAGS_TO_STR_VEC_FUNCTION(type, macro)
#define LUG_VULKAN_MEMORY_HEAP_BIT(macro)
#define LUG_FLAGS_TO_STR_FUNCTION(type, macro)
#define LUG_VULKAN_PHYSICAL_DEVICE_TYPE(macro)
#define LUG_VULKAN_SAMPLE_COUNT_BIT(macro)
#define LUG_VULKAN_IMAGE_USAGE_BIT(macro)
#define LUG_VULKAN_PRESENT_MODE_KHR(macro)
#define LUG_VULKAN_FORMAT(macro)
#define LUG_VULKAN_QUEUE_BIT(macro)
#define LUG_ENUM_TO_STR_FUNCTION(type, macro)
#define LUG_VULKAN_COLOR_SPACE_KHR(macro)
#define LUG_VULKAN_SURFACE_TRANSFORM_KHR_BIT(macro)
#define LUG_VULKAN_FORMAT_FEATURE_BIT(macro)
#define LUG_VULKAN_MEMORY_PROPERTY_BIT(macro)
#define LUG_VULKAN_COMPOSITE_ALPHA_KHR_BIT(macro)