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 IPCGCodeEditorTextProvider
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComputeSource → UPCGComputeSource
Implements Interfaces
- IPCGCodeEditorTextProvider
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnModifiedDelegate | FOnPCGComputeSourceModified | Compute/PCGComputeSource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetShaderFunctionsText() |
Compute/PCGComputeSource.h | ||
FString GetShaderText() |
Deprecated section. | Compute/PCGComputeSource.h | |
bool IsShaderTextReadOnly() |
Compute/PCGComputeSource.h | ||
void SetShaderFunctionsText
(
const FString& InText |
Compute/PCGComputeSource.h | ||
void SetSource
(
const FString& InSource |
Compute/PCGComputeSource.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDeclarationsText() |
Get text for declarations pane. | Compute/PCGComputeSource.h | |
virtual FString GetFunctionsText() |
Get text for functions pane. | Compute/PCGComputeSource.h | |
virtual FString GetSourceText() |
Get text for source pane. | Compute/PCGComputeSource.h | |
virtual bool IsReadOnly() |
Whether the text can be edited. | Compute/PCGComputeSource.h | |
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Compute/PCGComputeSource.h | ||
virtual void PostEditUndo() |
Compute/PCGComputeSource.h | ||
virtual void SetFunctionsText
(
const FString& InText |
Set functions text after edit modifications. | Compute/PCGComputeSource.h | |
virtual void SetSourceText
(
const FString& InText |
Set source text after edit modifications. | Compute/PCGComputeSource.h |
Overridden from UComputeSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetSource() |
Compute/PCGComputeSource.h | ||
virtual FString GetVirtualPath() |
Compute/PCGComputeSource.h |