aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphics/Texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/Texture.hpp')
-rw-r--r--src/graphics/Texture.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/graphics/Texture.hpp b/src/graphics/Texture.hpp
new file mode 100644
index 0000000..02298f2
--- /dev/null
+++ b/src/graphics/Texture.hpp
@@ -0,0 +1,16 @@
+#ifndef ENGINE_TEXTURE_H
+#define ENGINE_TEXTURE_H
+
+class Texture {
+ int target;
+ unsigned int texture_id;
+public:
+ Texture(int type);
+ ~Texture();
+
+ int LoadImage(const char *path);
+ int LoadImage(const char **paths);
+ void Bind();
+};
+
+#endif /* ENGINE_TEXTURE_H */