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

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