IDynamicResolutionState

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

Windows
MacOS
Linux

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.

References

Module

Engine

Header

Runtime/Engine/Public/DynamicResolutionState.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback