Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 3.34 KB

ParallelSystem_T_.md

File metadata and controls

39 lines (28 loc) · 3.34 KB

ParallelSystem Class

Represents a collection of ISystem<T> to update in parallel.

public sealed class ParallelSystem<T> :
DefaultEcs.System.ISystem<T>,
System.IDisposable

Type parameters

T

The type of the object used as state to update the systems.

Inheritance System.Object 🡒 ParallelSystem

Implements DefaultEcs.System.ISystem<T>, System.IDisposable

Constructors
ParallelSystem(ISystem<T>, IParallelRunner, ISystem<T>[]) Initialises a new instance of the ParallelSystem<T> class.
ParallelSystem(ISystem<T>, IParallelRunner, IEnumerable<ISystem<T>>) Initialises a new instance of the ParallelSystem<T> class.
ParallelSystem(IParallelRunner, ISystem<T>[]) Initialises a new instance of the ParallelSystem<T> class.
ParallelSystem(IParallelRunner, IEnumerable<ISystem<T>>) Initialises a new instance of the ParallelSystem<T> class.
Properties
IsEnabled Gets or sets whether the current ParallelSystem<T> instance should update or not.
Methods
Dispose() Disposes all the inner ISystem<T> instances.
Update(T) Updates the system once.