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.
|
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.
|
protectedpure virtual |
Process dynamic resolution events.
UEngine::EmitDynamicResolutionEvent() guareentee to have all events being ordered.
|
protectedpure virtual |
Enables/Disables dynamic resolution.
This is only called by GEngine automatically.