g.TimeoutForBlockOnRenderFence
g.TimeoutForBlockOnRenderFence
#Overview
name: g.TimeoutForBlockOnRenderFence
The value of this variable can be defined or overridden in .ini config files. 4
.ini config files referencing this setting variable.
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Number of milliseconds the game thread should wait before failing when waiting on a render thread fence.
It is referenced in 1
C++ source file.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseDeviceProfiles.ini:546, section: [iPadPro DeviceProfile]
- INI Section:
iPadPro DeviceProfile
- Raw value:
3000000
- Is Array:
False
Location: <Workspace>/Engine/Config/Linux/LinuxEngine.ini:26, section: [ConsoleVariables]
- INI Section:
ConsoleVariables
- Raw value:
60000
- Is Array:
False
Location: <Workspace>/Engine/Config/LinuxArm64/LinuxArm64Engine.ini:27, section: [ConsoleVariables]
- INI Section:
ConsoleVariables
- Raw value:
60000
- Is Array:
False
Location: <Workspace>/Engine/Config/Mac/BaseMacEngine.ini:32, section: [SystemSettings]
- INI Section:
SystemSettings
- Raw value:
300000
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:1309
Scope: file
Source code excerpt:
static int32 GTimeoutForBlockOnRenderFence = 120000;
static FAutoConsoleVariableRef CVarTimeoutForBlockOnRenderFence(
TEXT("g.TimeoutForBlockOnRenderFence"),
GTimeoutForBlockOnRenderFence,
TEXT("Number of milliseconds the game thread should wait before failing when waiting on a render thread fence.")
);
/**
* Block the game thread waiting for a task to finish on the rendering thread.