Files
Vibe-HD-2D/engine/include/hd2d/Screenshot.h
Gabrieal Jimmy 2c99305fb0 init
2026-10-02 12:42:00 -05:00

10 lines
209 B
C++

#pragma once
#include <string>
namespace hd2d {
// Reads the current backbuffer (before swap) and writes it as PNG.
bool saveScreenshot(const std::string& path, int width, int height);
} // namespace hd2d