Exemplo n.º 1
0
 public Device(PhysicalDevice _phy)
 {
     phy = _phy;
 }
Exemplo n.º 2
0
 /// <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);
 }