Functions | |
DLLEXPORT auto | AreIdentical (const ::std::filesystem::path &png0, const ::std::filesystem::path &png1) -> ::graphics_engine::types::Expected< bool > |
Determine if two png files are identical. | |
DLLEXPORT auto | CaptureScreenshot (const ::std::optional<::std::filesystem::path > &dest=::std::nullopt) -> ::graphics_engine::types::Expected< void > |
Capture a screenshot of the current rendering context. | |
DLLEXPORT auto graphics_engine::image::AreIdentical | ( | const ::std::filesystem::path & | png0, |
const ::std::filesystem::path & | png1 | ||
) | -> ::graphics_engine::types::Expected< bool > |
Determine if two png files are identical.
png0 | The first png file to compare. |
png1 | The second png file to compare. |
DLLEXPORT auto graphics_engine::image::CaptureScreenshot | ( | const ::std::optional<::std::filesystem::path > & | dest = ::std::nullopt | ) | -> ::graphics_engine::types::Expected< void > |
Capture a screenshot of the current rendering context.
dest | Optional destination path for the screenshot. |
dest
is not provided, the screenshot will be saved to std::filesystem::temp_directory_path()/"screenshot.png"