2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

Updated Json Material loader to support passing JSON instead of a stream, and added techset loading code

This commit is contained in:
LJW-Dev
2025-10-09 01:10:21 +08:00
committed by Jan Laupetin
parent 7908549dc8
commit 68435e8c74
4 changed files with 41 additions and 39 deletions
@@ -176,10 +176,10 @@ namespace
};
} // namespace
namespace T6
namespace technique_set
{
std::unique_ptr<AssetCreator<AssetTechniqueSet>> CreateTechniqueSetLoader(MemoryManager& memory, ISearchPath& searchPath)
std::unique_ptr<AssetCreator<AssetTechniqueSet>> CreateLoaderT6(MemoryManager& memory, ISearchPath& searchPath)
{
return std::make_unique<TechniqueSetLoader>(memory, searchPath);
}
} // namespace T6
} // namespace technique_set
@@ -7,7 +7,7 @@
#include <memory>
namespace T6
namespace technique_set
{
std::unique_ptr<AssetCreator<AssetTechniqueSet>> CreateTechniqueSetLoader(MemoryManager& memory, ISearchPath& searchPath);
} // namespace T6
std::unique_ptr<AssetCreator<T6::AssetTechniqueSet>> CreateLoaderT6(MemoryManager& memory, ISearchPath& searchPath);
} // namespace technique_set