QueryJob.RunParallel().md
July 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.QueryJob
QueryJob.RunParallel() Method
Execute the query.
See Example..
All chunks having at least MinParallelChunkLength * ThreadCount
components are executed Parallel.
public abstract void RunParallel();
Exceptions
System.InvalidOperationException
If the JobRunner is not set.
System.InvalidOperationException
If a nested RunParallel() is using the same JobRunner as the enclosing job.
Remarks
Requires an ParallelJobRunner.
A runner can be assigned to JobRunner or to the EntityStore.