Skip to content

raisin::SupersampledCapture ​

struct · #include <rayrai/Capture.hpp>

Result of RayraiWindow::captureSupersampledRgba(): a frame rendered at scale times the camera resolution and box-filtered back down.

Public attributes ​

width ​

cpp
int width

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

height ​

cpp
int height

Output height in pixels.

scale ​

cpp
int scale

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

rgba ​

cpp
std::vector<unsigned char> rgba

RGBA8 pixels, top-left row order, width * height * 4 bytes.

RaiSim — physics for robotics and AI.