示例#1
0
        public void Destroy()
        {
            // - Warn extern resource before destroying the window
            Invalidating?.Invoke(this, EventArgs.Empty);

            // - Destroy the window
            Glfw.DestroyWindow(GLFWHAndle);

            // - Set the pointer to null
            GLFWHAndle = Window.None;
        }
 public void InvalidateVisual()
 => Invalidating?.Invoke(this, EventArgs.Empty);