#pragma once #include #include #include "ScreenshotInfo.h" class ScreenshotUtil { public: static void takeScreenshot(GfxRenderer& renderer); static bool saveFramebufferAsBmp(const char* filename, const uint8_t* framebuffer, int width, int height); private: static void buildFilename(const ScreenshotInfo& info, char* buf, size_t bufSize); };