Navigation
API > API/Plugins > API/Plugins/PCG
Implementation note: this node forwards data, but does not keep that data alive. This is the responsibility of the corresponding FPCGSubgraphContext.
| Name | FPCGInputForwardingElement |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGSubgraph.h |
| Include Path | #include "PCGSubgraph.h" |
Syntax
class FPCGInputForwardingElement : public IPCGElement
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGInputForwardingElement
(
const FPCGDataCollection& InputToForward |
PCGSubgraph.h |
Functions
Public
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsCacheable
(
const UPCGSettings* InSettings |
Since this class is stateful because it owns a FPCGDataCollection it can't be cached unless it implements a proper GetDependenciesCrc. | PCGSubgraph.h | |
virtual bool ShouldVerifyIfOutputsAreUsedMultipleTimes
(
const UPCGSettings* InSettings |
Should not verify if outputs are used multiples times, as we are just outputting the input collection we have. | PCGSubgraph.h |
Protected
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | PCGSubgraph.h | |
virtual bool IsPassthrough
(
const UPCGSettings* InSettings |
Used to specify that the element passes through the data without any manipulation - used to correct target pins, etc. | PCGSubgraph.h | |
virtual bool SupportsBasePointDataInputs
(
FPCGContext* InContext |
Returns true if node supports any point data format. | PCGSubgraph.h | |
virtual bool SupportsGPUResidentData
(
FPCGContext* InContext |
Returns true if node supports data objects that are only resident on GPU (not CPU). | PCGSubgraph.h |