@Override
    public int getFramebufferWidth() {
        glfwGetFramebufferSize(window, width, height);
        int result = width[0];
        return result;
    }
Returns the width of the framebuffer.

@return the width (in pixels)
jme3-vr/src/main/java/com/jme3/system/lwjgl/LwjglWindowVR.java