![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ThrottleManager.h>
Public Member Functions | |
| SLATECORE_API | FSlateThrottleManager () |
| SLATECORE_API FThrottleRequest | EnterResponsiveMode () |
| SLATECORE_API void | LeaveResponsiveMode (FThrottleRequest &InHandle) |
| SLATECORE_API bool | IsAllowingExpensiveTasks () const |
| SLATECORE_API void | DisableThrottle (bool bState) |
Static Public Member Functions | |
| static SLATECORE_API FSlateThrottleManager & | Get () |
| FSlateThrottleManager::FSlateThrottleManager | ( | ) |
Constructor
Explicitly disable Slate throttling. This is intended to be used for code-driven exemptions to Slate throttling such as interactive actions that require multiple refreshes & world ticks. For single refresh scenarios, consider FEditorViewportClient.Invalidate(false, false).
| bState | true if throttling should be disabled. |
| FThrottleRequest FSlateThrottleManager::EnterResponsiveMode | ( | ) |
Requests that we enter responsive mode. I.E throttle slow parts of the engine
|
static |
Gets the instance of this manager
| bool FSlateThrottleManager::IsAllowingExpensiveTasks | ( | ) | const |
Whether or not we allow expensive tasks which could hurt performance to occur
| void FSlateThrottleManager::LeaveResponsiveMode | ( | FThrottleRequest & | InHandle | ) |
Request to leave responsive mode.
Note that this may not end responsive mode in the case that multiple EnterResponsiveMode requests were made
| InHandle | The handle that was created with EnterResponsiveMode |