au.Metasound.Profiling.AddNodes

au.Metasound.Profiling.AddNodes

#Overview

name: au.Metasound.Profiling.AddNodes

This variable is created as a Console Variable (cvar).

It is referenced in 1 C++ source file.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Private/MetasoundProfilingOperator.cpp:24

Scope (from outer to inner):

file
namespace    Metasound
namespace    Profiling
function     void Init

Source code excerpt:

		{
			IConsoleManager::Get().RegisterConsoleCommand(
				TEXT("au.Metasound.Profiling.AddNodes"),
				TEXT("Adds the specified node class name(s) to the list of metasound nodes that will be profiled and visible in Insights."),
				FConsoleCommandWithArgsDelegate::CreateLambda([](const TArray<FString>& Args)
					{
						for (const FString& NodeName : Args)
						{
							ProfilingNodeFilter.AddUnique(NodeName);
						}
					}),
				ECVF_Default
			);
			IConsoleManager::Get().RegisterConsoleCommand(
				TEXT("au.Metasound.Profiling.ListNodes"),
				TEXT("Lists the node class names that will be profiled and visible in Insights."),
				FConsoleCommandDelegate::CreateLambda([]()
					{
						UE_LOG(LogMetasoundProfiling, Display, TEXT("Metasound profiling limited to nodes with these names:"));
						for (const FString& NodeName : ProfilingNodeFilter)