ISceneViewFamilyScreenPercentage

Game thread and render thread interface that takes care of a [FSceneViewFamily](API\Runtime\Engine\FSceneViewFamily)'s screen percentage.

Windows
MacOS
Linux

Inheritance Hierarchy

ISceneViewFamilyScreenPercentage

FLegacyScreenPercentageDriver

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneView.h

Include

#include "SceneView.h"

Syntax

class ISceneViewFamilyScreenPercentage

Remarks

Game thread and render thread interface that takes care of a FSceneViewFamily's screen percentage.

The renderer reserves the right to delete and replace the view family's screen percentage interface for testing purposes with the r.Test.OverrideScreenPercentageInterface CVar.

Destructors

Name Description

Protected function Virtual

~ISceneViewFamilyScreenPercentage()

Called by the destructor of the view family. Can be called on game or rendering thread.

Functions

Name Description

Protected function Const

void

 

ComputePrimaryResolutionFractions_RenderThread

Setup view family's view's screen percentage on rendering thread.

Protected function Const

ISceneViewFa...

 

Fork_GameThread

(
    const FSceneViewFamily& ViewFamily
)

Create a new screen percentage interface for a new view family.

Protected function Const

float

 

GetPrimaryResolutionFractionUpperBound()

Method to know the maximum value that can be set in FSceneViewScreenPercentageConfig::ResolutionFraction.

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