Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/FPCGSampleTextureElement
- IPCGElement::CanExecuteOnlyOnMainThread()
- FPCGSampleTextureElement::CanExecuteOnlyOnMainThread()
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSampleTexture.h |
| Include | #include "Elements/PCGSampleTexture.h" |
virtual bool CanExecuteOnlyOnMainThread
(
FPCGContext * Context
) const
Remarks
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.