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
7
namespace
MR
8
{
9
21
MRVIEWER_API
Image
renderToImage
(
22
const
Vector2i& resolution,
23
const
std::optional<Color>& backgroundColor,
24
const
std::function<
void
()>& drawFunc
25
);
26
27
}
// namespace MR
MRViewerFwd.h
MR
Definition
MRCameraOrientationPlugin.h:8
MR::renderToImage
MRVIEWER_API Image renderToImage(const Vector2i &resolution, const std::optional< Color > &backgroundColor, const std::function< void()> &drawFunc)
MR::Image
Definition
MRImage.h:15
MeshLib
source
MRViewer
MRRenderToImage.h
Generated by
1.11.0