public override void Dispose()
 {
     canvas.Dispose();
     skin.Dispose();
     renderer.Dispose();
     base.Dispose();
 }
Beispiel #2
0
        public override void Dispose()
        {
            base.Dispose();

            BaseCanvas.Dispose();
            BaseSkin.Dispose();
            RenderHandler.Dispose();
        }
        protected override void Dispose(bool disposing)
        {
            //canvas.Dispose();
            skin.Dispose();
            renderer.Dispose();

            base.Dispose(disposing);
        }
Beispiel #4
0
 public static void Dispose()
 {
     if (!disposed)
     {
         canvas.Dispose();
         skin.Dispose();
         renderer.Dispose();
         disposed = true;
     }
 }
Beispiel #5
0
        protected override void OnUnload(EventArgs e)
        {
            gwenCanvas.Dispose();
            gwenSkin.Dispose();
            gwenRenderer.Dispose();

            UnloadLevel();
            UnloadDebugMeshes();

            base.OnUnload(e);
        }