コード例 #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);
 }
コード例 #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));
 }