raisin::DynamicQualityRecommendation
struct · #include <rayrai/RenderDiagnostics.hpp>
Quality reduction suggested from measured pass timings (RayraiWindow::recommendDynamicQuality()). Never applied automatically.
GPU budgets are 6 ms (Fast) and 8 ms (Balanced/Custom); High and Ultra are reported against 12 / 16.6 ms but never changed. Pass times are grouped by name: "shadow"; "scene_color", "clear_background" and "planar_reflection" (scene); "postprocess".
Public attributes
changed
bool changedrecommendedSettings differs from the input settings.
fillRateBound
bool fillRateBoundScene + post-process take at least 50 % of the GPU time.
shadowBound
bool shadowBoundShadow passes take at least 35 % of the GPU time.
postprocessBound
bool postprocessBoundPost-process takes at least 35 % and no less than the scene passes.
totalGpuMs
double totalGpuMsSum of all positive pass timings, ms.
shadowGpuMs
double shadowGpuMsSum of passes whose name contains "shadow", ms.
sceneGpuMs
double sceneGpuMsSum of the scene-color passes, ms.
postprocessGpuMs
double postprocessGpuMsSum of passes whose name contains "postprocess", ms.
targetFrameMs
float targetFrameMsGPU budget for the preset, ms.
recommendedRenderScale
float recommendedRenderScaleSuggested viewerRenderScale (x0.85 per step, floor 0.60 Fast / 0.75 otherwise).
recommendedUpdateShadowsEveryFrame
bool recommendedUpdateShadowsEveryFrameSuggested updateShadowsEveryFrame.
recommendedBloomQuality
int recommendedBloomQualitySuggested bloomQuality.
recommendedScreenSpaceAoSamples
int recommendedScreenSpaceAoSamplesSuggested screenSpaceAoSamples.
recommendedScreenSpaceAoDenoiseEnabled
bool recommendedScreenSpaceAoDenoiseEnabledSuggested screenSpaceAoDenoiseEnabled.
recommendedSettings
RenderQualitySettings recommendedSettingsInput settings with all suggestions applied.
reason
std::string reason'+'-joined decision tags, or e.g. "within_budget", "quality_preset_preserves_fidelity".