Beispiel #1
0
 public void Dispose()
 {
     d2dDevice.Dispose();
     dxgiDevice.Dispose();
     d3dDevice1.Dispose();
     d3dDevice.Dispose();
 }
Beispiel #2
0
 public void Dispose()
 {
     foreach (var disposable in _disposables)
     {
         disposable.Dispose();
     }
     dxgiFactory.Dispose();
     dxgiAdapter.Dispose();
     dxgiDevice1.Dispose();
     dxgiDevice.Dispose();
     d3dDevice5.Dispose();
     d3dDevice1.Dispose();
     d3dDevice.Dispose();
 }