Initial environment loading (not working)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include "Asset/AssetRegistry.h"
|
||||
#include "MinimalEngine.h"
|
||||
#include "Asset/AssetRegistry.h"
|
||||
|
||||
|
||||
namespace Seele {
|
||||
@@ -8,12 +8,14 @@ DECLARE_REF(TextureLoader)
|
||||
DECLARE_REF(FontLoader)
|
||||
DECLARE_REF(MeshLoader)
|
||||
DECLARE_REF(MaterialLoader)
|
||||
DECLARE_REF(EnvironmentLoader)
|
||||
class AssetImporter {
|
||||
public:
|
||||
static void importMesh(struct MeshImportArgs args);
|
||||
static void importTexture(struct TextureImportArgs args);
|
||||
static void importFont(struct FontImportArgs args);
|
||||
static void importMaterial(struct MaterialImportArgs args);
|
||||
static void importEnvironmentMap(struct EnvironmentImportArgs args);
|
||||
static void init(Gfx::PGraphics graphics);
|
||||
|
||||
private:
|
||||
@@ -22,6 +24,7 @@ class AssetImporter {
|
||||
UPFontLoader fontLoader;
|
||||
UPMeshLoader meshLoader;
|
||||
UPMaterialLoader materialLoader;
|
||||
UPEnvironmentLoader environmentLoader;
|
||||
AssetRegistry* registry;
|
||||
};
|
||||
} // namespace Seele
|
||||
Reference in New Issue
Block a user