Add support for multi-threaded CPU particles simulation

This commit is contained in:
Wojtek Figat
2021-06-15 23:48:00 +02:00
parent 2a73d18d14
commit d2d8a83461
11 changed files with 245 additions and 313 deletions

View File

@@ -105,7 +105,7 @@ Asset::LoadResult ParticleEmitter::load()
EnablePooling = root->Values[3].AsBool;
CustomBounds = (BoundingBox)root->Values[4];
UseAutoBounds = root->Values[5].AsBool;
IsUsingLights = Graph.UsesLightRendering();
IsUsingLights = Graph.LightModules.HasItems();
}
// Select simulation mode