#include <DynamicRenderScaling.h>
◆ CorrectNewResolutionFraction()
| float DynamicRenderScaling::FHeuristicSettings::CorrectNewResolutionFraction |
( |
float |
CurrentResolutionFraction, |
|
|
float |
NewResolutionFraction, |
|
|
float |
ResolutionFractionScale |
|
) |
| const |
Corrects new resolution fraction to ensure it's within bounds, honor AmortizationFactor and FractionQuantization.
◆ DoesResolutionChangeEnough()
| bool DynamicRenderScaling::FHeuristicSettings::DoesResolutionChangeEnough |
( |
float |
CurrentResolutionFraction, |
|
|
float |
NewResolutionFraction, |
|
|
bool |
bCanChangeResolution |
|
) |
| const |
Returns whether the ResolutionFraction is changing meaningfully enough.
◆ EstimateCostScale()
| float DynamicRenderScaling::FHeuristicSettings::EstimateCostScale |
( |
float |
ResolutionFraction | ) |
const |
Returns how much the GPU cost scales for a given ResolutionFraction.
◆ EstimateResolutionFactor()
| float DynamicRenderScaling::FHeuristicSettings::EstimateResolutionFactor |
( |
float |
TargetMs, |
|
|
float |
TimingMs |
|
) |
| const |
Returns how much the ResolutionFraction should scale for a GPU timing to fit to target.
◆ EstimateTimeFactor()
| float DynamicRenderScaling::FHeuristicSettings::EstimateTimeFactor |
( |
float |
CurrentResolutionFraction, |
|
|
float |
NewResolutionFraction |
|
) |
| const |
Returns how much the GPU time should scale between two different resolution fraction.
◆ GetTargetedMs()
| float DynamicRenderScaling::FHeuristicSettings::GetTargetedMs |
( |
float |
BudgetMs | ) |
const |
Returns the desired GPU cost to be targeted to have head room left to not go over budget.
◆ IsEnabled()
| bool DynamicRenderScaling::FHeuristicSettings::IsEnabled |
( |
| ) |
const |
Returns whether the heuristic is enabled or not.
◆ bModelScalesWithPrimaryScreenPercentage
| bool DynamicRenderScaling::FHeuristicSettings::bModelScalesWithPrimaryScreenPercentage = false |
◆ BudgetMs
◆ ChangeThreshold
◆ FractionQuantization
◆ IncreaseAmortizationFactor
◆ kBudgetMsDisabled
| constexpr float DynamicRenderScaling::FHeuristicSettings::kBudgetMsDisabled = 0.0f |
|
staticconstexpr |
◆ kDefaultChangeThreshold
| constexpr float DynamicRenderScaling::FHeuristicSettings::kDefaultChangeThreshold = 0.02f |
|
staticconstexpr |
◆ kDefaultFractionQuantization
| constexpr int32 DynamicRenderScaling::FHeuristicSettings::kDefaultFractionQuantization = 0 |
|
staticconstexpr |
◆ kDefaultIncreaseAmortizationFactor
| constexpr float DynamicRenderScaling::FHeuristicSettings::kDefaultIncreaseAmortizationFactor = 0.9f |
|
staticconstexpr |
◆ kDefaultMaxResolutionFraction
| constexpr float DynamicRenderScaling::FHeuristicSettings::kDefaultMaxResolutionFraction = 1.0f |
|
staticconstexpr |
◆ kDefaultMinResolutionFraction
| constexpr float DynamicRenderScaling::FHeuristicSettings::kDefaultMinResolutionFraction = 0.5f |
|
staticconstexpr |
◆ kDefaultTargetedHeadRoom
| constexpr float DynamicRenderScaling::FHeuristicSettings::kDefaultTargetedHeadRoom = 0.05f |
|
staticconstexpr |
◆ kDefaultThrottlingMaxResolutionFraction
| constexpr float DynamicRenderScaling::FHeuristicSettings::kDefaultThrottlingMaxResolutionFraction = 0.0f |
|
staticconstexpr |
◆ kDefaultUpperBoundQuantization
| constexpr int32 DynamicRenderScaling::FHeuristicSettings::kDefaultUpperBoundQuantization = 0 |
|
staticconstexpr |
◆ MaxResolutionFraction
◆ MinResolutionFraction
◆ Model
◆ TargetedHeadRoom
◆ ThrottlingMaxResolutionFraction
◆ UpperBoundQuantization
The documentation for this struct was generated from the following files: