add inUse flag to assist with recycling gltf instances

This commit is contained in:
Nick Fisher
2025-06-23 12:21:52 +08:00
parent e503dd2e8b
commit 668c001b49
2 changed files with 24 additions and 10 deletions

View File

@@ -140,6 +140,8 @@ namespace thermion
return _instance->getBoundingBox();
}
bool inUse = true;
private:
filament::Engine *_engine;
utils::NameComponentManager *_ncm;