![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DynamicResolutionState.h>
Inheritance diagram for IDynamicResolutionState:Public Member Functions | |
| virtual | ~IDynamicResolutionState () |
| virtual void | ResetHistory ()=0 |
| virtual bool | IsSupported () const =0 |
| virtual void | SetupMainViewFamily (class FSceneViewFamily &ViewFamily)=0 |
| virtual void | SetTemporalUpscaler (const UE::Renderer::Private::ITemporalUpscaler *InTemporalUpscaler)=0 |
Protected Member Functions | |
| virtual DynamicRenderScaling::TMap< float > | GetResolutionFractionsApproximation () const =0 |
| virtual DynamicRenderScaling::TMap< float > | GetResolutionFractionsUpperBound () const =0 |
| virtual DynamicRenderScaling::TMap< float > | GetResolutionFractionsUpperBoundBudgetValue () const |
| virtual void | SetEnabled (bool bEnable)=0 |
| virtual bool | IsEnabled () const =0 |
| virtual void | ProcessEvent (EDynamicResolutionStateEvent Event)=0 |
Friends | |
| class | UEngine |
Interface between the engine and state of dynamic resolution that can be overriden to implement a custom heurstic.
|
inlinevirtual |
|
protectedpure virtual |
Returns a non thread safe aproximation of the current resolution fraction applied on render thread, mostly used for stats and analytic.
Implemented in FDefaultDynamicResolutionState.
|
protectedpure virtual |
Returns the max resolution resolution fraction.
Implemented in FDefaultDynamicResolutionState.
|
inlineprotectedvirtual |
Returns the max resolution resolution fraction as specified in the budget (this can differ from the upper bound if the upper bound is dynamic)
Reimplemented in FDefaultDynamicResolutionState.
Returns whether dynamic resolution is enabled for GEngine to know the EDynamicResolutionStatus.
Implemented in FDefaultDynamicResolutionState.
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.
Implemented in FDefaultDynamicResolutionState.
|
protectedpure virtual |
Process dynamic resolution events. UEngine::EmitDynamicResolutionEvent() guareentee to have all events being ordered.
Implemented in FDefaultDynamicResolutionState.
Reset dynamic resolution's history.
Implemented in FDefaultDynamicResolutionState.
Enables/Disables dynamic resolution. This is only called by GEngine automatically.
Implemented in FDefaultDynamicResolutionState.
|
pure virtual |
Apply the minimum/maximum resolution fraction for a third-party temporal upscaler.
Implemented in FDefaultDynamicResolutionState.
|
pure virtual |
Setup a screen percentage driver for a given view family.
Implemented in FDefaultDynamicResolutionState.