texture.h 340 Bytes
Newer Older
1 2 3
#ifndef _TEXTURE_H_
#define _TEXTURE_H_

Lionel Untereiner's avatar
Lionel Untereiner committed
4 5 6
#include "Utils/gl_def.h"
#include <QSize>

7 8 9 10 11 12
namespace CGoGN
{

namespace SCHNApps
{

13 14 15 16 17 18 19 20 21 22 23 24 25
struct Texture
{
	Texture(GLuint id, const QSize& s, unsigned int r) :
		texID(id),
		size(s),
		ref(r)
	{}

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

26 27 28 29
} // namespace SCHNApps

} // namespace CGoGN

30
#endif