MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / GetFloat

Method GetFloat

lib/imgui/imgui.cpp:1864–1870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1862}
1863
1864float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const
1865{
1866 ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key);
1867 if (it == Data.end() || it->key != key)
1868 return default_val;
1869 return it->val_f;
1870}
1871
1872void* ImGuiStorage::GetVoidPtr(ImGuiID key) const
1873{

Callers

nothing calls this directly

Calls 2

LowerBoundFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected