Example #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (!isDisposed)
         {
             renderer.Dispose();
             dbgRepport?.Dispose();
         }
     }
     base.Dispose(disposing);
 }
Example #2
0
 protected override void Dispose(bool disposing)
 {
     dev.WaitIdle();
     if (disposing)
     {
         if (!isDisposed)
         {
             frameBuffers?.Dispose();
             renderer?.Dispose();
             plToneMap?.Dispose();
             descriptorPool?.Dispose();
             dbgmsg?.Dispose();
         }
     }
     base.Dispose(disposing);
 }