Skip to content

raisin::GeometryRefractionSamplingStatistics ​

struct · #include <rayrai/GeometryRefraction.hpp>

Per-pixel sample statistics of the geometry-refraction history (RayraiWindow::geometryRefractionSamplingStatistics()).

Without adaptive sampling every pixel holds the scheduled budget, so min/max/mean equal GeometryRefractionDiagnostics::accumulatedSamples and no GPU readback happens.

Public attributes ​

pixels ​

cpp
size_t pixels

Pixel count of the trace target.

belowBudget ​

cpp
size_t belowBudget

Pixels whose accumulated sample count is below the scheduled budget (adaptive sampling).

meanSamples ​

cpp
double meanSamples

Mean accumulated samples per pixel.

minSamples ​

cpp
int minSamples

Smallest per-pixel sample count.

maxSamples ​

cpp
int maxSamples

Largest per-pixel sample count.

RaiSim — physics for robotics and AI.