Add backpack editor startup scene
This commit is contained in:
@@ -435,6 +435,11 @@ target_link_libraries(XCEngine PUBLIC
|
||||
Vulkan::Vulkan
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
target_link_libraries(XCEngine PUBLIC delayimp)
|
||||
target_link_options(XCEngine INTERFACE "/DELAYLOAD:assimp-vc143-mt.dll")
|
||||
endif()
|
||||
|
||||
if(XCENGINE_ENABLE_MONO_SCRIPTING)
|
||||
set(XCENGINE_MONO_INCLUDE_DIR "${XCENGINE_MONO_ROOT_DIR}/include")
|
||||
set(XCENGINE_MONO_STATIC_LIBRARY "${XCENGINE_MONO_ROOT_DIR}/lib/libmono-static-sgen.lib")
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
#include <XCEngine/Core/Asset/ResourceHandle.h>
|
||||
#include <XCEngine/Core/Asset/ResourceTypes.h>
|
||||
#include <XCEngine/Resources/Material/MaterialLoader.h>
|
||||
#include <XCEngine/Resources/Mesh/MeshLoader.h>
|
||||
#include <XCEngine/Resources/Shader/ShaderLoader.h>
|
||||
#include <XCEngine/Resources/Texture/TextureLoader.h>
|
||||
|
||||
namespace XCEngine {
|
||||
namespace Resources {
|
||||
@@ -17,7 +19,9 @@ void RegisterBuiltinLoader(ResourceManager& manager, TLoader& loader) {
|
||||
}
|
||||
|
||||
MaterialLoader g_materialLoader;
|
||||
MeshLoader g_meshLoader;
|
||||
ShaderLoader g_shaderLoader;
|
||||
TextureLoader g_textureLoader;
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -31,7 +35,9 @@ void ResourceManager::Initialize() {
|
||||
m_asyncLoader->Initialize(2);
|
||||
|
||||
RegisterBuiltinLoader(*this, g_materialLoader);
|
||||
RegisterBuiltinLoader(*this, g_meshLoader);
|
||||
RegisterBuiltinLoader(*this, g_shaderLoader);
|
||||
RegisterBuiltinLoader(*this, g_textureLoader);
|
||||
}
|
||||
|
||||
void ResourceManager::Shutdown() {
|
||||
|
||||
Reference in New Issue
Block a user