MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / imguiBeginFrame

Function imguiBeginFrame

demo/imgui.cpp:287–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287void imguiBeginFrame(int mx, int my, unsigned char mbut, int scroll)
288{
289 updateInput(mx,my,mbut,scroll);
290
291 g_state.hot = g_state.hotToBe;
292 g_state.hotToBe = 0;
293
294 g_state.wentActive = false;
295 g_state.isActive = false;
296 g_state.isHot = false;
297
298 g_state.widgetX = 0;
299 g_state.widgetY = 0;
300 g_state.widgetW = 0;
301
302 g_state.areaId = 1;
303 g_state.widgetId = 1;
304
305 resetGfxCmdQueue();
306}
307
308void imguiEndFrame()
309{

Callers 1

DoUIFunction · 0.85

Calls 2

updateInputFunction · 0.85
resetGfxCmdQueueFunction · 0.85

Tested by

no test coverage detected