diff options
author | Treeki <treeki@gmail.com> | 2010-10-07 15:56:13 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2010-10-07 15:56:13 +0200 |
commit | 5f6dad55d75cbe146ff7fefc899a02ccd39078ba (patch) | |
tree | 0822df14cc6d2c0329810c9ae7b4a4a638fe82b1 /lyt/materials/texmap.h | |
download | LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.tar.gz LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.zip |
initial commit -- everything compiles except for material.cpp. the material system still needs quite a bit of work; this will come in due time
Diffstat (limited to 'lyt/materials/texmap.h')
-rw-r--r-- | lyt/materials/texmap.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lyt/materials/texmap.h b/lyt/materials/texmap.h new file mode 100644 index 0000000..5f74478 --- /dev/null +++ b/lyt/materials/texmap.h @@ -0,0 +1,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 |