docs: update RHI API docs
This commit is contained in:
21
docs/api/rhi/opengl/swap-chain/surface-format.md
Normal file
21
docs/api/rhi/opengl/swap-chain/surface-format.md
Normal 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)
|
||||
Reference in New Issue
Block a user