ADD: async glTF texture preloading

This commit is contained in:
2025-12-04 16:19:53 +09:00
parent 73e15ee456
commit 017c02e8d7
5 changed files with 50 additions and 1 deletions

View File

@@ -210,6 +210,10 @@ public:
const std::string &modelRelativePath,
const glm::mat4 &transform = glm::mat4(1.f));
// Preload textures for an already-loaded scene instance so they are
// available before the object becomes visible (visibility-driven loading).
void preloadInstanceTextures(const std::string &instanceName);
bool resize_requested{false};
bool freeze_rendering{false};