Example #1
0
 public void Dispose()
 {
     WorldModelRenderer.Dispose();
     tempBuffer.Dispose();
     fontSheetBuilder?.Dispose();
     if (Fonts != null)
     {
         foreach (var font in Fonts.Values)
         {
             font.Dispose();
         }
     }
     Window.Dispose();
 }
Example #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();
         }
     }
 }
Example #3
0
 public void Dispose()
 {
     Device.Dispose();
     WorldModelRenderer.Dispose();
     tempBuffer.Dispose();
 }