Navigation
API > API/Runtime > API/Runtime/RenderCore
Represent an independent budget to dynamically scale by its own.
| Name | FHeuristicSettings |
| Type | struct |
| Header File | /Engine/Source/Runtime/RenderCore/Public/DynamicRenderScaling.h |
| Include Path | #include "DynamicRenderScaling.h" |
Syntax
struct FHeuristicSettings
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| kBudgetMsDisabled | float | DynamicRenderScaling.h | |
| kDefaultChangeThreshold | float | DynamicRenderScaling.h | |
| kDefaultFractionQuantization | int32 | DynamicRenderScaling.h | |
| kDefaultIncreaseAmortizationFactor | float | DynamicRenderScaling.h | |
| kDefaultMaxResolutionFraction | float | DynamicRenderScaling.h | |
| kDefaultMinResolutionFraction | float | DynamicRenderScaling.h | |
| kDefaultTargetedHeadRoom | float | DynamicRenderScaling.h | |
| kDefaultThrottlingMaxResolutionFraction | float | DynamicRenderScaling.h | |
| kDefaultUpperBoundQuantization | int32 | DynamicRenderScaling.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bModelScalesWithPrimaryScreenPercentage | bool | DynamicRenderScaling.h | ||
| BudgetMs | float | DynamicRenderScaling.h | ||
| ChangeThreshold | float | DynamicRenderScaling.h | ||
| FractionQuantization | int32 | DynamicRenderScaling.h | ||
| IncreaseAmortizationFactor | float | DynamicRenderScaling.h | ||
| MaxResolutionFraction | float | DynamicRenderScaling.h | ||
| MinResolutionFraction | float | DynamicRenderScaling.h | ||
| Model | EHeuristicModel | DynamicRenderScaling.h | ||
| TargetedHeadRoom | float | DynamicRenderScaling.h | ||
| ThrottlingMaxResolutionFraction | float | DynamicRenderScaling.h | ||
| UpperBoundQuantization | int32 | DynamicRenderScaling.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float CorrectNewResolutionFraction
(
float CurrentResolutionFraction, |
Corrects new resolution fraction to ensure it's within bounds, honor AmortizationFactor and FractionQuantization. | DynamicRenderScaling.h | |
bool DoesResolutionChangeEnough
(
float CurrentResolutionFraction, |
Returns whether the ResolutionFraction is changing meaningfully enough. | DynamicRenderScaling.h | |
float EstimateCostScale
(
float ResolutionFraction |
Returns how much the GPU cost scales for a given ResolutionFraction. | DynamicRenderScaling.h | |
float EstimateResolutionFactor
(
float TargetMs, |
Returns how much the ResolutionFraction should scale for a GPU timing to fit to target. | DynamicRenderScaling.h | |
float EstimateTimeFactor
(
float CurrentResolutionFraction, |
Returns how much the GPU time should scale between two different resolution fraction. | DynamicRenderScaling.h | |
float GetTargetedMs
(
float BudgetMs |
Returns the desired GPU cost to be targeted to have head room left to not go over budget. | DynamicRenderScaling.h | |
bool IsEnabled() |
Returns whether the heuristic is enabled or not. | DynamicRenderScaling.h |