Skip to content

raisin::DebugPassCapture ​

struct · #include <rayrai/Capture.hpp>

One debug view returned by RayraiWindow::captureDebugPasses() (final image, base color, normals, shadow terms, AO, fog, ...).

Public attributes ​

fileName ​

cpp
std::string fileName

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

label ​

cpp
std::string label

Short pass name, e.g. "normal".

pbrDebugOutput ​

cpp
int pbrDebugOutput

PBR shader debug-output selector used for the pass (0 = normal shading).

postProcessDebugMode ​

cpp
PostProcessDebugMode postProcessDebugMode

Post-process debug view used for the pass.

width ​

cpp
int width

Image width in pixels.

height ​

cpp
int height

Image 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.