UE::Geometry::ParallelTransformReduce

Index interface (similar to ParallelFor) TransformFuncT should be a function pointer-like object with signature: T(int) ReduceFuncT should be a function pointer-like object with signature: T(T,T)

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/Async/ParallelTransformReduce.h

Include

#include "Async/ParallelTransformReduce.h"

Syntax

namespace UE
{
    namespace Geometry
    {
        template<typename T, typename TransformFuncT, typename ReduceFuncT>
        T UE::Geometry::ParallelTransformReduce
        (
            int64 Num,
            const T & Init,
            TransformFuncT Transform,
            ReduceFuncT Reduce,
            int64 NumTasks
        )
    }
}

Remarks

Index interface (similar to ParallelFor) TransformFuncT should be a function pointer-like object with signature: T(int) ReduceFuncT should be a function pointer-like object with signature: T(T,T)