summaryrefslogblamecommitdiffstats
path: root/include/graphics/Texture.hpp
blob: 277806a474c7f815ee55b931a2245d436e3ef39b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

            
                            
                          









                                                                                                                     
#pragma once

#include <SFML/Graphics.hpp>
#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();
};