docs: update RHI API docs
This commit is contained in:
26
docs/api/rhi/d3d12/swap-chain/constructor.md
Normal file
26
docs/api/rhi/d3d12/swap-chain/constructor.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# D3D12SwapChain::D3D12SwapChain
|
||||
|
||||
## 函数签名
|
||||
|
||||
```cpp
|
||||
D3D12SwapChain()
|
||||
```
|
||||
|
||||
## 中文描述
|
||||
|
||||
D3D12SwapChain 类的构造函数,创建一个空的交换链实例。
|
||||
|
||||
## 复杂度
|
||||
|
||||
O(1)
|
||||
|
||||
## 示例
|
||||
|
||||
```cpp
|
||||
D3D12SwapChain* swapChain = new D3D12SwapChain();
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12SwapChain](swap-chain.md) - 类总览
|
||||
- [~D3D12SwapChain](destructor.md) - 析构函数
|
||||
Reference in New Issue
Block a user