public Device(PhysicalDevice _phy) { phy = _phy; }
/// <summary> /// Override this method to select another device than the first one with a swapchain support. /// </summary> protected virtual void selectPhysicalDevice() { phy = instance.GetAvailablePhysicalDevice().FirstOrDefault(p => p.HasSwapChainSupport); }