IDynamicResolutionState

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DynamicResolutionState.h

Include

#include "DynamicResolutionState.h"

Syntax

class IDynamicResolutionState

Remarks

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

Destructors

Name Description

Public function Virtual

~IDynamicResolutionState()

Functions

Name Description

Protected function Const

float

 

GetResolutionFractionApproximation()

Returns a non thread safe aproximation of the current resolution fraction applied on render thread, mostly used for stats and analytic.

Protected function Const

float

 

GetResolutionFractionUpperBound()

Returns the max resolution resolution fraction.

Protected function Const

bool

 

IsEnabled()

Returns whether dynamic resolution is enabled for GEngine to know the EDynamicResolutionStatus.

Public function Const

bool

 

IsSupported()

Returns whether dynamic resolution is supported on this platform.

Protected function

void

 

ProcessEvent

Process dynamic resolution events.

Public function

void

 

ResetHistory()

Reset dynamic resolution's history.

Protected function

void

 

SetEnabled

(
    bool bEnable
)

Enables/Disables dynamic resolution. This is only called by GEngine automatically.

Public function

void

 

SetupMainViewFamily

(
    FSceneViewFamily& ViewFamily
)

Setup a screen percentage driver for a given view family.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss