From 0bf4ad9e4a9e1c97e92aa23a365405dfef89bd7c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 17 Jan 2021 19:36:30 +0000 Subject: Big reshuffle Fixes code quality warnings now picked up. --- gfx/models/texture.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gfx/models/texture.h (limited to 'gfx/models/texture.h') diff --git a/gfx/models/texture.h b/gfx/models/texture.h new file mode 100644 index 0000000..6ebf88d --- /dev/null +++ b/gfx/models/texture.h @@ -0,0 +1,23 @@ +#ifndef TEXTURE_H +#define TEXTURE_H + +#include +#include +#include + +class Texture { +public: + explicit Texture(const std::string & fileName); + + virtual ~Texture(); + + NO_COPY(Texture); + NO_MOVE(Texture); + + void Bind() const; + +private: + GLuint m_texture; +}; + +#endif -- cgit v1.2.3