Navigation
API > API/Runtime > API/Runtime/Engine
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
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| DynamicRenderScaling::TMap< float > | Returns a non thread safe aproximation of the current resolution fraction applied on render thread, mostly used for stats and analytic. | ||
| DynamicRenderScaling::TMap< float > | Returns the max resolution resolution fraction. | ||
| DynamicRenderScaling::TMap< float > | Returns the max resolution resolution fraction as specified in the budget (this can differ from the upper bound if the upper bound is dynamic) | ||
| bool | IsEnabled () |
Returns whether dynamic resolution is enabled for GEngine to know the EDynamicResolutionStatus. | |
| bool | IsSupported () |
Returns whether dynamic resolution is supported on this platform. | |
| void | ProcessEvent
(
EDynamicResolutionStateEvent Event |
Process dynamic resolution events. | |
| void | ResetHistory () |
Reset dynamic resolution's history. | |
| void | SetEnabled
(
bool bEnable |
Enables/Disables dynamic resolution. This is only called by GEngine automatically. | |
| void | SetupMainViewFamily
(
FSceneViewFamily& ViewFamily |
Setup a screen percentage driver for a given view family. |