Beispiel #1
0
 public void ReleaseDeviceResources()
 {
     Bitmaps.Dispose();
     SwapChain.Dispose();
     _solidBrush.Dispose();
     RenderTarget.Dispose();
 }
Beispiel #2
0
 public void ReleaseDeviceResources()
 {
     Bitmaps?.Dispose();
     SwapChain?.Dispose();
     _solidBrush?.Dispose();
     RenderTarget?.Dispose();
     D3Device?.Dispose();
 }