internal override void ExecuteModifiers(IEnumerable <IModifier> modifiers, float elapsedSeconds, ParticleBuffer.ParticleIterator iterator) { TPL.Parallel.ForEach(modifiers, modifier => modifier.Update(elapsedSeconds, iterator.Reset())); }
internal abstract void ExecuteModifiers(IEnumerable <IModifier> modifiers, float elapsedSeconds, ParticleBuffer.ParticleIterator iterator);
internal override void ExecuteModifiers(IEnumerable <IModifier> modifiers, float elapsedSeconds, ParticleBuffer.ParticleIterator iterator) { foreach (var modifier in modifiers) { modifier.Update(elapsedSeconds, iterator.Reset()); } }