From 400410fcd436d5e4310bfa779f0309c5fae5b2c2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 16 Jan 2021 18:09:15 +0000 Subject: Initial commit Stripped back and formatted from https://github.com/BennyQBD/ModernOpenGLTutorial/ --- texture.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 texture.h (limited to 'texture.h') 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 +#include + +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 -- cgit v1.2.3