FComputeGraphInstance

Class to store a set of data provider bindings for [UComputeGraph](API\Plugins\ComputeFramework\ComputeFramework\UComputeGraph) and to enqueue work to the ComputeFramework's compute system.

Choose your operating system:

Windows

macOS

Linux

References

Module

ComputeFramework

Header

/Engine/Plugins/Experimental/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ComputeGraphInstance.h

Include

#include "ComputeFramework/ComputeGraphInstance.h"

Syntax

USTRUCT()
struct FComputeGraphInstance

Remarks

Class to store a set of data provider bindings for UComputeGraph and to enqueue work to the ComputeFramework's compute system.

Functions

Name Description

Public function

void

 

CreateDataProviders

(
    UComputeGraph* InComputeGraph,
    UObject* InBindingObject
)

Create the Data Provider objects for the ComputeGraph.

Public function

void

 

DestroyDataProviders()

Create the Data Provider objects.

Public function

bool

 

EnqueueWork

(
    UComputeGraph* InComputeGraph,
    FSceneInterface const* Scene
)

Enqueue the ComputeGraph work.

Public function Const

bool

 

ValidateDataProviders

(
    UComputeGraph* InComputeGraph
)

Returns true if the Data Provider objects are all created and valid.