Files
XCEngine/docs/api/d3d12/d3d12-device-check-feature-support.md

19 lines
472 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# D3D12Device::CheckFeatureSupport
检查设备是否支持特定功能特性。
```cpp
bool CheckFeatureSupport(D3D12_FEATURE feature, void* featureSupportData, uint32_t featureSupportDataSize);
```
**参数:**
- `feature` - 要检查的功能特性
- `featureSupportData` - 存储结果的缓冲区
- `featureSupportDataSize` - 缓冲区大小
**返回:** `bool` - 支持返回 true否则返回 false
## 相关文档
- [D3D12Device 总览](d3d12-device.md)