summary refs log tree commit diff
path: root/src/Shader/Shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Shader/Shader.hpp')
-rw-r--r--src/Shader/Shader.hpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/Shader/Shader.hpp b/src/Shader/Shader.hpp
deleted file mode 100644
index 76a1197..0000000
--- a/src/Shader/Shader.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#include <cstdint>
-#include "../Assets.hpp"
-
-namespace MC {
-
-class Shader {
-
-public:
-    uint32_t get() const {
-        return m_shader;
-    }
-
-    static Shader create_vertex() {
-        return {GL_VERTEX_SHADER, Assets::Shaders::vertex};
-    }
-
-    static Shader create_fragment() {
-        return {GL_FRAGMENT_SHADER, Assets::Shaders::fragment};
-    }
-
-private:
-    Shader(uint32_t type, const char* source);
-
-    uint32_t m_shader;
-};
-
-}
\ No newline at end of file