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