]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/module_backend.h
Add a backend for SpirVModule and make it non-copyable
[libs/gl.git] / source / backends / opengl / module_backend.h
diff --git a/source/backends/opengl/module_backend.h b/source/backends/opengl/module_backend.h
new file mode 100644 (file)
index 0000000..9c91ae1
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef MSP_GL_MODULE_BACKEND_H_
+#define MSP_GL_MODULE_BACKEND_H_
+
+#include <msp/core/noncopyable.h>
+
+namespace Msp {
+namespace GL {
+
+class OpenGLSpirVModule: public NonCopyable
+{
+protected:
+       OpenGLSpirVModule() = default;
+       OpenGLSpirVModule(OpenGLSpirVModule &&) { };
+       ~OpenGLSpirVModule() = default;
+};
+
+using SpirVModuleBackend = OpenGLSpirVModule;
+
+} // namespace GL
+} // namespace Msp
+
+#endif