Navigation
API > API/Plugins > API/Plugins/ComputeFramework
Component which holds a context for a UComputeGraph. This object binds the graph to its data providers, and queues the execution.
| Name | UComputeGraphComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ComputeGraphComponent.h |
| Include Path | #include "ComputeFramework/ComputeGraphComponent.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable, Meta=(BlueprintSpawnableComponent))
class UComputeGraphComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UComputeGraphComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UComputeGraphComponent() |
ComputeFramework/ComputeGraphComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComputeGraph | TObjectPtr< UComputeGraph > | The Compute Graph asset. | ComputeFramework/ComputeGraphComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComputeGraphInstance | FComputeGraphInstance | ComputeFramework/ComputeGraphComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateDataProviders
(
int32 InBindingIndex, |
Create all the Data Provider objects for a given binding object of the ComputeGraph. | ComputeFramework/ComputeGraphComponent.h |
|
void DestroyDataProviders() |
Destroy all associated DataProvider objects. | ComputeFramework/ComputeGraphComponent.h |
|
void QueueExecute() |
Queue the graph for execution at the next render update. | ComputeFramework/ComputeGraphComponent.h |
|
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DestroyRenderState_Concurrent() |
ComputeFramework/ComputeGraphComponent.h | ||
void OnRegister() |
ComputeFramework/ComputeGraphComponent.h | ||
void OnUnregister() |
ComputeFramework/ComputeGraphComponent.h | ||
void SendRenderDynamicData_Concurrent() |
ComputeFramework/ComputeGraphComponent.h | ||
bool ShouldCreateRenderState() |
ComputeFramework/ComputeGraphComponent.h | ||
void TickComponent
(
float DeltaTime, |
ComputeFramework/ComputeGraphComponent.h |