Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTaskGraphInterface
Description
Return the number of foreground worker threads. If the old backend is used, return the number of high-pri workers (0 if high-pri workers are disabled).
| Name | GetNumForegroundThreads |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
int32 GetNumForegroundThreads()