diff options
Diffstat (limited to '')
-rw-r--r-- | code/graphics/Texture.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
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 <GL/glew.h> + +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 |