MCPcopy Create free account
hub / github.com/comaps/comaps / Update

Method Update

dev_sandbox/imgui_renderer.cpp:110–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void ImguiRenderer::Update(std::function<void()> const & uiCallback)
111{
112 CHECK(uiCallback, ());
113 ImGuiIO & io = ImGui::GetIO();
114 if (!io.Fonts->IsBuilt())
115 io.Fonts->Build();
116 if (!m_texture)
117 UpdateTexture();
118
119 ImGui::NewFrame();
120 uiCallback();
121 ImGui::Render();
122 UpdateBuffers();
123}
124
125void ImguiRenderer::Reset()
126{

Callers 1

mainFunction · 0.45

Calls 2

IsBuiltMethod · 0.80
BuildMethod · 0.45

Tested by

no test coverage detected