#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::vector< IOFilter > IOFilters
Definition MRIOFilters.h:23
MRMESH_API const IOFilters Filters
MRMESH_API Expected< Image > fromPng(const std::filesystem::path &path)
loads from .png format
MRMESH_API Expected< Image > fromJpeg(const std::filesystem::path &path)
loads from .jpg format
MRMESH_API Expected< Image > fromAnySupportedFormat(const std::filesystem::path &path)
detects the format from file extension and loads image from it
MRVIEWER_API void Image(const MR::ImGuiImage &image, const ImVec2 &size, const MR::Color &multColor)
draw image with Y-direction inversed up-down
Definition MRCameraOrientationPlugin.h:7
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:32
tl::expected< T, E > Expected
Definition MRExpected.h:49