summaryrefslogtreecommitdiff
path: root/assetFactory/assetFactory.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 17:33:02 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 17:33:02 +0100
commit47cd9d863fb09acb82d2428f881d61242f8ab437 (patch)
tree29751ec3408213c1ce5f9e3570386c40971c2445 /assetFactory/assetFactory.h
parentUse asset factory models in test-render (diff)
downloadilt-47cd9d863fb09acb82d2428f881d61242f8ab437.tar.bz2
ilt-47cd9d863fb09acb82d2428f881d61242f8ab437.tar.xz
ilt-47cd9d863fb09acb82d2428f881d61242f8ab437.zip
Load all assets in red dir with asset factory
Diffstat (limited to 'assetFactory/assetFactory.h')
-rw-r--r--assetFactory/assetFactory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/assetFactory/assetFactory.h b/assetFactory/assetFactory.h
index 9e5d205..e449ce2 100644
--- a/assetFactory/assetFactory.h
+++ b/assetFactory/assetFactory.h
@@ -22,6 +22,7 @@ public:
AssetFactory();
[[nodiscard]] static std::shared_ptr<AssetFactory> loadXML(const std::filesystem::path &);
+ [[nodiscard]] static Assets loadAll(const std::filesystem::path &);
[[nodiscard]] ColourAlpha parseColour(std::string_view) const;
[[nodiscard]] GLuint getMaterialIndex(std::string_view) const;
[[nodiscard]] Asset::TexturePtr getTexture() const;