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 widthOutput width in pixels (the camera's render-target width).
height
cpp
int heightOutput height in pixels.
scale
cpp
int scaleSupersampling factor actually used, clamped to [1, 4].
rgba
cpp
std::vector<unsigned char> rgbaRGBA8 pixels, top-left row order, width * height * 4 bytes.