YoggieEngine/Editor/src/AssetManagement/AssetManager.h

20 lines
497 B
C
Raw Normal View History

2022-11-10 20:51:11 +00:00
#pragma once
#include <vector>
#include "Asset.h"
2022-11-10 20:51:11 +00:00
class AssetManager {
public:
static void Init();
static void BuildAssetView();
static void setAssetPath(std::filesystem::path path);
2022-11-10 20:51:11 +00:00
static YoggieEngine::Mesh* LoadFromAssetFile(const std::filesystem::path assetPath);
static YoggieEngine::Renderable* LoadFromSource(const std::filesystem::path srcPath, const std::filesystem::path assetFolder);
static std::vector<Asset> assets ;
2022-11-10 20:51:11 +00:00
private:
static std::filesystem::path currentPath;
2022-11-10 20:51:11 +00:00
};