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