UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ThrottleManager.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "CoreTypes.h"
8
14{
15 // Only the manager is allowed to change values
17
18public:
19
23
24public:
25
31 bool IsValid() const
32 {
33 return Index != INDEX_NONE;
34 }
35
36private:
37
39};
40
41
46{
47public:
48
53
54public:
55
62
70
77
86
87public:
88
93
94private:
96 int32 bShouldThrottle;
97
99 FAutoConsoleVariableRef CVarAllowThrottle;
100
102 uint32 ThrottleCount;
103
105 int32 DisableThrottleCount;
106};
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition IConsoleManager.h:1580
Definition ThrottleManager.h:46
SLATECORE_API FSlateThrottleManager()
Definition ThrottleManager.cpp:9
SLATECORE_API bool IsAllowingExpensiveTasks() const
Definition ThrottleManager.cpp:33
SLATECORE_API void DisableThrottle(bool bState)
Definition ThrottleManager.cpp:53
SLATECORE_API void LeaveResponsiveMode(FThrottleRequest &InHandle)
Definition ThrottleManager.cpp:41
static SLATECORE_API FSlateThrottleManager & Get()
Definition ThrottleManager.cpp:64
SLATECORE_API FThrottleRequest EnterResponsiveMode()
Definition ThrottleManager.cpp:20
Definition ThrottleManager.h:14
bool IsValid() const
Definition ThrottleManager.h:31
FThrottleRequest()
Definition ThrottleManager.h:20
U16 Index
Definition radfft.cpp:71