rename numInstances to initialInstances in loadGltf methods.

when initialInstances > 0, don't wait for createInstance to be called to create corresponding GltfSceneAsset
This commit is contained in:
Nick Fisher committed 2025-06-26 10:11:29 +08:00
1 parent b983c6bb90
commit ccc0a53abc
9 files changed
+49 -46

No files matched your search

@@ -33,8 +33,7 @@ namespace thermion
Engine *engine,
utils::NameComponentManager* ncm,
MaterialInstance **materialInstances = nullptr,
size_t materialInstanceCount = 0,
int instanceIndex = 0);
size_t materialInstanceCount = 0);
~GltfSceneAsset();