Add deferred async scene asset loading

This commit is contained in:
2026-04-02 18:50:41 +08:00
parent dd08d8969e
commit 86144416af
18 changed files with 1806 additions and 97 deletions

View File

@@ -6,6 +6,7 @@
#include "Viewport/ViewportHostService.h"
#include <XCEngine/Rendering/RenderContext.h>
#include <chrono>
#include <memory>
#include <string>
#include <windows.h>
@@ -65,7 +66,10 @@ private:
ViewportHostService m_viewportHostService;
uint64_t m_exitRequestedHandlerId = 0;
std::wstring m_lastWindowTitle;
std::chrono::steady_clock::time_point m_lastFrameTime{};
bool m_hasLastFrameTime = false;
bool m_renderReady = false;
bool m_resourceManagerInitialized = false;
};
}