summaryrefslogblamecommitdiffstats
path: root/src/Texture.hpp
blob: 5b2afcf6729f0a3cc4c0eb5921b3eafad34cded2 (plain) (tree)
1
2
3
4
5

            
                          
                    
                            








                                                                                                                     
#pragma once

#include <easylogging++.h>
#include <GL/glew.h>
#include <SFML/Graphics.hpp>

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();
};