From 1563ae5be6bc130a9b3a23464f7e28fdb1e87da3 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 May 2017 19:01:56 +0500 Subject: 2017-05-13 --- code/graphics/Texture.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 code/graphics/Texture.hpp (limited to 'code/graphics/Texture.hpp') diff --git a/code/graphics/Texture.hpp b/code/graphics/Texture.hpp new file mode 100644 index 0000000..8e3f1af --- /dev/null +++ b/code/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