FProcessorDependencySolver::PerformPrioritySolverStep

Traverses InOutIndicesRemaining in search of the first RootNode's node that has no dependencies left.

Choose your operating system:

Windows

macOS

Linux

References

Module

MassEntity

Header

/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassProcessorDependencySolver.h

Include

#include "MassProcessorDependencySolver.h"

Source

/Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Private/MassProcessorDependencySolver.cpp

Syntax

static bool PerformPrioritySolverStep
(
    FNode & RootNode,
    TArray< int32 > & InOutIndicesRemaining,
    TArray< int32 > & OutNodeIndices
)

Remarks

Traverses InOutIndicesRemaining in search of the first RootNode's node that has no dependencies left. Once found the node's index gets added to OutNodeIndices, removed from dependency lists from all other nodes and the function quits.

Returns

'true' if a dependency-less node has been found and added to OutNodeIndices; 'false' otherwise.