Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
FNodeRenderCost allows individual nodes to report their render cost.
FNodeRenderCost should be created with FGraphRenderCost::AddNode(...)
| Name | FNodeRenderCost |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundRenderCost.h |
| Include Path | #include "MetasoundRenderCost.h" |
Syntax
class FNodeRenderCost
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| The default constructor is provided for convenience, but creating a FNodeRenderCost with the default constructor will allow any method for reading or accumulating a nodes render cost. | MetasoundRenderCost.h | ||
FNodeRenderCost
(
int32 InNodeIndex, |
MetasoundRenderCost.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GraphRenderCost | TSharedPtr< FGraphRenderCost > | MetasoundRenderCost.h | ||
| NodeIndex | int32 | MetasoundRenderCost.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetRenderCost
(
float InCost |
Set the render cost of this node. | MetasoundRenderCost.h |