19 lines
472 B
Markdown
19 lines
472 B
Markdown
# D3D12Device::CheckFeatureSupport
|
||
|
||
检查设备是否支持特定功能特性。
|
||
|
||
```cpp
|
||
bool CheckFeatureSupport(D3D12_FEATURE feature, void* featureSupportData, uint32_t featureSupportDataSize);
|
||
```
|
||
|
||
**参数:**
|
||
- `feature` - 要检查的功能特性
|
||
- `featureSupportData` - 存储结果的缓冲区
|
||
- `featureSupportDataSize` - 缓冲区大小
|
||
|
||
**返回:** `bool` - 支持返回 true,否则返回 false
|
||
|
||
## 相关文档
|
||
|
||
- [D3D12Device 总览](d3d12-device.md)
|