engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FDynamicResolutionHeuristicProxy类 参考

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

#include <DynamicResolutionProxy.h>

Public 成员函数

void CommitPreviousFrameGPUTimings_RenderThread (uint64 HistoryFrameId, float TotalFrameGPUBusyTimeMs, float DynamicResolutionGPUBusyTimeMs, bool bGPUTimingsHaveCPUBubbles)
 Commit GPU busy times 更多...
 
uint64 CreateNewPreviousFrameTimings_RenderThread (float GameThreadTimeMs, float RenderThreadTimeMs)
 Create a new previous frame and feeds its timings and returns history's unique id.
 
FORCEINLINE float GetResolutionFractionApproximation_GameThread () const
 Returns a non thread safe approximation of the current resolution fraction applied on render thread.
 
float GetResolutionFractionUpperBound () const
 Returns the view fraction upper bound.
 
FORCEINLINE float QueryCurentFrameResolutionFraction_RenderThread () const
 Returns the view fraction that should be used for current frame.
 
void RefreshCurentFrameResolutionFraction_RenderThread ()
 Refresh resolution fraction's from history.
 
void Reset_RenderThread ()
 Resets the proxy.
 

静态 Public 成员函数

static TSharedPtr< class IDynamicResolutionState > CreateDefaultState ()
 Creates a default dynamic resolution state using this proxy that queries GPU timing from the RHI.
 

详细描述

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

成员函数说明

◆ CommitPreviousFrameGPUTimings_RenderThread()

void FDynamicResolutionHeuristicProxy::CommitPreviousFrameGPUTimings_RenderThread ( uint64  HistoryFrameId,
float  TotalFrameGPUBusyTimeMs,
float  DynamicResolutionGPUBusyTimeMs,
bool  bGPUTimingsHaveCPUBubbles 
)

Commit GPU busy times

参数
HistoryFrameIdThe history's unique id for the frame returned by CreateNewPreviousFrameTimings_RenderThread()
TotalFrameGPUBusyTimeMsTotal GPU busy time for the frame.
DynamicResolutionGPUBusyTimeMsGPU time for sub parts of the frame that does dynamic resolution.

该类的文档由以下文件生成: