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