Add platform specific protection for enum classes listed in a platform-protected extension. (#310)

This commit is contained in:
Andreas Süßenbach
2019-03-20 17:39:51 +01:00
committed by Markus Tavenrath
parent 45590a9bd7
commit fe614bd960
2 changed files with 26 additions and 11 deletions

View File

@@ -106,8 +106,9 @@ class VulkanHppGenerator
{
void addEnumValue(std::string const& valueName, bool bitmask, std::string const& prefix, std::string const& postfix, std::string const& tag);
std::vector<std::pair<std::string, std::string>> values; // pairs of vulkan enum value and corresponding vk::-namespace enum value
std::vector<std::pair<std::string, std::string>> aliases; // pairs of vulkan enum value and corresponding vk::-namespace enum value
std::string platform;
std::vector<std::pair<std::string, std::string>> values; // pairs of vulkan enum value and corresponding vk::-namespace enum value
};
struct HandleData