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

Method GetFloat

Dependencies/ImGui/src/imgui.cpp:2784–2790  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2782}
2783
2784float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const
2785{
2786 ImGuiStoragePair* it = ImLowerBound(const_cast<ImGuiStoragePair*>(Data.Data), const_cast<ImGuiStoragePair*>(Data.Data + Data.Size), key);
2787 if (it == Data.Data + Data.Size || it->key != key)
2788 return default_val;
2789 return it->val_f;
2790}
2791
2792void* ImGuiStorage::GetVoidPtr(ImGuiID key) const
2793{

Callers

nothing calls this directly

Calls 1

ImLowerBoundFunction · 0.85

Tested by

no test coverage detected