summaryrefslogtreecommitdiff
path: root/assetFactory/textureFragment.h
diff options
context:
space:
mode:
Diffstat (limited to 'assetFactory/textureFragment.h')
-rw-r--r--assetFactory/textureFragment.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/assetFactory/textureFragment.h b/assetFactory/textureFragment.h
new file mode 100644
index 0000000..52f2591
--- /dev/null
+++ b/assetFactory/textureFragment.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "persistence.h"
+#include "stdTypeDefs.hpp"
+
+class TextureFragment : public Persistence::Persistable, public StdTypeDefs<TextureFragment> {
+public:
+ std::string id;
+ std::string path;
+
+private:
+ friend Persistence::SelectionPtrBase<Ptr>;
+ bool persist(Persistence::PersistenceStore & store) override;
+};