Forgot function to actually retrieve root folder pointer hehe
This commit is contained in:
parent
ffc55c5e0c
commit
087cbcabaf
|
@ -343,6 +343,11 @@ namespace SHADE
|
||||||
return newAsset.id;
|
return newAsset.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FolderPointer SHAssetManager::GetRootFolder() noexcept
|
||||||
|
{
|
||||||
|
return folderRoot;
|
||||||
|
}
|
||||||
|
|
||||||
bool SHAssetManager::IsRecognised(char const* ext) noexcept
|
bool SHAssetManager::IsRecognised(char const* ext) noexcept
|
||||||
{
|
{
|
||||||
for (auto const& e : EXTENSIONS)
|
for (auto const& e : EXTENSIONS)
|
||||||
|
|
|
@ -89,6 +89,8 @@ namespace SHADE
|
||||||
|
|
||||||
static AssetID CompileAsset(AssetPath const& path) noexcept;
|
static AssetID CompileAsset(AssetPath const& path) noexcept;
|
||||||
|
|
||||||
|
static FolderPointer GetRootFolder() noexcept;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
static void InitLoaders() noexcept;
|
static void InitLoaders() noexcept;
|
||||||
|
|
Loading…
Reference in New Issue