ImGuiImplGlfwNewFrame
ImGuiImplGlfwNewFrame is a function within the Dear ImGui library, specifically designed for integration with the GLFW windowing toolkit. Its primary purpose is to prepare Dear ImGui for the rendering of a new frame when using GLFW as the backend. This involves processing input events captured by GLFW and translating them into a format that Dear ImGui can understand and utilize for its immediate-mode graphical user interface elements.
When ImGuiImplGlfwNewFrame is called, it typically polls for window events such as keyboard presses, mouse movements,
Properly calling ImGuiImplGlfwNewFrame at the beginning of each frame loop, after GLFW has polled its events