Navigation
API > API/Runtime > API/Runtime/Engine
Interface for a compute task worker. Implementations will queue and schedule work per scene before the renderer submits at fixed points in the frame.
| Name | IComputeTaskWorker |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/ComputeWorkerInterface.h |
| Include Path | #include "ComputeWorkerInterface.h" |
Syntax
class IComputeTaskWorker
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IComputeTaskWorker() |
ComputeWorkerInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasWork
(
FName InExecutionGroupName |
Returns true if there is any scheduled work. | ComputeWorkerInterface.h | |
void SubmitWork
(
FComputeContext& Context |
Add any scheduled work to an RDGBuilder ready for execution. | ComputeWorkerInterface.h | |
virtual void SubmitWork
(
FRDGBuilder& GraphBuilder, |
ComputeWorkerInterface.h |