public static NiftyJmeDisplay newNiftyJmeDisplay(
            final AssetManager assetManager,
            final InputManager inputManager,
            final AudioRenderer audioRenderer,
            final ViewPort viewport,
            final BatchRenderConfiguration batchRenderConfiguration) {
        return new NiftyJmeDisplay(
                assetManager,
                inputManager,
                audioRenderer,
                viewport,
                batchRenderConfiguration);
    }
Create a new NiftyJmeDisplay for use with the Batched Nifty Renderer.

Nifty will use texture atlas for rendering. Every graphical asset you're
rendering through Nifty will be placed into a texture atlas. The goal is
to render all Nifty components in a single (or at least very few) draw
calls. This should speed up rendering quite a bit.

@param assetManager jME AssetManager
@param inputManager jME InputManager
@param audioRenderer jME AudioRenderer
@param viewport Viewport to use
@param batchRenderConfiguration the Nifty BatchRenderConfiguration that
       you can use to further configure batch rendering. If unsure you
       can simply use new BatchRenderConfiguration() in here for the
       default configuration which should give you good default values.
@return new NiftyJmeDisplay instance
jme3-niftygui/src/main/java/com/jme3/niftygui/NiftyJmeDisplay.java