public Vector2f getWindowContentScale(Vector2f store) {
        if (store == null) store = new Vector2f();

        glfwGetFramebufferSize(window, width, height);
        store.set(width[0], height[0]);

        glfwGetWindowSize(window, width, height);
        store.x /= width[0];
        store.y /= height[0];

        return store;
    }
Get the window content scale, for HiDPI support.

The content scale is the ratio between the current DPI and the platform's default DPI.
This is especially important for text and any UI elements. If the pixel dimensions of
your UI scaled by this look appropriate on your machine then it should appear at a
reasonable size on other machines regardless of their DPI and scaling settings. This
relies on the system DPI and scaling settings being somewhat correct.

@param store A vector2f to store the result
@return The window content scale
@see <a href="https://www.glfw.org/docs/latest/window_guide.html#window_scale">Window content scale</a>
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java