engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 友元 | 所有成员列表
IDynamicResolutionState类 参考abstract

Interface between the engine and state of dynamic resolution that can be overriden to implement a custom heurstic. 更多...

#include <DynamicResolutionState.h>

Public 成员函数

virtual bool IsSupported () const =0
 Returns whether dynamic resolution is supported on this platform. 更多...
 
virtual void ResetHistory ()=0
 Reset dynamic resolution's history.
 
virtual void SetupMainViewFamily (class FSceneViewFamily &ViewFamily)=0
 Setup a screen percentage driver for a given view family.
 

Protected 成员函数

virtual float GetResolutionFractionApproximation () const =0
 Returns a non thread safe aproximation of the current resolution fraction applied on render thread, mostly used for stats and analytic.
 
virtual float GetResolutionFractionUpperBound () const =0
 Returns the max resolution resolution fraction.
 
virtual bool IsEnabled () const =0
 Returns whether dynamic resolution is enabled for GEngine to know the EDynamicResolutionStatus.
 
virtual void ProcessEvent (EDynamicResolutionStateEvent Event)=0
 Process dynamic resolution events. 更多...
 
virtual void SetEnabled (bool bEnable)=0
 Enables/Disables dynamic resolution. 更多...
 

友元

class UEngine
 

详细描述

Interface between the engine and state of dynamic resolution that can be overriden to implement a custom heurstic.

成员函数说明

◆ IsSupported()

virtual bool IDynamicResolutionState::IsSupported ( ) const
pure virtual

Returns whether dynamic resolution is supported on this platform.

Using dynamic resolution on unsupported platforms is extremely dangerous for gameplay experience, since it may have a bug dropping resolution or frame rate more than it should.

◆ ProcessEvent()

virtual void IDynamicResolutionState::ProcessEvent ( EDynamicResolutionStateEvent  Event)
protectedpure virtual

Process dynamic resolution events.

UEngine::EmitDynamicResolutionEvent() guareentee to have all events being ordered.

◆ SetEnabled()

virtual void IDynamicResolutionState::SetEnabled ( bool  bEnable)
protectedpure virtual

Enables/Disables dynamic resolution.

This is only called by GEngine automatically.


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