Chaos::ParticleViewParallelForImp

The function ParticlesParallelFor may be called on ParticleViews, HandleViews, or plain old manually curated arrays of either.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ParticleIterator.h

Include

#include "Chaos/ParticleIterator.h"

Syntax

namespace Chaos
{
    template<typename TParticleView, typename Lambda>
    void Chaos::ParticleViewParallelForImp
    (
        const TParticleView & Particles,
        const Lambda & Func
    )
}

Remarks

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback