struct mrpt::imgui::CImGuiAppShell::Options
Overview
#include <mrpt/imgui/CImGuiAppShell.h> struct Options { // fields int width = 1280; int height = 800; int msaaSamples = 4; bool srgbFramebuffer = true; bool vsync = true; std::string configName; bool persistLayout = true; float fontSize = 15.0f; };
Fields
int msaaSamples = 4
MSAA samples of the window framebuffer (0 = none).
Antialiases the 3D scenes drawn as the window background.
bool srgbFramebuffer = true
If true, the window framebuffer is sRGB capable, so scenes with gamma correction are rendered correctly as the window background.
std::string configName
Name of the per-user config subdirectory where the layout is saved.
If empty, the window title is used.
bool persistLayout = true
If false, no imgui.ini file is read or written.
float fontSize = 15.0f
Size of the default font, before DPI scaling, in pixels.