My Project
 
Loading...
Searching...
No Matches
image.h File Reference
#include <filesystem>
#include <optional>
#include "dll-export.h"
#include "types.h"

Go to the source code of this file.

Namespaces

namespace  graphics_engine
 
namespace  graphics_engine::image
 

Functions

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.
 
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.