Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/IO
Inheritance Hierarchy
- IPCGElement
- IPCGElementWithCustomContext
- FPCGLoadDataAssetElement
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/IO/PCGLoadAssetElement.h |
| Include | #include "Elements/IO/PCGLoadAssetElement.h" |
Syntax
class FPCGLoadDataAssetElement : public IPCGElementWithCustomContext< FPCGLoadDataAssetContext >
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. | |
| 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 |