private void RenderUI() { // Render 2D Performance.Push("BaseScene.Draw (Render2D)"); // Clear depth buffer and stencil again for 2D rendering Clear(Color.Lavender, ClearOptions.DepthBuffer | ClearOptions.Stencil, 1, 0); UIWindowManager.Draw(); MouseCursor?.Render(); Performance.Pop(); }