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