MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / SetFloat

Method SetFloat

Dependencies/ImGui/src/imgui.cpp:2845–2852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2843}
2844
2845void ImGuiStorage::SetFloat(ImGuiID key, float val)
2846{
2847 ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key);
2848 if (it == Data.Data + Data.Size || it->key != key)
2849 Data.insert(it, ImGuiStoragePair(key, val));
2850 else
2851 it->val_f = val;
2852}
2853
2854void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2855{

Callers

nothing calls this directly

Calls 3

ImLowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
insertMethod · 0.45

Tested by

no test coverage detected