MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::UI::StateStorage Namespace Reference

Use this to store state across frames. Like what CollapsingHeader() uses to store it's open/close state. More...

Functions

MRVIEWER_API bool readBool (std::string_view key, bool defaultValue=false)
 
MRVIEWER_API void writeBool (std::string_view key, bool value)
 

Detailed Description

Use this to store state across frames. Like what CollapsingHeader() uses to store it's open/close state.