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

Method SetVoidPtr

tutorials/common/imgui/imgui.cpp:2353–2362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2351}
2352
2353void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2354{
2355 ImGuiStoragePair* it = LowerBound(Data, key);
2356 if (it == Data.end() || it->key != key)
2357 {
2358 Data.insert(it, ImGuiStoragePair(key, val));
2359 return;
2360 }
2361 it->val_p = val;
2362}
2363
2364void ImGuiStorage::SetAllInt(int v)
2365{

Callers 1

CreateNewWindowFunction · 0.80

Calls 3

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45

Tested by

no test coverage detected