Navigation
API > API/Plugins > API/Plugins/ComputeFramework
Class responsible for loading HLSL text and parsing any metadata available.
| Name | UComputeSourceFromText |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ComputeSourceFromText.h |
| Include Path | #include "ComputeFramework/ComputeSourceFromText.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UComputeSourceFromText : public UComputeSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComputeSource → UComputeSourceFromText
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SourceFile | FFilePath | Filepath to the source file containing the kernel entry points and all options for parsing. | ComputeFramework/ComputeSourceFromText.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PrevSourceFile | FFilePath | ComputeFramework/ComputeSourceFromText.h | ||
| SourceText | FString | ComputeFramework/ComputeSourceFromText.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ReparseSourceText() |
Parse the source to get metadata. | ComputeFramework/ComputeSourceFromText.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
ComputeFramework/ComputeSourceFromText.h | ||
void PostLoad() |
ComputeFramework/ComputeSourceFromText.h | ||
void PreEditChange
(
FEditPropertyChain& PropertyAboutToChange |
ComputeFramework/ComputeSourceFromText.h |
Overridden from UComputeSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetSource() |
Get source code ready for HLSL compilation. | ComputeFramework/ComputeSourceFromText.h |