summaryrefslogtreecommitdiffstats
path: root/old/graphics/Texture.hpp
blob: 5b2afcf6729f0a3cc4c0eb5921b3eafad34cded2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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();
};