Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/IO
Inheritance Hierarchy
- IPCGElement
- FPCGExternalDataElement
- FPCGLoadAlembicElement
- FPCGLoadDataTableElement
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/IO/PCGExternalData.h |
| Include | #include "Elements/IO/PCGExternalData.h" |
Syntax
class FPCGExternalDataElement : public IPCGElement
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ExecuteLoad
(
FPCGExternalDataContext* Context |
||
| bool | PostExecuteLoad
(
FPCGExternalDataContext* Context |
||
| bool | PrepareLoad
(
FPCGExternalDataContext* Context |
Overridden from IPCGElement
| Type | Name | Description | |
|---|---|---|---|
| bool | CanExecuteOnlyOnMainThread
(
FPCGContext* Context |
Loading needs to be done on the main thread and accessing objects outside of PCG might not be thread safe, so taking the safe approach. | |
| FPCGContext * | Let each element optionally act as a concrete factory for its own context | ||
| bool | ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | |
| bool | PrepareDataInternal
(
FPCGContext* Context |
The prepare data phase is one where it is more likely to be able to multithread |