Skip to content

raisin::RenderPassAccounting ​

struct · #include <rayrai/RenderDiagnostics.hpp>

Estimated per-frame render passes for the current settings (RayraiWindow::estimateRenderPassAccounting()). CPU estimate only; no GPU timing.

Public attributes ​

fastForwardPathEligible ​

cpp
bool fastForwardPathEligible

No PBR, tone mapping, post-process, MSAA, render scale, planar reflection, extra shadows, probes or transparency features.

postprocessActive ​

cpp
bool postprocessActive

Any feature that needs the post-process pass is enabled.

msaaActive ​

cpp
bool msaaActive

viewerMsaaSamples > 1.

renderScaleActive ​

cpp
bool renderScaleActive

viewerRenderScale is in (0, 0.999).

probeFilteringActive ​

cpp
bool probeFilteringActive

Reflection-probe filtering is enabled with a non-zero size.

localProbeSelectionActive ​

cpp
bool localProbeSelectionActive

Probes are registered or probe selection settings are non-default.

additionalShadowActive ​

cpp
bool additionalShadowActive

Shadow maps exist for additional lights.

mainShadowPassesPerFrame ​

cpp
size_t mainShadowPassesPerFrame

1 when the main light casts shadows.

additional2dShadowPassesPerFrame ​

cpp
size_t additional2dShadowPassesPerFrame

Spot/directional/area additional shadow maps.

additionalPointShadowFacePassesPerFrame ​

cpp
size_t additionalPointShadowFacePassesPerFrame

Point-light cube faces (6 per light).

shadowPassesPerFrame ​

cpp
size_t shadowPassesPerFrame

Shadow passes actually expected this frame (0 when the cached maps are reused).

sceneColorPassesPerFrame ​

cpp
size_t sceneColorPassesPerFrame

Main scene pass plus planar reflection.

planarReflectionPassesPerFrame ​

cpp
size_t planarReflectionPassesPerFrame

1 when the reflective-ground planar pass is active.

renderScaleResolvePassesPerFrame ​

cpp
size_t renderScaleResolvePassesPerFrame

1 when rendering below native resolution.

transparentPassesPerFrame ​

cpp
size_t transparentPassesPerFrame

Transparency prepass/refraction/OIT passes.

postprocessPassesPerFrame ​

cpp
size_t postprocessPassesPerFrame

1 when post-processing is active.

bloomExtraPassesPerFrame ​

cpp
size_t bloomExtraPassesPerFrame

Extra bloom passes (7 for the bloomQuality >= 3 chain, 1 for quality 2).

aoDenoisePassesPerFrame ​

cpp
size_t aoDenoisePassesPerFrame

1 when SSAO denoising is enabled.

debugReadbackPassesPerFrame ​

cpp
size_t debugReadbackPassesPerFrame

1 when a post-process debug view is active.

totalEstimatedPassesPerFrame ​

cpp
size_t totalEstimatedPassesPerFrame

Sum of the pass counts above (excluding the subtotals).

activeAdditionalLights ​

cpp
size_t activeAdditionalLights

Additional lights selected for shading.

activeAdditionalShadowLights ​

cpp
size_t activeAdditionalShadowLights

Additional lights with shadow maps.

activeReflectionProbes ​

cpp
size_t activeReflectionProbes

Registered reflection probes.

activeUltraFeatureCount ​

cpp
int activeUltraFeatureCount

Number of enabled costly features (PBR, SSAO, MSAA, TAA, fog, clouds, ...).

likelyBottleneck ​

cpp
std::string likelyBottleneck

Heuristic tag: "fast_forward", "shadow", "postprocess_or_fill", "light_shading", "pass_count" or "scene_shading".

RaiSim — physics for robotics and AI.