Redo of render paths

This commit is contained in:
Dynamitos committed 2020-06-02 11:46:18 +02:00
1 parent bb5b48698a
commit 356e6058fe
121 files changed
+3890 -572

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include "MinimalEngine.h"
#include "Containers/List.h"
#include <thread>
#include <future>
namespace Seele
{
DECLARE_REF(MeshAsset)
DECLARE_NAME_REF(Gfx, Graphics);
class MeshLoader
{
public:
MeshLoader(Gfx::PGraphics graphic);
~MeshLoader();
void importAsset(const std::string& filePath);
private:
void import(const std::string& path);
List<std::future<void>> futures;
Gfx::PGraphics graphics;
};
DEFINE_REF(MeshLoader);
} // namespace Seele