Exemple #1
0
 public void Dispose()
 {
     Convert?.Dispose();
     ScaleShader?.Dispose();
     QuadShader?.Dispose();
     Upload?.Dispose();
 }
Exemple #2
0
 public void Dispose()
 {
     Convert?.Dispose();
     ScaleShader?.Dispose();
     QuadShader?.Dispose();
     Upload?.Dispose();
     Sync?.Dispose();
     padding?.Dispose();
     LinearSampler?.Dispose();
     PointSampler?.Dispose();
 }