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