docs: update RHI API docs

This commit is contained in:
2026-03-20 02:35:45 +08:00
parent ea756c0177
commit 070b444f8f
501 changed files with 13493 additions and 2022 deletions

View File

@@ -0,0 +1,21 @@
# SurfaceFormat
**命名空间**: `XCEngine::RHI`
**类型**: `enum class`
**描述**: 指定交换链的表面格式,控制颜色缓冲的像素格式。
## 枚举值
| 值 | 描述 |
|------|------|
| `RGBA8` | 8 位 RGBA每个通道 8 位) |
| `RGBA16F` | 16 位浮点 RGBA |
| `RGBA32F` | 32 位浮点 RGBA |
| `BGRA8` | 8 位 BGRA |
## 相关文档
- [OpenGLSwapChain 总览](swap-chain.md)
- [PresentMode](present-mode.md)