Skip to content

raisin::SceneImportReport ​

struct · #include <rayrai/RenderDiagnostics.hpp>

Outcome of RayraiWindow::importVisualScene() (mesh load and optional light import).

Public attributes ​

visualLoaded ​

cpp
bool visualLoaded

The scene mesh was loaded into a valid visual.

totalSceneLightCount ​

cpp
size_t totalSceneLightCount

Lights found in the scene file.

importedLightCount ​

cpp
size_t importedLightCount

Lights added as AdditionalLight entries.

droppedLightCount ​

cpp
size_t droppedLightCount

Lights skipped because kMaxAdditionalLights was reached.

shadowLightPromoted ​

cpp
bool shadowLightPromoted

An imported light was promoted to the main shadow caster (RenderQualitySettings::autoSelectImportedShadowLight).

remainingShadingLightCount ​

cpp
size_t remainingShadingLightCount

Additional lights in the window after the import.

notes ​

cpp
std::string notes

Error message if light import threw; empty otherwise.

RaiSim — physics for robotics and AI.