Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- IPCGElement
- FPCGSurfaceSamplerElement
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGSurfaceSampler.h |
| Include | #include "Elements/PCGSurfaceSampler.h" |
Syntax
class FPCGSurfaceSamplerElement : public IPCGElement
Overridden from IPCGElement
| Type | Name | Description | |
|---|---|---|---|
| bool | ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | |
| void | GetDependenciesCrc
(
const FPCGDataCollection& InInput, |
Calculate a Crc that provides a receipt for the input data that can be paired with output data from the cache. | |
| FPCGContext * | Initialize
(
const FPCGDataCollection& InputData, |
Creates a custom context object paired to this element | |
| bool | PrepareDataInternal
(
FPCGContext* Context |
The prepare data phase is one where it is more likely to be able to multithread | |
| bool | ShouldComputeFullOutputDataCrc
(
FPCGContext* Context |
Might be sampling landscape or other external data, worth computing a full CRC in case we can halt change propagation/re-executions. |