summaryrefslogtreecommitdiff
path: root/texture.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-16 18:09:15 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-01-16 18:09:15 +0000
commit400410fcd436d5e4310bfa779f0309c5fae5b2c2 (patch)
tree89661918c487e63b6c71f2e9281b553928010606 /texture.h
downloadilt-400410fcd436d5e4310bfa779f0309c5fae5b2c2.tar.bz2
ilt-400410fcd436d5e4310bfa779f0309c5fae5b2c2.tar.xz
ilt-400410fcd436d5e4310bfa779f0309c5fae5b2c2.zip
Initial commit
Stripped back and formatted from https://github.com/BennyQBD/ModernOpenGLTutorial/
Diffstat (limited to 'texture.h')
-rw-r--r--texture.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/texture.h b/texture.h
new file mode 100644
index 0000000..df9f287
--- /dev/null
+++ b/texture.h
@@ -0,0 +1,26 @@
+#ifndef TEXTURE_H
+#define TEXTURE_H
+
+#include <GL/glew.h>
+#include <string>
+
+class Texture {
+public:
+ Texture(const std::string & fileName);
+
+ void Bind();
+
+ virtual ~Texture();
+
+protected:
+private:
+ Texture(const Texture & texture) { }
+ void
+ operator=(const Texture & texture)
+ {
+ }
+
+ GLuint m_texture;
+};
+
+#endif