Viewport,Platform: Added GetWindowDpiScale() platform interface, changes of scale are reflected by positioning and resizing windows in their given viewport. (#1542)
void(*BeginViewport)(ImGuiViewport*viewport);// (Optional) Called during Begin() every time the viewport we are outputting into changes (viewport = next viewport)
void(*BeginViewport)(ImGuiViewport*viewport);// (Optional) Called during Begin() every time the viewport we are outputting into changes (viewport = next viewport)
void(*EndViewport)(ImGuiViewport*viewport);// (Optional) Called during Begin() every time the viewport we are outputting into changes (viewport = previous viewport)
void(*EndViewport)(ImGuiViewport*viewport);// (Optional) Called during Begin() every time the viewport we are outputting into changes (viewport = previous viewport)