summaryrefslogtreecommitdiffstats
path: root/src/Texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Texture.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Texture.hpp b/src/Texture.hpp
new file mode 100644
index 0000000..5b2afcf
--- /dev/null
+++ b/src/Texture.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <easylogging++.h>
+#include <GL/glew.h>
+#include <SFML/Graphics.hpp>
+
+class Texture {
+ Texture(Texture&);
+ Texture&operator=(Texture&);
+public:
+ GLuint texture;
+ Texture(std::string filename, GLenum textureWrapping = GL_CLAMP_TO_BORDER, GLenum textureFiltering = GL_NEAREST);
+ ~Texture();
+}; \ No newline at end of file