14 lines
248 B
Markdown
14 lines
248 B
Markdown
|
|
# D3D12Device::GetDevice
|
||
|
|
|
||
|
|
获取底层 ID3D12Device 指针。
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
ID3D12Device* GetDevice() const { return m_device.Get(); }
|
||
|
|
```
|
||
|
|
|
||
|
|
**返回:** `ID3D12Device*` - DirectX 12 设备指针
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12Device 总览](d3d12-device.md)
|