]> git.tdb.fi Git - libs/gl.git/blobdiff - source/tag.h
Add a Tag class to identify passes
[libs/gl.git] / source / tag.h
diff --git a/source/tag.h b/source/tag.h
new file mode 100644 (file)
index 0000000..87d4af6
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef MSP_GL_TAG_H_
+#define MSP_GL_TAG_H_
+
+#include <string>
+
+namespace Msp {
+namespace GL {
+
+struct Tag
+{
+       unsigned id;
+
+       Tag(): id(0) { }
+       Tag(const char *);
+       Tag(const std::string &s);
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif