/Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTree.h
Functions are a way to dynamically inject new scopes into the tree They are used to represent calls to material functions using execution flow, and to inject dynamic branches without explicit control flow
class FFunction : public [UE::HLSLTree::FNode](API\Runtime\Engine\HLSLTree\FNode)
FScope*
CalledScope
The scope where this function is called, when HLSL is emitted, the RootScope will be injected here
TArray< constF...
OutputExpressions
Function output expressions, should be expressions nested under RootScope
FScope*
RootScope
The root scope of the function