Docs: Add D3D12 API documentation
This commit is contained in:
18
docs/api/d3d12/d3d12-device-check-feature-support.md
Normal file
18
docs/api/d3d12/d3d12-device-check-feature-support.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# D3D12Device::CheckFeatureSupport
|
||||
|
||||
检查设备是否支持特定功能特性。
|
||||
|
||||
```cpp
|
||||
bool CheckFeatureSupport(D3D12_FEATURE feature, void* featureSupportData, uint32_t featureSupportDataSize);
|
||||
```
|
||||
|
||||
**参数:**
|
||||
- `feature` - 要检查的功能特性
|
||||
- `featureSupportData` - 存储结果的缓冲区
|
||||
- `featureSupportDataSize` - 缓冲区大小
|
||||
|
||||
**返回:** `bool` - 支持返回 true,否则返回 false
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12Device 总览](d3d12-device.md)
|
||||
Reference in New Issue
Block a user