MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetFloatRef

Method GetFloatRef

3rdparty/imgui/src/imgui.cpp:2985–2991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2983}
2984
2985float* ImGuiStorage::GetFloatRef(ImGuiID key, float default_val)
2986{
2987 ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key);
2988 if (it == Data.Data + Data.Size || it->key != key)
2989 it = Data.insert(it, ImGuiStoragePair(key, default_val));
2990 return &it->val_f;
2991}
2992
2993void** ImGuiStorage::GetVoidPtrRef(ImGuiID key, void* default_val)
2994{

Callers

nothing calls this directly

Calls 3

ImGuiStoragePairClass · 0.85
ImLowerBoundFunction · 0.70
insertMethod · 0.45

Tested by

no test coverage detected