Skip to content

raisin::GeometryRefractionDiagnostics ​

struct · #include <rayrai/GeometryRefraction.hpp>

State of the geometry-refraction tracer after the most recent frame (RayraiWindow::geometryRefractionDiagnostics()).

Public attributes ​

triangles ​

cpp
size_t triangles

Triangle count of the traced dielectric scene.

volumes ​

cpp
size_t volumes

Closed dielectric volumes (positive material thickness) in the traced scene.

bvhNodes ​

cpp
size_t bvhNodes

Node count of the BVH built over the traced triangles.

sceneBuilds ​

cpp
uint64_t sceneBuilds

Number of times the traced dielectric scene was rebuilt.

accumulatedSamples ​

cpp
int accumulatedSamples

Scheduled samples per pixel accumulated in the progressive history (reset when the view, scene or settings change). Adaptive pixels can have fewer actual samples.

activeCameraMedia ​

cpp
int activeCameraMedia

Number of dielectric media (volumes) that contain the camera position.

active ​

cpp
bool active

True when the tracer rendered the last frame.

backend ​

cpp
GeometryRefractionBackend backend

Backend actually used (Portable or VulkanRayQuery).

backendStatus ​

cpp
std::string backendStatus

Human-readable backend status or fallback reason.

RaiSim — physics for robotics and AI.