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