NiftyJmeDisplay function ( final AssetManager arg0 , final InputManager arg1 , final AudioRenderer arg2 , final ViewPort arg3 ) { return newNiftyJmeDisplay ( arg0 , arg1 , arg2 , arg3 , new BatchRenderConfiguration ( ) ) ; }
create a new niftyjmedisplay for use with the batched nifty renderer . nifty will use texture atlases 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 . this call will use a default batchrenderconfiguration for nifty . see the other method #newniftyjmedisplay com.jme3.asset.assetmanager , com.jme3.input.inputmanager , com.jme3.audio.audiorenderer , com.jme3.renderer.viewport , de.lessvoid.nifty.render.batch.batchrenderconfiguration when you want to change the default batchrenderconfiguration and provide your own . concode_field_sep Renderer renderer concode_elem_sep int h concode_elem_sep ResourceLocationJme resourceLocation concode_elem_sep InputSystemJme inputSys concode_elem_sep AssetManager assetManager concode_elem_sep Nifty nifty concode_elem_sep InputManager inputManager concode_elem_sep JmeBatchRenderBackend batchRendererBackend concode_elem_sep int w concode_elem_sep SoundDeviceJme soundDev concode_elem_sep RenderDeviceJme renderDev concode_elem_sep ViewPort vp concode_elem_sep RenderManager renderManager concode_elem_sep boolean inited concode_field_sep URL getResource concode_elem_sep Renderer getRenderer concode_elem_sep InputStream getResourceAsStream concode_elem_sep Nifty getNifty concode_elem_sep boolean isInitialized concode_elem_sep RenderManager getRenderManager concode_elem_sep int getWidth concode_elem_sep void reshape concode_elem_sep void postQueue concode_elem_sep void postFrame concode_elem_sep int getHeight concode_elem_sep AssetManager getAssetManager concode_elem_sep void cleanup concode_elem_sep void preFrame concode_elem_sep void initialize concode_elem_sep void initialize concode_elem_sep void simulateKeyEvent