aboutsummaryrefslogtreecommitdiffstats
path: root/include/Texture.h
blob: c590f6a930b4382e39f65aa40f14b4cb1f836aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef TEXTURE_H
#define TEXTURE_H

#include <common.h>

#define DEBUG

namespace Texture{
	GLuint loadTexture(const char *fileName);
}

class Texturec{
private:
	unsigned int texState;
public:
	Texturec(uint amt, ...);
	void bindNext();
	void bindPrev();
	void bind(unsigned int);
	void walk();

	GLuint *image;
};

#endif //TEXTURE_H