Navigation
API > API/Plugins > API/Plugins/ComputeFramework
Class responsible for loading HLSL text and parsing the options available.
| Name | UComputeKernelFromText |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ComputeKernelFromText.h |
| Include Path | #include "ComputeFramework/ComputeKernelFromText.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UComputeKernelFromText : public UComputeKernelSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComputeKernelSource → UComputeKernelFromText
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/ComputeKernelFromText.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| KernelSourceText | FString | ComputeFramework/ComputeKernelFromText.h | ||
| PrevSourceFile | FFilePath | ComputeFramework/ComputeKernelFromText.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ReparseKernelSourceText() |
Parse the kernel source to get the kernel external functions and other data. | ComputeFramework/ComputeKernelFromText.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
ComputeFramework/ComputeKernelFromText.h | ||
void PostLoad() |
ComputeFramework/ComputeKernelFromText.h | ||
void PreEditChange
(
FEditPropertyChain& PropertyAboutToChange |
ComputeFramework/ComputeKernelFromText.h |
Overridden from UComputeKernelSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetSource() |
Get kernel source code ready for HLSL compilation. | ComputeFramework/ComputeKernelFromText.h |