UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FBatchTickFunctionTask Class Reference

Public Member Functions

FORCEINLINE FBatchTickFunctionTask (FTickBatchInfo *InTickBatch, const FTickContext *InContext)
 
FORCEINLINE ENamedThreads::Type GetDesiredThread ()
 
void DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent)
 

Detailed Description

Task for executing multiple functions at once

Constructor & Destructor Documentation

◆ FBatchTickFunctionTask()

FORCEINLINE FBatchTickFunctionTask::FBatchTickFunctionTask ( FTickBatchInfo InTickBatch,
const FTickContext InContext 
)
inline

Member Function Documentation

◆ DoTask()

void FBatchTickFunctionTask::DoTask ( ENamedThreads::Type  CurrentThread,
const FGraphEventRef MyCompletionGraphEvent 
)
inline

Actually execute the tick.

Parameters
CurrentThread;the thread we are running on
MyCompletionGraphEvent;my completion event. Not always useful since at the end of DoWork, you can assume you are done and hence further tasks do not need you as a prerequisite. However, MyCompletionGraphEvent can be useful for passing to other routines or when it is handy to set up subsequents before you actually do work.

◆ GetDesiredThread()

FORCEINLINE ENamedThreads::Type FBatchTickFunctionTask::GetDesiredThread ( )
inline

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