- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
21 lines
360 B
Markdown
21 lines
360 B
Markdown
# D3D12Device::GetAdapterInfo
|
|
|
|
```cpp
|
|
const AdapterInfo& GetAdapterInfo() const
|
|
```
|
|
|
|
获取适配器信息。
|
|
|
|
**返回:** 适配器信息结构体引用
|
|
|
|
**示例:**
|
|
|
|
```cpp
|
|
const AdapterInfo& info = d3d12Device->GetAdapterInfo();
|
|
wprintf(L"GPU: %ls\n", info.description.c_str());
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [D3D12Device 总览](device.md) - 返回类总览
|