MCPcopy Create free account
hub / github.com/RenderKit/embree / GetFloat

Method GetFloat

tutorials/common/imgui/imgui.cpp:2279–2285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2277}
2278
2279float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const
2280{
2281 ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key);
2282 if (it == Data.end() || it->key != key)
2283 return default_val;
2284 return it->val_f;
2285}
2286
2287void* ImGuiStorage::GetVoidPtr(ImGuiID key) const
2288{

Callers

nothing calls this directly

Calls 2

LowerBoundFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected