Exemple #1
0
 public void Dispose()
 {
     WorldModelRenderer.Dispose();
     tempBuffer.Dispose();
     fontSheetBuilder?.Dispose();
     if (Fonts != null)
     {
         foreach (var font in Fonts.Values)
         {
             font.Dispose();
         }
     }
     Window.Dispose();
 }
Exemple #2
0
 public void Dispose()
 {
     Device.Dispose();
     WorldModelRenderer.Dispose();
     tempBuffer.Dispose();
     if (fontSheetBuilder != null)
     {
         fontSheetBuilder.Dispose();
     }
     if (Fonts != null)
     {
         foreach (var font in Fonts.Values)
         {
             font.Dispose();
         }
     }
 }
Exemple #3
0
 public void Dispose()
 {
     Device.Dispose();
     WorldModelRenderer.Dispose();
     tempBuffer.Dispose();
 }