TPBDActiveView::ParallelFor

Execute the specified function in parallel, on all items for each active range (sequential 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,
    int32 MinParallelSize
) const

Remarks

Execute the specified function in parallel, on all items for each active range (sequential 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