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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user