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.
This commit is contained in:
2026-03-19 00:54:54 +08:00
parent 086eb877b5
commit a669ec819d
31 changed files with 376 additions and 44 deletions

View File

@@ -8,8 +8,8 @@
| 方法 | 文档 |
|------|------|
| `Initialize` | [详细文档](../../../threading/task-system/initialize.md) |
| `Shutdown` | [详细文档](../../../threading/task-system/shutdown.md) |
| `Initialize` | [详细文档](../../device/initialize.md) |
| `Shutdown` | [详细文档](../../device/shutdown.md) |
| `CreateRenderWindow` | [详细文档](create-render-window.md) |
| `InitializeWithExistingWindow` | [详细文档](initialize-with-existing-window.md) |
| `GetWindow` | [详细文档](get-window.md) |
@@ -29,7 +29,7 @@
| `GetCapabilities` | [详细文档](../../device/get-capabilities.md) |
| `GetDeviceInfo` | [详细文档](../../device/get-device-info.md) |
| `GetNativeDevice` | [详细文档](../../device/get-native-device.md) |
| `GetNativeHandle` | [详细文档](../../buffer/get-native-handle.md) |
| `GetNativeHandle` | [详细文档](../../swap-chain/get-native-handle.md) |
## 相关文档