Skip to content

raisin::RayraiWindow::DynamicQualityRecommendation ​

struct · #include <rayrai/RayraiWindow.hpp>

Result of recommendDynamicQuality(); GPU times are summed from the input timings by pass name.

Public attributes ​

changed ​

cpp
bool changed

True when recommendedSettings differs from the input.

fillRateBound ​

cpp
bool fillRateBound

Scene + post-process time is at least 50 % of the total.

shadowBound ​

cpp
bool shadowBound

Shadow time is at least 35 % of the total.

postprocessBound ​

cpp
bool postprocessBound

Post-process time is at least 35 % of the total and exceeds scene time.

totalGpuMs ​

cpp
double totalGpuMs

Sum of all positive pass times (ms).

shadowGpuMs ​

cpp
double shadowGpuMs

Passes whose name contains shadow (ms).

sceneGpuMs ​

cpp
double sceneGpuMs

Scene color, background clear and planar reflection passes (ms).

postprocessGpuMs ​

cpp
double postprocessGpuMs

Passes whose name contains postprocess (ms).

targetFrameMs ​

cpp
float targetFrameMs

GPU budget used: Fast 6, Balanced/Custom 8, High 12, Ultra 16.6 ms.

recommendedRenderScale ​

cpp
float recommendedRenderScale

Suggested RenderQualitySettings::viewerRenderScale.

recommendedUpdateShadowsEveryFrame ​

cpp
bool recommendedUpdateShadowsEveryFrame

Suggested RenderQualitySettings::updateShadowsEveryFrame.

recommendedBloomQuality ​

cpp
int recommendedBloomQuality

Suggested RenderQualitySettings::bloomQuality.

recommendedScreenSpaceAoSamples ​

cpp
int recommendedScreenSpaceAoSamples

Suggested RenderQualitySettings::screenSpaceAoSamples.

recommendedScreenSpaceAoDenoiseEnabled ​

cpp
bool recommendedScreenSpaceAoDenoiseEnabled

Suggested RenderQualitySettings::screenSpaceAoDenoiseEnabled.

recommendedSettings ​

cpp
RenderQualitySettings recommendedSettings

Input settings with the recommendations applied.

reason ​

cpp
std::string reason

Machine-readable reason, e.g. within_budget or +-joined change names.

RaiSim — physics for robotics and AI.