summaryrefslogtreecommitdiff
path: root/assetFactory/textureFragment.h
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/textureFragment.h')
-rw-r--r--assetFactory/textureFragment.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/assetFactory/textureFragment.h b/assetFactory/textureFragment.h
index 52f2591..e6f07f3 100644
--- a/assetFactory/textureFragment.h
+++ b/assetFactory/textureFragment.h
@@ -1,14 +1,20 @@
#pragma once
+#include "gfx/image.h"
+#include "gfx/models/texture.h"
#include "persistence.h"
#include "stdTypeDefs.hpp"
+#include "worker.h"
class TextureFragment : public Persistence::Persistable, public StdTypeDefs<TextureFragment> {
public:
std::string id;
std::string path;
+ TextureOptions::MapMode mapmodeU, mapmodeV;
+ Worker::WorkPtrT<std::unique_ptr<Image>> image;
private:
friend Persistence::SelectionPtrBase<Ptr>;
bool persist(Persistence::PersistenceStore & store) override;
+ void postLoad() override;
};