/// <inheritdoc /> public override void Dispose() { FontConsolas12.Dispose(); FontConsolas12 = default; ShaderLibrary.Dispose(); ShaderLibrary = default; TextureLibrary.Dispose(); TextureLibrary = default; DisposeBuffers(); DisposeSurface(); GraphicsHost.ReleaseHdc(GraphicsHostDeviceContext); GraphicsHostDeviceContext = default; GraphicsHost.Dispose(); GraphicsHost = default; base.Dispose(); }