Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- IPCGElement
- TPCGTimeSlicedElementBase
- FPCGVolumeSamplerElement
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGVolumeSampler.h |
| Include | #include "Elements/PCGVolumeSampler.h" |
Syntax
class FPCGVolumeSamplerElement : public TPCGTimeSlicedElementBase< PCGVolumeSampler::FVolumeSamplerExecutionState, PCGVolumeSampler::FVolumeSamplerIterationState >
Overridden from IPCGElement
| Type | Name | Description | |
|---|---|---|---|
| bool | ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | |
| EPCGElementExecutionLoopMode | ExecutionLoopMode
(
const UPCGSettings* Settings |
Describes internal execution behavior, which is used to break down inputs/outputs for caching purposes. | |
| 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. | |
| 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 external data like brush, worth computing a full CRC in case we can halt change propagation/re-executions. |