engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FSlateThrottleManager类 参考

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

成员函数说明

◆ EnterResponsiveMode()

FThrottleRequest FSlateThrottleManager::EnterResponsiveMode ( )

Requests that we enter responsive mode.

I.E throttle slow parts of the engine

返回
A handle to the request to enter responsive mode. Can only be ended with this request

◆ IsAllowingExpensiveTasks()

bool FSlateThrottleManager::IsAllowingExpensiveTasks ( ) const

Whether or not we allow expensive tasks which could hurt performance to occur

返回
true if we allow expensive tasks, false otherwise

◆ LeaveResponsiveMode()

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

参数
InHandleThe handle that was created with EnterResponsiveMode

该类的文档由以下文件生成: