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/assetFactory.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'assetFactory/assetFactory.h') diff --git a/assetFactory/assetFactory.h b/assetFactory/assetFactory.h index b47d408..3d52f7f 100644 --- a/assetFactory/assetFactory.h +++ b/assetFactory/assetFactory.h @@ -3,12 +3,14 @@ #include "asset.h" #include "persistence.h" #include "shape.h" +#include "textureFragment.h" #include class AssetFactory : public Persistence::Persistable { public: using Shapes = std::map>; using Assets = std::map>; + using TextureFragments = std::map>; using Colour = glm::vec3; using ColourAlpha = glm::vec4; using Colours = std::map>; @@ -20,6 +22,7 @@ public: Shapes shapes; Assets assets; Colours colours; + TextureFragments textureFragments; static Colours parseX11RGB(const char * rgbtxtpath); static void normalizeColourName(std::string &); -- cgit v1.2.3