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

Method GetIDNoKeepAlive

ImGUI GLFW Tutorial/imgui/imgui.cpp:2960–2969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2958}
2959
2960ImGuiID ImGuiWindow::GetIDNoKeepAlive(const char* str, const char* str_end)
2961{
2962 ImGuiID seed = IDStack.back();
2963 ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed);
2964#ifdef IMGUI_ENABLE_TEST_ENGINE
2965 ImGuiContext& g = *GImGui;
2966 IMGUI_TEST_ENGINE_ID_INFO2(id, ImGuiDataType_String, str, str_end);
2967#endif
2968 return id;
2969}
2970
2971ImGuiID ImGuiWindow::GetIDNoKeepAlive(const void* ptr)
2972{

Callers 2

PushIDMethod · 0.45
GetWindowScrollbarIDMethod · 0.45

Calls 2

ImHashStrFunction · 0.70
ImHashDataFunction · 0.70

Tested by

no test coverage detected