public MyGUIRenderListener(Viewport viewport, SceneManager sceneManager, OgreRenderManager renderManager) { this.viewport = viewport; this.sceneManager = sceneManager; this.renderManager = renderManager; sceneManager.addRenderQueueListener(this); sceneManager.addSceneListener(this); }
public void initialize(int windowWidth, int windowHeight, String resourceGroup, String logName) { OgrePlatform_initialize(ogrePlatform, windowWidth, windowHeight, resourceGroup, logName); renderManager = new OgreRenderManager(OgrePlatform_getRenderManagerPtr(ogrePlatform)); }