MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / GetFloat

Method GetFloat

include/imgui/imgui.cpp:2955–2961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2953}
2954
2955float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const
2956{
2957 ImGuiStoragePair* it = ImLowerBound(const_cast<ImGuiStoragePair*>(Data.Data), const_cast<ImGuiStoragePair*>(Data.Data + Data.Size), key);
2958 if (it == Data.Data + Data.Size || it->key != key)
2959 return default_val;
2960 return it->val_f;
2961}
2962
2963void* ImGuiStorage::GetVoidPtr(ImGuiID key) const
2964{

Callers

nothing calls this directly

Calls 1

ImLowerBoundFunction · 0.70

Tested by

no test coverage detected