aboutsummaryrefslogtreecommitdiff
path: root/source/GraphicsTags.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-30 13:09:26 -0700
committerrtk0c <[email protected]>2022-05-30 13:09:26 -0700
commitce9559e8c2b69d46cff064241bd9a04c014af44f (patch)
tree370c793d4fde63f4bd4d988d73a3c4d9353ede56 /source/GraphicsTags.hpp
parentcdd84f25ab1d2a57ee5c7b4c954e35a8d7e2dca3 (diff)
Changeset: 51 Add integration into the main game
Diffstat (limited to 'source/GraphicsTags.hpp')
-rw-r--r--source/GraphicsTags.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/GraphicsTags.hpp b/source/GraphicsTags.hpp
index 34c0885..09e62bf 100644
--- a/source/GraphicsTags.hpp
+++ b/source/GraphicsTags.hpp
@@ -5,6 +5,16 @@
#include <string>
#include <string_view>
+#include <MacrosCodegen.hpp>
+
+enum TestEnum {
+ TE_Position,
+ TE_Color,
+ TE_TexCoord,
+ TE_COUNT,
+};
+BRUSSEL_ENUM(TestEnum, ToString FromString ExcludeHeuristics);
+
namespace Tags {
/// Vertex element semantics, used to identify the meaning of vertex buffer contents
enum VertexElementSemantic {
@@ -96,3 +106,5 @@ GLenum FindGLType(std::string_view name);
constexpr GLuint kInvalidLocation = std::numeric_limits<GLuint>::max();
} // namespace Tags
+
+#include <generated/GraphicsTags.gh.inl>