Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGTextureSamplerElement |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGTextureSampler.h |
| Include Path | #include "Elements/PCGTextureSampler.h" |
Syntax
class FPCGTextureSamplerElement : public IPCGElement
Implements Interfaces
Functions
Public
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual 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. | Elements/PCGTextureSampler.h | |
virtual void GetDependenciesCrc
(
const FPCGGetDependenciesCrcParams& InParams, |
Calculate a Crc that provides a receipt for the input data that can be paired with output data from the cache. | Elements/PCGTextureSampler.h |
Protected
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGContext * CreateContext() |
Let each element optionally act as a concrete factory for its own context | Elements/PCGTextureSampler.h | |
virtual bool ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | Elements/PCGTextureSampler.h | |
virtual bool PrepareDataInternal
(
FPCGContext* InContext |
Elements/PCGTextureSampler.h |