FOptionalTaskTagScope

This class can be used to Tag an execution context but only in case it has not already been tagged It is usually used for the IsInRendering/GamethreadFunctions.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FTaskTagScope

FOptionalTaskTagScope

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/CoreGlobals.h

Include

#include "CoreGlobals.h"

Syntax

class FOptionalTaskTagScope : public FTaskTagScope

Remarks

This class can be used to Tag an execution context but only in case it has not already been tagged It is usually used for the IsInRendering/GamethreadFunctions.

Constructors

Name Description

Public function

FOptionalTaskTagScope

(
    ETaskTag InTag
)