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

Method GetFloatRef

Dependencies/ImGui/src/imgui.cpp:2814–2820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2812}
2813
2814float* ImGuiStorage::GetFloatRef(ImGuiID key, float default_val)
2815{
2816 ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key);
2817 if (it == Data.Data + Data.Size || it->key != key)
2818 it = Data.insert(it, ImGuiStoragePair(key, default_val));
2819 return &it->val_f;
2820}
2821
2822void** ImGuiStorage::GetVoidPtrRef(ImGuiID key, void* default_val)
2823{

Callers

nothing calls this directly

Calls 3

ImLowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
insertMethod · 0.45

Tested by

no test coverage detected