Skip to content

raisin::RayraiWindow::DebugPassCapture ​

struct · #include <rayrai/RayraiWindow.hpp>

One pass returned by captureDebugPasses().

Public attributes ​

fileName ​

cpp
std::string fileName

Suggested PNG file name, e.g. debug_02_normal.png.

label ​

cpp
std::string label

Short pass label, e.g. normal.

pbrDebugOutput ​

cpp
int pbrDebugOutput

PBR debug output mode used for this pass (see setPbrDebugOutputMode()).

postProcessDebugMode ​

cpp
PostProcessDebugMode postProcessDebugMode

Post-process debug mode used for this pass.

width ​

cpp
int width

Capture width in pixels.

height ​

cpp
int height

Capture height in pixels.

rgba ​

cpp
std::vector<unsigned char> rgba

RGBA8 pixels in top-left row order, ready for PNG writers.

RaiSim — physics for robotics and AI.