예제 #1
0
 public void UnloadContent()
 {
     mRenderTarget.Dispose();
     mMasterRenderer.Dispose();
     mLevel.Dispose();
     mContentManager.Dispose();
 }
예제 #2
0
        /// <summary>
        /// Closes the pipe and the MasterRenderer.
        /// </summary>
        /// <param name="e"></param>
        protected override void OnClosing(CancelEventArgs e)
        {
            IsClosing = true;

            MasterRenderer.Dispose();
            controller.Dispose();
        }
예제 #3
0
 protected override void OnClosed(EventArgs e)
 {
     Renderer.Dispose();
     Loader.Dispose();
     OnGameClosed();
     SceneManager.Dispose();
     Dispose();
 }