Navigation
API > API/Runtime > API/Runtime/Engine
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.
| Name | ISceneViewFamilyScreenPercentage |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneView.h |
| Include Path | #include "SceneView.h" |
Syntax
class ISceneViewFamilyScreenPercentage : private ISceneViewFamilyExtention
Implements Interfaces
Derived Classes
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| kMaxResolutionFraction | float | SceneView.h | |
| kMaxTAAUpsampleResolutionFraction | float | SceneView.h | |
| kMaxTSRResolutionFraction | float | SceneView.h | |
| kMinResolutionFraction | float | Sets the minimal and max screen percentage. | SceneView.h |
| kMinTAAUpsampleResolutionFraction | float | Sets the minimal and maximal screen percentage for TAAU. | SceneView.h |
| kMinTSRResolutionFraction | float | Sets the minimal and maximal screen percentage for TSR. | SceneView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ISceneViewFamilyScreenPercentage * Fork_GameThread
(
const FSceneViewFamily& ViewFamily |
Create a new screen percentage interface for a new view family. | SceneView.h | |
| Method to know the maximum value that can be returned by GetPrimaryResolutionFraction_RenderThread(). | SceneView.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Setup view family's view's screen percentage on rendering thread. | SceneView.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsValidResolutionFraction
(
float ResolutionFraction |
SceneView.h |