*
* @param root The SceneRoot to be used for attaching the desktop node
* @param input The default input handler to be used (will be put on the base stack of the InputController)
*/
public void initialize(AppSettings settings, RenderManager renderMan) {
this.jmeDesktop = new JMEDesktop("Swing Desktop",settings.getWidth(),settings.getHeight(),
FastMath.nearestPowerOfTwo(settings.getWidth()),FastMath.nearestPowerOfTwo(settings.getHeight()),
false/*no mipmap*/,Singleton.get().getInputController().getInputManager(),
settings /*we pass it in so desktop will rescale on resizing*/, renderMan);
jmeDesktop.getJDesktop().setBackground( new Color( 1, 1, 1, 0.0f ) );
jmeDesktop.setCullHint( Spatial.CullHint.Never );