Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- FGraphRenderCost
References
| Module | MetasoundGraphCore |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundRenderCost.h |
| Include | #include "MetasoundRenderCost.h" |
Syntax
class FGraphRenderCost : public TSharedFromThis< FGraphRenderCost >
Remarks
FGraphRenderCost represents the accumulated render cost of a graph. Individual nodes in a graph can report their render cost through an FNodeRenderCost.
The render cost of each node is added together to determine the graph's render cost.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGraphRenderCost
(
EPrivateToken InToken |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FNodeRenderCost | AddNode
(
const FGuid& InNodeInstanceID, |
Add a node to the graph's render cost. | |
| float | Adds all the individual node render costs and returns the result. | ||
| TSharedRef< FGraphRenderCost > | |||
| void | Reset the individual node render costs to zero. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EPrivateToken | Private token to enforce creation of shared reference. |