texture.h 208 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _TEXTURE_H_
#define _TEXTURE_H_

struct Texture
{
	Texture(GLuint id, const QSize& s, unsigned int r) :
		texID(id),
		size(s),
		ref(r)
	{}

	GLuint texID;
	QSize size;
	unsigned int ref;
};

#endif