MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / Clear

Method Clear

KBotExt/imgui/imgui.h:2343–2343  ·  view source on GitHub ↗

- Get***() functions find pair, never add/allocate. Pairs are sorted so a query is O(log N) - Set***() functions find pair, insertion on demand if missing. - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair.

Source from the content-addressed store, hash-verified

2341 // - Set***() functions find pair, insertion on demand if missing.
2342 // - Sorted insertion is costly, paid once. A typical frame shouldn't need to insert any new pair.
2343 void Clear() { Data.clear(); }
2344 IMGUI_API int GetInt(ImGuiID key, int default_val = 0) const;
2345 IMGUI_API void SetInt(ImGuiID key, int val);
2346 IMGUI_API bool GetBool(ImGuiID key, bool default_val = false) const;

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected