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

Method SetFloat

tutorials/common/imgui/imgui.cpp:2342–2351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2340}
2341
2342void ImGuiStorage::SetFloat(ImGuiID key, float val)
2343{
2344 ImGuiStoragePair* it = LowerBound(Data, key);
2345 if (it == Data.end() || it->key != key)
2346 {
2347 Data.insert(it, ImGuiStoragePair(key, val));
2348 return;
2349 }
2350 it->val_f = val;
2351}
2352
2353void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2354{

Callers

nothing calls this directly

Calls 3

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45

Tested by

no test coverage detected