资产改为保存场景或者关闭软件时候更新guid文件,vulkan/DescriptorManager 创建DescriptorPool时候注释eFreeDescriptorSet,PhysicsWorld初始化时候改为推荐的inNumBodyMutexes
This commit is contained in:
@@ -55,6 +55,13 @@ namespace Engine {
|
||||
m_Renderer->GetDevice().GetDevice().waitIdle();
|
||||
}
|
||||
|
||||
// ✅ 进程退出前持久化 GUID 注册表(GetOrCreateGUID 只标 dirty,
|
||||
// 此处统一落盘,避免开发期每次新增都触发全量 yaml 重写)
|
||||
if (m_Assets) {
|
||||
m_Assets->FlushGUIDRegistry();
|
||||
}
|
||||
|
||||
|
||||
if (m_ImGuiLayer) m_ImGuiLayer.reset();
|
||||
|
||||
// 注意:这里不能 Logger::Shutdown()——成员析构(Device 销毁等)
|
||||
|
||||
Reference in New Issue
Block a user