Files
XCSDD/docs/api/rhi/d3d12/swap-chain/get-back-buffer.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00

36 lines
496 B
Markdown

# D3D12SwapChain::GetBackBuffer
## 函数签名
```cpp
D3D12Texture* GetBackBuffer(uint32_t index) const
```
## 中文描述
获取指定索引的后台缓冲区。
## 参数
| 参数 | 类型 | 描述 |
|------|------|------|
| `index` | `uint32_t` | 缓冲区索引 |
## 返回值
`D3D12Texture*` - 后台缓冲区纹理指针
## 复杂度
O(1)
## 示例
```cpp
D3D12Texture* buffer = swapChain->GetBackBuffer(0);
```
## 相关文档
- [D3D12SwapChain](swap-chain.md) - 类总览