Files
XCEngine/docs/api/rhi/opengl/swap-chain/swap-chain.md
ssdfasd a669ec819d Fix RHI documentation discrepancies and add missing doc files
Fixed incorrect links in OpenGL documentation:
- Fixed wrong links to threading/task-system docs for Initialize/Shutdown methods
- Fixed wrong links to buffer docs for GetNativeHandle methods
- Fixed wrong links to shader docs for Bind/Unbind methods
- Fixed wrong links to command-list docs for Clear/Reset/Close methods
- Fixed wrong links to buffer/get-size.md for width/height methods

Added missing documentation files:
- OpenGL buffer: bind.md, unbind.md, get-type.md, initialize.md
- OpenGL fence: initialize.md, reset.md
- OpenGL swap-chain: get-size.md, initialize.md
- OpenGL render-target-view: initialize.md, shutdown.md, bind.md, unbind.md, clear.md, get-size.md
- OpenGL depth-stencil-view: initialize.md, shutdown.md, bind.md, unbind.md, get-size.md
- OpenGL command-list: clear.md

All links validated with fix_links.py - no broken references.
2026-03-19 00:54:54 +08:00

35 lines
1.5 KiB
Markdown

# OpenGLSwapChain
**命名空间**: `XCEngine::RHI`
**描述**: OpenGL 交换链实现,继承自 `RHISwapChain`
## 方法列表
| 方法 | 文档 |
|------|------|
| `Initialize` (vsync) | [详细文档](../../../threading/task-system/initialize.md) |
| `Initialize` (mode) | [详细文档](initialize-mode.md) |
| `Shutdown` | [详细文档](../../swap-chain/shutdown.md) |
| `Present` | [详细文档](present.md) |
| `SwapBuffers` | [详细文档](swap-buffers.md) |
| `Resize` | [详细文档](../../../containers/array/resize.md) |
| `SetVSync` | [详细文档](set-vsync.md) |
| `IsVSync` | [详细文档](is-vsync.md) |
| `SetFullscreen` | [详细文档](set-fullscreen.md) |
| `IsFullscreen` | [详细文档](is-fullscreen.md) |
| `ShouldClose` | [详细文档](should-close.md) |
| `SetShouldClose` | [详细文档](set-should-close.md) |
| `PollEvents` | [详细文档](poll-events.md) |
| `GetCurrentBackBufferIndex` | [详细文档](../../swap-chain/get-current-back-buffer-index.md) |
| `GetCurrentBackBuffer` | [详细文档](../../swap-chain/get-current-back-buffer.md) |
| `GetWidth` / `GetHeight` | [详细文档](../../buffer/get-size.md) |
| `GetFramebufferWidth` / `GetFramebufferHeight` | [详细文档](get-framebuffer-size.md) |
| `GetWindow` | [详细文档](get-window.md) |
| `GetNativeHandle` | [详细文档](../../swap-chain/get-native-handle.md) |
## 相关文档
- [OpenGL 后端总览](../overview.md)
- [RHISwapChain](../../swap-chain/swap-chain.md) - 抽象交换链接口