Docs: Add D3D12 API documentation
This commit is contained in:
13
docs/api/d3d12/d3d12-device-set-device-removed.md
Normal file
13
docs/api/d3d12/d3d12-device-set-device-removed.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# D3D12Device::SetDeviceRemoved
|
||||
|
||||
标记设备已被移除。
|
||||
|
||||
```cpp
|
||||
void SetDeviceRemoved() { m_isDeviceRemoved = true; }
|
||||
```
|
||||
|
||||
通常在设备丢失或移除时调用。
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12Device 总览](d3d12-device.md)
|
||||
Reference in New Issue
Block a user