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

Method GetFloatRef

tutorials/common/imgui/imgui.cpp:2309–2315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2307}
2308
2309float* ImGuiStorage::GetFloatRef(ImGuiID key, float default_val)
2310{
2311 ImGuiStoragePair* it = LowerBound(Data, key);
2312 if (it == Data.end() || it->key != key)
2313 it = Data.insert(it, ImGuiStoragePair(key, default_val));
2314 return &it->val_f;
2315}
2316
2317void** ImGuiStorage::GetVoidPtrRef(ImGuiID key, void* default_val)
2318{

Callers

nothing calls this directly

Calls 3

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45

Tested by

no test coverage detected