FProcessorDependencySolver::PerformSolverStep

Traverses RootNode's child nodes indicated by InOutIndicesRemaining and appends to OutNodeIndices the ones that have no dependencies.

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 int32 PerformSolverStep
(
    FNode & RootNode,
    TArray< int32 > & InOutIndicesRemaining,
    TArray< int32 > & OutNodeIndices
)

Remarks

Traverses RootNode's child nodes indicated by InOutIndicesRemaining and appends to OutNodeIndices the ones that have no dependencies. The indices added to OutNodeIndices also get removed from remaining nodes' outstanding dependencies.

that the whole InOutIndicesRemaining gets tested in sequence, which means nodes can get their dependencies emptied and added to OutNodeIndices within one call (as opposed to PerformPrioritySolverStep).