Navigation
Unreal Engine C++ API Reference > Plugins > OptimusCore
Inheritance Hierarchy
- UObject
- UComputeSource
- UOptimusSource
References
Module | OptimusCore |
Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusSource.h |
Include | #include "OptimusSource.h" |
Syntax
UCLASS ()
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. | |
![]() ![]() ![]() |
bool | Return true is the shader text can be edited | |
![]() ![]() |
void | SetShaderText
(
const FString& NewText |
Set shader text after edit modifications. |