summaryrefslogtreecommitdiff
path: root/assetFactory/textureFragment.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 16:36:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 16:36:22 +0100
commit32a2da41e0946c1d6d364b7763d1829bfa8b74db (patch)
treebb7c1014d204dabfcf10cd88623c1f7996b6f049 /assetFactory/textureFragment.h
parentDefine our own enum for texture mapmode (diff)
downloadilt-32a2da41e0946c1d6d364b7763d1829bfa8b74db.tar.bz2
ilt-32a2da41e0946c1d6d364b7763d1829bfa8b74db.tar.xz
ilt-32a2da41e0946c1d6d364b7763d1829bfa8b74db.zip
Configure texture fragment mapmode from material
Diffstat (limited to 'assetFactory/textureFragment.h')
-rw-r--r--assetFactory/textureFragment.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/assetFactory/textureFragment.h b/assetFactory/textureFragment.h
index 75fe96e..e6f07f3 100644
--- a/assetFactory/textureFragment.h
+++ b/assetFactory/textureFragment.h
@@ -1,6 +1,7 @@
#pragma once
#include "gfx/image.h"
+#include "gfx/models/texture.h"
#include "persistence.h"
#include "stdTypeDefs.hpp"
#include "worker.h"
@@ -9,6 +10,7 @@ class TextureFragment : public Persistence::Persistable, public StdTypeDefs<Text
public:
std::string id;
std::string path;
+ TextureOptions::MapMode mapmodeU, mapmodeV;
Worker::WorkPtrT<std::unique_ptr<Image>> image;
private: