Skip to content

raisin::RayraiWindow::SupersampledCapture ​

struct · #include <rayrai/RayraiWindow.hpp>

Result of captureSupersampledRgba().

Public attributes ​

width ​

cpp
int width

Output width in pixels (the input camera's render-target width).

height ​

cpp
int height

Output height in pixels (the input camera's render-target height).

scale ​

cpp
int scale

Supersampling factor actually used, clamped to [1, 4].

rgba ​

cpp
std::vector<unsigned char> rgba

Box-downsampled RGBA8 pixels, top-left row order.

RaiSim — physics for robotics and AI.