Files
XCEngine/docs/api/rhi/opengl/device/device.md
ssdfasd b46d450429 Fix RHI documentation discrepancies
Fixed the following issues:
- command-list.md: Shutdown linked to threading/task-system instead of local shutdown.md
- fence.md: Wait linked to threading/task-group instead of local wait.md
- factory/create-rhi-device-string.md: Claimed Vulkan/Metal support but source doesn't support them
- opengl/buffer/buffer.md: GetType linked to command-queue/get-type (wrong type)
- d3d12/device/device.md: Initialize/Shutdown linked to threading/task-system
- d3d12/command-list/command-list.md: Initialize/Shutdown/Reset/Close/Clear linked to wrong docs
- d3d12/texture/texture.md: Initialize/Shutdown linked to threading/task-system
- opengl/command-list/command-list.md: Shutdown linked to threading/task-system
- opengl/device/device.md: GetNativeHandle incorrectly linked to get-window.md

All links validated with fix_links.py - no broken references remaining.
2026-03-19 01:23:10 +08:00

38 lines
1.7 KiB
Markdown

# OpenGLDevice
**命名空间**: `XCEngine::RHI`
**描述**: OpenGL 设备的实现,继承自 `RHIDevice`
## 方法列表
| 方法 | 文档 |
|------|------|
| `Initialize` | [详细文档](../../device/initialize.md) |
| `Shutdown` | [详细文档](../../device/shutdown.md) |
| `CreateRenderWindow` | [详细文档](create-render-window.md) |
| `InitializeWithExistingWindow` | [详细文档](initialize-with-existing-window.md) |
| `GetWindow` | [详细文档](get-window.md) |
| `SwapBuffers` | [详细文档](swap-buffers.md) |
| `PollEvents` | [详细文档](poll-events.md) |
| `SetShouldClose` | [详细文档](set-should-close.md) |
| `ShouldClose` | [详细文档](should-close.md) |
| `CreateBuffer` | [详细文档](../../device/create-buffer.md) |
| `CreateTexture` | [详细文档](../../device/create-texture.md) |
| `CreateSwapChain` | [详细文档](../../device/create-swap-chain.md) |
| `CreateCommandList` | [详细文档](../../device/create-command-list.md) |
| `CreateCommandQueue` | [详细文档](../../device/create-command-queue.md) |
| `CompileShader` | [详细文档](../../device/compile-shader.md) |
| `CreatePipelineState` | [详细文档](../../device/create-pipeline-state.md) |
| `CreateFence` | [详细文档](../../device/create-fence.md) |
| `CreateSampler` | [详细文档](../../device/create-sampler.md) |
| `GetCapabilities` | [详细文档](../../device/get-capabilities.md) |
| `GetDeviceInfo` | [详细文档](../../device/get-device-info.md) |
| `GetNativeDevice` | [详细文档](../../device/get-native-device.md) |
| `GetNativeHandle` | [详细文档](../../device/get-native-device.md) |
## 相关文档
- [OpenGL 后端总览](../overview.md)
- [RHIDevice](../../device/device.md) - 抽象设备接口