A class which manages requests to throttle parts of the engine to ensure Slate UI performance
更多...
#include <ThrottleManager.h>
Public 成员函数 | |
| FThrottleRequest | EnterResponsiveMode () |
| Requests that we enter responsive mode. 更多... | |
| FSlateThrottleManager () | |
| Constructor | |
| bool | IsAllowingExpensiveTasks () const |
| Whether or not we allow expensive tasks which could hurt performance to occur 更多... | |
| void | LeaveResponsiveMode (FThrottleRequest &InHandle) |
| Request to leave responsive mode. 更多... | |
静态 Public 成员函数 | |
| static FSlateThrottleManager & | Get () |
| Gets the instance of this manager | |
A class which manages requests to throttle parts of the engine to ensure Slate UI performance
| FThrottleRequest FSlateThrottleManager::EnterResponsiveMode | ( | ) |
Requests that we enter responsive mode.
I.E throttle slow parts of the engine
| 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 |