Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGMetadataPartitionKernel |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Metadata/PCGMetadataPartitionKernel.h |
| Include Path | #include "Elements/Metadata/PCGMetadataPartitionKernel.h" |
Syntax
UCLASS ()
class UPCGMetadataPartitionKernel : public UPCGComputeKernel
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComputeKernel → UPCGComputeKernel → UPCGMetadataPartitionKernel
Functions
Public
Overridden from UPCGComputeKernel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< const FPCGDataCollectionDesc > ComputeOutputBindingDataDesc
(
FName InOutputPinLabel, |
Compute a description of data that will be output from pin InOutputPinLabel. | Elements/Metadata/PCGMetadataPartitionKernel.h | |
virtual int ComputeThreadCount
(
const UPCGDataBinding* Binding |
Compute how many threads should be dispatched to execute this node on the GPU. | Elements/Metadata/PCGMetadataPartitionKernel.h | |
virtual void CreateAdditionalInputDataInterfaces
(
FPCGGPUCompilationContext& InOutContext, |
Create additional input data interfaces to marshal any required input data. | Elements/Metadata/PCGMetadataPartitionKernel.h | |
virtual FString GetEntryPoint () |
Get the name of the main kernel function in the source. | Elements/Metadata/PCGMetadataPartitionKernel.h | |
virtual void GetInputPins
(
TArray< FPCGPinProperties >& OutPins |
Elements/Metadata/PCGMetadataPartitionKernel.h | ||
virtual void GetKernelAttributeKeys
(
TArray< FPCGKernelAttributeKey >& OutKeys |
Get all the attributes read or written by this node for which we know the name and type statically. | Elements/Metadata/PCGMetadataPartitionKernel.h | |
virtual void GetOutputPins
(
TArray< FPCGPinPropertiesGPU >& OutPins |
Elements/Metadata/PCGMetadataPartitionKernel.h | ||
virtual const TCHAR * GetSourceFilePath() |
Get the virtual file path of the shader source file for this kernel. | Elements/Metadata/PCGMetadataPartitionKernel.h | |
virtual bool IsKernelDataValid
(
FPCGContext* InContext |
Performs data validation and returns true if this node is suitable for deployment to the GPU. | Elements/Metadata/PCGMetadataPartitionKernel.h | |
virtual bool SplitGraphAtOutput() |
Split graph to update element counts on CPU before proceeding. Compacts data for downstream kernels. | Elements/Metadata/PCGMetadataPartitionKernel.h |
Protected
Overridden from UPCGComputeKernel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool PerformStaticValidation () |
Performs validation on compile time information (e.g. Node, Settings, etc.). | Elements/Metadata/PCGMetadataPartitionKernel.h |