![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 |
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.
|
inlinevirtual |
|
pure virtual |
Create compute workers and add to OutWorkers. The created compute workers will only be used by InScene.
|
pure virtual |
Destroy any compute workers created by this system that are found the InOutWorkers array. Also remove them from the array.