FTaskGraphInterface::Startup

Explicit start call for the system.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h

Include

#include "Async/TaskGraphInterfaces.h"

Source

/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp

Syntax

static void Startup
(
    int32 NumThreads
)

Remarks

Explicit start call for the system. The ordinary singleton pattern does not work because internal threads start asking for the singleton before the constructor has returned.

Parameters

Parameter

Description

NumThreads;

Total number of threads in the system, must be 0 to disable separate taskgraph thread, at least 2 if !threadedrendering, else at least 3

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss