Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/HLSLTree
Inheritance Hierarchy
- FNode
- FFunction
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/HLSLTree/HLSLTree.h |
| Include | #include "HLSLTree/HLSLTree.h" |
Syntax
class FFunction : public UE::HLSLTree::FNode
Remarks
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| FScope * | CalledScope | The scope where this function is called, when HLSL is emitted, the RootScope will be injected here | |
| TArray< const FExpression *, TInlineAllocator< 8 > > | OutputExpressions | Function output expressions, should be expressions nested under RootScope | |
| FScope * | RootScope | The root scope of the function |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FScope & | GetRootScope () |