MeshLib C++ Docs
Loading...
Searching...
No Matches

Class to save and load user palette presets. More...

#include <MRViewer/MRPalette.h>

Static Public Member Functions

static const std::vector< std::string > & getPresetNames ()
 gets names of existing presets
static bool loadPreset (const std::string &name, Palette &palette)
static Expected< void > savePreset (const std::string &name, const Palette &palette)
 saves given palette to preset with given name
static std::filesystem::path getPalettePresetsFolder ()
 returns path to presets folder

Detailed Description

Class to save and load user palette presets.


The documentation for this class was generated from the following file: