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

@@ -467,6 +467,7 @@ namespace
glm::mat4 S = glm::scale(glm::mat4(1.0f), glm::vec3(gltfScale[0], gltfScale[1], gltfScale[2]));
glm::mat4 M = T * R * S;
eng->loadGLTFAsync(gltfName, gltfPath, M);
eng->preloadInstanceTextures(gltfName);
}
}