Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
EOperatorBuildNodePruning expresses the desired pruning behavior during the node pruning step.
Some nodes are unreachable in the graph either by traversing from the input nodes to from the output nodes. Because they are not dependent, they have no impact on the produced output and can be pruned without causing any change to the declared behavior of the graph.
| Name | Metasound::EOperatorBuilderNodePruning |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundOperatorBuilderSettings.h |
| Include Path | #include "MetasoundOperatorBuilderSettings.h" |
Syntax
namespace Metasound
{
enum EOperatorBuilderNodePruning
{
None,
PruneNodesWithoutOutputDependency,
PruneNodesWithoutInputDependency,
PruneNodesWithoutExternalDependency,
}
}
Values
| Name | Remarks |
|---|---|
| None | Do not prune any nodes. |
| PruneNodesWithoutOutputDependency | Prune nodes which cannot be reached from the output nodes. |
| PruneNodesWithoutInputDependency | Prune nodes which cannot be reached from the input nodes. |
| PruneNodesWithoutExternalDependency | Prune nodes which cannot be reached from the input nodes or output nodes. |