MCPcopy Create free account
hub / github.com/VictorGordan/opengl-tutorials / SetFloat

Method SetFloat

ImGUI GLFW Tutorial/imgui/imgui.cpp:1988–1997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1986}
1987
1988void ImGuiStorage::SetFloat(ImGuiID key, float val)
1989{
1990 ImGuiStoragePair* it = LowerBound(Data, key);
1991 if (it == Data.end() || it->key != key)
1992 {
1993 Data.insert(it, ImGuiStoragePair(key, val));
1994 return;
1995 }
1996 it->val_f = val;
1997}
1998
1999void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2000{

Callers

nothing calls this directly

Calls 4

LowerBoundFunction · 0.70
ImGuiStoragePairClass · 0.70
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected