From 88c9d66352c2f4856682efd48482b5b72aca18bf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 12 Mar 2023 00:54:24 +0000 Subject: Support loading references to texture fragments --- assetFactory/textureFragment.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 assetFactory/textureFragment.h (limited to 'assetFactory/textureFragment.h') 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 { +public: + std::string id; + std::string path; + +private: + friend Persistence::SelectionPtrBase; + bool persist(Persistence::PersistenceStore & store) override; +}; -- cgit v1.2.3