UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ComputeWorkerInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6
7class FRDGBuilder;
9class FSceneView;
10namespace ERHIFeatureLevel { enum Type : int; }
11
13{
17 const FSceneInterface* Scene = nullptr;
18 const FSceneView* View = nullptr; // Null if executed outside of view rendering.
19};
20
26{
27public:
29
31 virtual bool HasWork(FName InExecutionGroupName) const = 0;
32
35
36 UE_DEPRECATED(5.7, "Use version that takes FComputeContext instead")
38};
39
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition NameTypes.h:617
Definition RenderGraphBuilder.h:49
Definition SceneInterface.h:106
Definition SceneView.h:1425
Definition ComputeWorkerInterface.h:26
virtual ~IComputeTaskWorker()
Definition ComputeWorkerInterface.h:28
virtual bool HasWork(FName InExecutionGroupName) const =0
virtual void SubmitWork(FComputeContext &Context)=0
Definition SceneComponent.h:24
Type
Definition RHIFeatureLevel.h:20
int
Definition TestServer.py:515
Definition ComputeWorkerInterface.h:42
static ENGINE_API FName Immediate
Definition ComputeWorkerInterface.h:43
static ENGINE_API FName BeginInitViews
Definition ComputeWorkerInterface.h:45
static ENGINE_API FName PostTLASBuild
Definition ComputeWorkerInterface.h:46
static ENGINE_API FName EndOfFrameUpdate
Definition ComputeWorkerInterface.h:44
Definition ComputeWorkerInterface.h:13
const FSceneInterface * Scene
Definition ComputeWorkerInterface.h:17
const FSceneView * View
Definition ComputeWorkerInterface.h:18
ERHIFeatureLevel::Type FeatureLevel
Definition ComputeWorkerInterface.h:16
FRDGBuilder & GraphBuilder
Definition ComputeWorkerInterface.h:14
FName ExecutionGroupName
Definition ComputeWorkerInterface.h:15