UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IComputeTaskWorker Class Referenceabstract

#include <ComputeWorkerInterface.h>

Public Member Functions

virtual ~IComputeTaskWorker ()
 
virtual bool HasWork (FName InExecutionGroupName) const =0
 
virtual void SubmitWork (FComputeContext &Context)=0
 
virtual ENGINE_API void SubmitWork (FRDGBuilder &GraphBuilder, FName InExecutionGroupName, ERHIFeatureLevel::Type InFeatureLevel)
 

Detailed Description

Interface for a compute task worker. Implementations will queue and schedule work per scene before the renderer submits at fixed points in the frame.

Constructor & Destructor Documentation

◆ ~IComputeTaskWorker()

virtual IComputeTaskWorker::~IComputeTaskWorker ( )
inlinevirtual

Member Function Documentation

◆ HasWork()

virtual bool IComputeTaskWorker::HasWork ( FName  InExecutionGroupName) const
pure virtual

Returns true if there is any scheduled work.

◆ SubmitWork() [1/2]

virtual void IComputeTaskWorker::SubmitWork ( FComputeContext Context)
pure virtual

Add any scheduled work to an RDGBuilder ready for execution.

◆ SubmitWork() [2/2]

void IComputeTaskWorker::SubmitWork ( FRDGBuilder GraphBuilder,
FName  InExecutionGroupName,
ERHIFeatureLevel::Type  InFeatureLevel 
)
virtual

The documentation for this class was generated from the following files: