MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRenderToImage.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRViewerFwd.h"
4
5#include <optional>
6
7namespace MR
8{
9
21MRVIEWER_API Image renderToImage(
22 const Vector2i& resolution,
23 const std::optional<Color>& backgroundColor,
24 const std::function<void ()>& drawFunc
25);
26
27} // namespace MR
Definition MRCameraOrientationPlugin.h:8
MRVIEWER_API Image renderToImage(const Vector2i &resolution, const std::optional< Color > &backgroundColor, const std::function< void()> &drawFunc)
Definition MRImage.h:15