Skip to content

raisin::ShaderWarmupDiagnostics ​

struct · #include <rayrai/RenderDiagnostics.hpp>

Built-in shader compile statistics (RayraiWindow::shaderWarmupDiagnostics()).

Public attributes ​

shaderProgramCount ​

cpp
size_t shaderProgramCount

Registered shader programs.

linkedProgramCount ​

cpp
size_t linkedProgramCount

Programs currently linked successfully.

totalCompileMs ​

cpp
double totalCompileMs

Total time spent compiling/linking, ms.

slowestCompileMs ​

cpp
double slowestCompileMs

Compile time of the slowest program, ms.

slowestShaderName ​

cpp
std::string slowestShaderName

Name of the slowest program.

warmedUp ​

cpp
bool warmedUp

Every registered program has been compiled and is linked.

RaiSim — physics for robotics and AI.