summaryrefslogtreecommitdiff
path: root/texture.h
blob: 9955f01634df33967c3fcde920460598886ee99e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef TEXTURE_H
#define TEXTURE_H

#include <GL/glew.h>
#include <string>

class Texture {
public:
	explicit Texture(const std::string & fileName);

	Texture(const Texture &) = delete;
	void operator=(const Texture &) = delete;

	virtual ~Texture();

	void Bind() const;

protected:
private:
	GLuint m_texture;
};

#endif