Docs: Add D3D12 API documentation

This commit is contained in:
2026-03-20 19:43:28 +08:00
parent 05a57addc7
commit 60d11f3109
41 changed files with 1073 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# D3D12CommandList::ClearRenderTarget
清除渲染目标。
```cpp
void ClearRenderTarget(void* renderTarget, const float color[4]) override;
```
**参数:**
- `renderTarget` - 渲染目标指针
- `color` - 清除颜色 RGBA
## 相关文档
- [D3D12CommandList 总览](d3d12-command-list.md)