Core/AppFilesystemComponent: Add GetDirectory

This commit is contained in:
SirLynix
2023-07-14 14:16:57 +02:00
parent 4f3542356d
commit 1bb4b8fa0d
2 changed files with 12 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ namespace Nz
~AppFilesystemComponent() = default;
template<typename T> const typename T::Params* GetDefaultResourceParameters() const;
inline VirtualDirectoryPtr GetDirectory(std::string_view assetPath);
template<typename T, typename... ExtraArgs> std::shared_ptr<T> Load(std::string_view assetPath, ExtraArgs&&... args);
template<typename T, typename... ExtraArgs> std::shared_ptr<T> Load(std::string_view assetPath, typename T::Params params, ExtraArgs&&... args);