From 4d7b1da29e0957ac798ee8e6da8288cbd4ae5c79 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Thu, 18 May 2017 19:03:05 +0500 Subject: 2017-05-18 --- src/graphics/Texture.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/graphics/Texture.hpp (limited to 'src/graphics/Texture.hpp') diff --git a/src/graphics/Texture.hpp b/src/graphics/Texture.hpp new file mode 100644 index 0000000..8e3f1af --- /dev/null +++ b/src/graphics/Texture.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include + +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 -- cgit v1.2.3