public VeldridStartupWindow(string title) { WindowCreateInfo wci = new WindowCreateInfo { X = 0, Y = 0, WindowWidth = 1280, WindowHeight = 720, WindowTitle = title, }; _window = VeldridStartup.CreateWindow(ref wci); _window.Resized += () => { _windowResized = true; }; _window.FocusLost += () => { Console.WriteLine("Window Focus Lost"); }; _window.FocusGained += () => { Console.WriteLine("Window Focus Gained"); }; _window.SetCloseRequestedHandler(() => { Console.WriteLine("Window Close Requested"); return(false); }); _window.KeyDown += OnKeyDown; }