Dear ImGUI keeps a bunch of state under the hood, based on the name of the object. It's not object-oriented, per se, but each object has its set of functions that operate on it, except that the object reference is not a pointer but a string. Kind of like object-oriented C (NOT Objective-C), but with strings instead of pointers.