Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ParticleIterator.h |
Include |
#include "Chaos/ParticleIterator.h" |
namespace Chaos
{
template<typename TParticleView, typename Lambda>
void Chaos::ParticleViewParallelForImp
(
const TParticleView & Particles,
const Lambda & Func
)
}
The function ParticlesParallelFor may be called on ParticleViews, HandleViews, or plain old manually curated arrays of either. In each case, the implementation can differ. The following set of templates will select for the right case.
The non-parallel implementation of iteration should not deviate in behavior from this parallel implementation. They must be kept in sync.