Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGComputeSource |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Compute/PCGComputeSource.h |
| Include Path | #include "Compute/PCGComputeSource.h" |
Syntax
UCLASS (MinimalAPI)
class UPCGComputeSource :
public UComputeSource ,
public IPCGNodeSourceTextProvider
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComputeSource → UPCGComputeSource
Implements Interfaces
- IPCGNodeSourceTextProvider
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnModifiedDelegate | FOnPCGComputeSourceModified | Compute/PCGComputeSource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDeclarationsText() |
Get text for declarations pane. | Compute/PCGComputeSource.h | |
virtual FString GetShaderFunctionsText() |
Get text for shader functions pane. | Compute/PCGComputeSource.h | |
virtual FString GetShaderText() |
Get shader text for editor pane. | Compute/PCGComputeSource.h | |
virtual bool IsShaderTextReadOnly() |
Return true is the shader text can be edited | Compute/PCGComputeSource.h | |
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Compute/PCGComputeSource.h | ||
virtual void PostEditUndo() |
Compute/PCGComputeSource.h | ||
virtual void SetShaderFunctionsText
(
const FString& NewFunctionsText |
Set shader functions text after edit modifications. | Compute/PCGComputeSource.h | |
virtual void SetShaderText
(
const FString& NewText |
Set shader text after edit modifications. | Compute/PCGComputeSource.h | |
void SetSource
(
const FString& InSource |
Compute/PCGComputeSource.h |
Overridden from UComputeSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetSource() |
Compute/PCGComputeSource.h | ||
virtual FString GetVirtualPath() |
Compute/PCGComputeSource.h |