Choose your operating system:
Windows
macOS
Linux
| FTaskTagScope
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/CoreGlobals.h |
Include |
#include "CoreGlobals.h" |
class FTaskTagScope
This class can be used to Tag an execution context aka Thead or Job and allows us to later querry the state when we are in the callstack It is usually used for the IsInRendering/GamethreadFunctions.
Name | Description | |
---|---|---|
|
FTaskTagScope ( |
|
|
FTaskTagScope |
Name | Description | |
---|---|---|
|
~FTaskTagScope() |
Name | Description | ||
---|---|---|---|
|
GetCurrentTag() |
||
|
IsCurrentTag ( |
||
|
IsRunningDuringStaticInit() |
||
|
SetTagNone() |
Clear the ETaskTag::StaticInit tag so that the Main OS Thread has no active tag. |
|
|
SetTagStaticInit() |
Restore the ETaskTag::StaticInit tag so that the destructors of global (or local static) C++ objects function properly when checking thread state (from functions like IsInGameThread()). |
Name |
Description |
---|---|
ActiveTaskTag |