Navigation
API > API/Plugins > API/Plugins/OptimusCore
| Name | UOptimusSource |
| Type | class |
| Header File | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusSource.h |
| Include Path | #include "OptimusSource.h" |
Syntax
UCLASS (MinimalAPI)
class UOptimusSource :
public UComputeSource,
public IOptimusShaderTextProvider
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComputeSource → UOptimusSource
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetSource() |
OptimusSource.h | ||
FString GetVirtualPath() |
OptimusSource.h | ||
void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
OptimusSource.h | ||
void SetSource
(
const FString& InText |
OptimusSource.h |
Overridden from IOptimusShaderTextProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDeclarations() |
Get test for declaration pane. | OptimusSource.h | |
virtual FString GetNameForShaderTextEditor() |
Get title for text editor tab. | OptimusSource.h | |
virtual FString GetShaderText() |
Get shader text for editor pane. | OptimusSource.h | |
virtual bool IsShaderTextReadOnly() |
Return true is the shader text can be edited | OptimusSource.h | |
virtual void SetShaderText
(
const FString& NewText |
Set shader text after edit modifications. | OptimusSource.h |