FDynamicResolutionHeuristicProxy

Render thread proxy that hold's the heuristic for dynamic resolution.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DynamicResolutionProxy.h

Include

#include "DynamicResolutionProxy.h"

Syntax

class FDynamicResolutionHeuristicProxy

Remarks

Render thread proxy that hold's the heuristic for dynamic resolution.

Constructors

Destructors

Functions

Name Description

Public function

void

 

CommitPreviousFrameGPUTimings_RenderThread

(
    uint64 HistoryFrameId,
    float TotalFrameGPUBusyTimeMs,
    float DynamicResolutionGPUBusyTimeM...,
    bool bGPUTimingsHaveCPUBubbles
)

Commit GPU busy times

Public function Static

TSharedPtr< ...

 

CreateDefaultState()

Creates a default dynamic resolution state using this proxy that queries GPU timing from the RHI.

Public function

uint64

 

CreateNewPreviousFrameTimings_RenderThread

(
    float GameThreadTimeMs,
    float RenderThreadTimeMs
)

Create a new previous frame and feeds its timings and returns history's unique id.

Public function Const

float

 

GetResolutionFractionApproximation_GameThread()

Returns a non thread safe approximation of the current resolution fraction applied on render thread.

Public function Const

float

 

GetResolutionFractionUpperBound()

Returns the view fraction upper bound.

Public function Const

float

 

QueryCurentFrameResolutionFraction_RenderThread()

Returns the view fraction that should be used for current frame.

Public function

void

 

RefreshCurentFrameResolutionFraction_RenderThread()

Refresh resolution fraction's from history.

Public function

void

 

Reset_RenderThread()

Resets the proxy.

Constants

Name

Description

kInvalidEntryId

Select Skin
Light
Dark

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