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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss