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

#include <ComputeSystemInterface.h>

Public Member Functions

virtual ~IComputeSystem ()
 
virtual void CreateWorkers (FSceneInterface const *InScene, TArray< IComputeTaskWorker * > &OutWorkers)=0
 
virtual void DestroyWorkers (FSceneInterface const *InScene, TArray< IComputeTaskWorker * > &InOutWorkers)=0
 

Detailed Description

Interface for compute systems. IComputeSystem objects are registered with the renderer. Whenever a scene is created it instantiates the IComputeTaskWorker objects required by the registered IComputeSystem. IComputeTaskWorker objects have their work executed by the renderer at specific points in the frame. The compute tasks are scheduled by the IComputeSystem.

Constructor & Destructor Documentation

◆ ~IComputeSystem()

virtual IComputeSystem::~IComputeSystem ( )
inlinevirtual

Member Function Documentation

◆ CreateWorkers()

virtual void IComputeSystem::CreateWorkers ( FSceneInterface const *  InScene,
TArray< IComputeTaskWorker * > &  OutWorkers 
)
pure virtual

Create compute workers and add to OutWorkers. The created compute workers will only be used by InScene.

◆ DestroyWorkers()

virtual void IComputeSystem::DestroyWorkers ( FSceneInterface const *  InScene,
TArray< IComputeTaskWorker * > &  InOutWorkers 
)
pure virtual

Destroy any compute workers created by this system that are found the InOutWorkers array. Also remove them from the array.


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