summary refs log tree commit diff
path: root/src/Texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Texture.hpp')
-rw-r--r--src/Texture.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Texture.hpp b/src/Texture.hpp
new file mode 100644
index 0000000..91b5e54
--- /dev/null
+++ b/src/Texture.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "Image/RawImage.hpp"
+
+namespace MC {
+
+class Texture {
+public:
+    Texture(const Image::RawImage& image);
+
+    void bind();
+    void unbind();
+private:
+    uint32_t m_texture;
+};
+
+}
\ No newline at end of file