public void setSwapBuffers(boolean swapBuffers) {
        putBoolean("SwapBuffers", swapBuffers);
    }
When enabled the display context will swap buffers every frame.

This may need to be disabled when integrating with an external
library that handles buffer swapping on its own, e.g. Oculus Rift.
When disabled, the engine will process window messages
after each frame, but it will not swap buffers. Note that this
will cause 100% CPU usage normally as there's no VSync or any framerate
caps (unless set via {@link #setFrameRate(int) }).
The default is <code>true</code>.

@param swapBuffers True to enable buffer swapping, false to disable it.
jme3-core/src/main/java/com/jme3/system/AppSettings.java