MCPcopy Create free account
hub / github.com/VictorGordan/opengl-tutorials / GetFloat

Method GetFloat

ImGUI GLFW Tutorial/imgui/imgui.cpp:1925–1931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1923}
1924
1925float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const
1926{
1927 ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key);
1928 if (it == Data.end() || it->key != key)
1929 return default_val;
1930 return it->val_f;
1931}
1932
1933void* ImGuiStorage::GetVoidPtr(ImGuiID key) const
1934{

Callers

nothing calls this directly

Calls 2

LowerBoundFunction · 0.70
endMethod · 0.45

Tested by

no test coverage detected