This struct contains rules for viewer launch. More...
#include <MRViewer.h>
Public Types | |
| enum | WindowMode { Show , HideInit , Hide , TryHidden , NoWindow } |
Public Attributes | |
| bool | fullscreen { false } |
| int | width { 0 } |
| if true starts fullscreen | |
| int | height { 0 } |
| enum MR::LaunchParams::WindowMode | HideInit |
| bool | enableTransparentBackground { false } |
| bool | preferOpenGL3 { false } |
| bool | render3dSceneInTexture { true } |
| bool | developerFeatures { false } |
| If not set renders scene each frame. | |
| bool | multiViewport { true } |
| If set shows some developer features useful for debugging. | |
| std::string | name { "MRViewer" } |
| If set allows to move the imgui (tool) windows outside the main () window. (unavailable for Apple, Wayland and Emscripten) | |
| bool | resetConfig { false } |
| Window name. | |
| bool | startEventLoop { true } |
| if true - resets config file on start of the application | |
| bool | close { true } |
| If false - does not start event loop. | |
| bool | console { false } |
If !startEventLoop close immediately after start, otherwise close on window close, make sure you call launchShut manually if this flag is false. | |
| int | argc { 0 } |
| If true - shows developers console. | |
| char ** | argv { nullptr } |
| Pass argc. | |
| bool | showMRVersionInTitle { false } |
| Pass argv. | |
| bool | isAnimating { false } |
| if true - print version info in window title | |
| int | animationMaxFps { 30 } |
| if true - calls render without system events | |
| bool | unloadPluginsAtEnd { false } |
| max fps if animating | |
| std::shared_ptr< SplashWindow > | splashWindow |
| unload all extended libraries right before program exit | |
This struct contains rules for viewer launch.