summaryrefslogblamecommitdiffstats
path: root/src/Texture.hpp
blob: 6b024d4bc84e2de6b75007bfab4870d1e3bc1c85 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

            
                          









                                                                                                                     
#pragma once

#include <easylogging++.h>
#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();
};