summaryrefslogtreecommitdiff
path: root/lyt/materials/texmap.h
blob: 5f7447829815504de7101b7345dc482facfea013 (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 LYTTEXMAP_H
#define LYTTEXMAP_H

#include "../common.h"
#include <QtCore/QDataStream>

class LYTLayout; // forward declaration

class LYTTexMap {
public:
	LYTTexMap();

	void writeToDataStream(QDataStream &out, LYTLayout &layout);
	void readFromDataStream(QDataStream &in, LYTLayout &layout);

	void dumpToDebug();

	QString textureName;
	int wrap_s;
	int wrap_t;
	int mag_filter;
	int min_filter;
};

#endif // LYTTEXMAP_H