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

Method SetFloat

lib/imgui/imgui.cpp:1927–1936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1925}
1926
1927void ImGuiStorage::SetFloat(ImGuiID key, float val)
1928{
1929 ImGuiStoragePair* it = LowerBound(Data, key);
1930 if (it == Data.end() || it->key != key)
1931 {
1932 Data.insert(it, ImGuiStoragePair(key, val));
1933 return;
1934 }
1935 it->val_f = val;
1936}
1937
1938void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
1939{

Callers

nothing calls this directly

Calls 4

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected