Docs: Add D3D12 API documentation
This commit is contained in:
17
docs/api/d3d12/d3d12-device-create-swap-chain.md
Normal file
17
docs/api/d3d12/d3d12-device-create-swap-chain.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# D3D12Device::CreateSwapChain
|
||||
|
||||
创建交换链。
|
||||
|
||||
```cpp
|
||||
RHISwapChain* CreateSwapChain(const SwapChainDesc& desc) override;
|
||||
```
|
||||
|
||||
**参数:**
|
||||
- `desc` - 交换链描述结构体
|
||||
|
||||
**返回:** `RHISwapChain*` - 创建的交换链指针,失败返回 nullptr
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12Device 总览](d3d12-device.md)
|
||||
- [D3D12SwapChain](d3d12-swap-chain.md)
|
||||
Reference in New Issue
Block a user