Пример #1
0
 public void Dispose()
 {
     TextureResource.Dispose();
     TextureResourceView.Dispose();
 }
Пример #2
0
 public override void Dispose()
 {
     TextureResourceView?.Dispose();
     sampleState?.Dispose();
 }