summaryrefslogtreecommitdiff
path: root/assetFactory/textureFragment.h
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/textureFragment.h')
-rw-r--r--assetFactory/textureFragment.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/assetFactory/textureFragment.h b/assetFactory/textureFragment.h
index 52f2591..d03affd 100644
--- a/assetFactory/textureFragment.h
+++ b/assetFactory/textureFragment.h
@@ -1,5 +1,6 @@
#pragma once
+#include "gfx/image.h"
#include "persistence.h"
#include "stdTypeDefs.hpp"
@@ -7,8 +8,10 @@ class TextureFragment : public Persistence::Persistable, public StdTypeDefs<Text
public:
std::string id;
std::string path;
+ std::unique_ptr<Image> image;
private:
friend Persistence::SelectionPtrBase<Ptr>;
bool persist(Persistence::PersistenceStore & store) override;
+ void postLoad() override;
};