Navigation
API > API/Plugins > API/Plugins/OptimusCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UComputeSource
- UOptimusSource
References
| Module | OptimusCore |
| Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusSource.h |
| Include | #include "OptimusSource.h" |
Syntax
UCLASS&40;&41;
class UOptimusSource :
public UComputeSource,
public IOptimusShaderTextProvider
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | SourceText | HLSL Source. |
Functions
Overridden from UComputeSource
| Type | Name | Description | |
|---|---|---|---|
| FString | GetSource () |
Get source code ready for HLSL compilation. | |
| FString | Get virtual file path for the source code. |
Overridden from IOptimusShaderTextProvider
| Type | Name | Description | |
|---|---|---|---|
| FString | Get test for declaration pane. | ||
| FString | Get title for text editor tab. | ||
| FString | Get shader text for editor pane. | ||
| void | SetShaderText
(
const FString& NewText |
Set shader text after edit modifications. |