aboutsummaryrefslogtreecommitdiff
path: root/source/GraphicsTags.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/GraphicsTags.hpp')
-rw-r--r--source/GraphicsTags.hpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/source/GraphicsTags.hpp b/source/GraphicsTags.hpp
index 09e62bf..f83b99c 100644
--- a/source/GraphicsTags.hpp
+++ b/source/GraphicsTags.hpp
@@ -7,14 +7,6 @@
#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 {
@@ -42,6 +34,7 @@ enum VertexElementSemantic {
VES_Generic,
VES_COUNT,
};
+BRUSSEL_ENUM(VertexElementSemantic, ToString FromString ExcludeHeuristics);
std::string_view NameOf(VertexElementSemantic semantic);
VertexElementSemantic FindVertexElementSemantic(std::string_view name);
@@ -82,6 +75,8 @@ enum VertexElementType {
VET_Ushort4Norm,
VET_NORM_END = VET_Ushort4Norm,
};
+// TODO this enum isn't continuous, not supported yet
+// BRUSSEL_ENUM(VertexElementType, ToString FromString ExcludeHeuristics);
int SizeOf(VertexElementType type);
int VectorLenOf(VertexElementType type);