31 #include "Utilities/AbstractFactory/AbstractFactory.h" 32 #include "Core/Resources/Mesh.h" 33 #include "Core/Resources/Material.h" 34 #include "Platform/GraphicAPI.h" 35 #include "Platform/AudioAPI.h" 39 using ResourceFactory = AbstractFactoryImpl<Material, Mesh>;
41 using MaterialHandle = Resource<Material, ResourceFactory>;
42 using MeshHandle = Resource<Mesh, ResourceFactory>;
58 static GResource<Shader> LoadShader(
const FilePath& vertex,
const FilePath& fragment);
59 static GResource<Shader> LoadShader(
const MxString& vertex,
const MxString& fragment);
61 static GResource<Shader> LoadShader(StringId vertex, StringId geometry, StringId fragment);
62 static GResource<Shader> LoadShader(
const FilePath& vertex,
const FilePath& geometry,
const FilePath& fragment);
63 static GResource<Shader> LoadShader(
const MxString& vertex,
const MxString& geometry,
const MxString& fragment);
64 static GResource<Shader> LoadShader(
const char* vertex,
const char* geometry,
const char* fragment);
67 static MeshHandle LoadMesh(
const FilePath& path);
68 static MeshHandle LoadMesh(
const MxString& path);
71 static MxVector<MaterialHandle> LoadMaterials(StringId hash);
72 static MxVector<MaterialHandle> LoadMaterials(
const FilePath& path);
73 static MxVector<MaterialHandle> LoadMaterials(
const MxString& path);
74 static MxVector<MaterialHandle> LoadMaterials(
const char* path);
Definition: AbstractFactory.h:61
Definition: AssetManager.h:44
Definition: Application.cpp:49