TConsoleVariableData

Currently only supports main and render thread optimized for read access speed (no virtual function call and no thread handling if using the right functions) T: int32, float

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/IConsoleManager.h

Include

#include "HAL/IConsoleManager.h"

Syntax

template<class T>
class TConsoleVariableData

Remarks

Currently only supports main and render thread optimized for read access speed (no virtual function call and no thread handling if using the right functions) T: int32, float

Constructors

Name Description

Public function

TConsoleVariableData

(
    const T DefaultValue
)

Constructor

Functions

Name Description

Public function Const

T

 

GetValueOnAnyThread

(
    bool bForceGameThread
)

Convenient, for better performance consider using GetValueOnGameThread() or GetValueOnRenderThread()

Public function Const

T

 

GetValueOnGameThread()

Faster than GetValueOnAnyThread()

Public function Const

T

 

GetValueOnRenderThread()

Faster than GetValueOnAnyThread()

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