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

            

                 









                                                                                                                     
#pragma once

#include <string>

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