TPBDActiveView::ParallelFor

Execute the specified function in nested parallel for loops, on all items for each active range (parallel range, parallel items). Set MinParallelSize to run sequential on the smaller ranges.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/PBDActiveView.h"

Syntax

void ParallelFor
(
    TFunctionRef< void)> Function,
    bool bForceSingleThreadedRange,
    int32 MinParallelSize
) const

Remarks

Execute the specified function in nested parallel for loops, on all items for each active range (parallel range, parallel items). Set MinParallelSize to run sequential on the smaller ranges.

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