예제 #1
0
 public static bool IsDeviceRemoved(this ComPtr <ID3D12Device> device) =>
 device.Get()->GetDeviceRemovedReason() != Windows.S_OK;
예제 #2
0
 public static void PossibleDeviceDisconnect(this ComPtr <ID3D12Device> device)
 => PossibleDeviceDisconnect(device.Get());