rigImGui 0.1.1
RigKit pack API - rigImGui
Loading...
Searching...
No Matches
ExportPng.h File Reference
#include <string>
Include dependency graph for ExportPng.h:

Functions

std::string rigkit::exportFramebufferPng (int width, int height, const std::string &suggestedName="export")
 Read the default framebuffer and write a PNG next to data/export/.

Function Documentation

◆ exportFramebufferPng()

std::string rigkit::exportFramebufferPng ( int width,
int height,
const std::string & suggestedName = "export" )

Read the default framebuffer and write a PNG next to data/export/.

Returns
Absolute path written, or empty on failure.