Navigation
API > API/Plugins > API/Plugins/ComputeFramework
Class representing some source for inclusion in a UComputeKernel. We derive from this for each authoring mechanism. (HLSL text, VPL graph, ML Meta Lang, etc.)
| Name | UComputeSource |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ComputeSource.h |
| Include Path | #include "ComputeFramework/ComputeSource.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UComputeSource : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComputeSource
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AdditionalSources | TArray< TObjectPtr< UComputeSource > > | Array of additional source objects. This allows us to specify source dependencies. | ComputeFramework/ComputeSource.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetSource() |
Get source code ready for HLSL compilation. | ComputeFramework/ComputeSource.h | |
virtual FString GetVirtualPath () |
Get virtual file path for the source code. | ComputeFramework/ComputeSource.h |