refactor(docs): Fix broken links across multiple modules

Fixed broken references:
- texture-import-settings: Fix 16 files referencing wrong overview filename
- math/rectint: Fix 9 method links (rectint-* → get*, contains, intersects)
- rhi/opengl/device: Fix 8 cross-references (opengl-* → */**)
- resources/mesh: Fix meshsection and vertexattribute links
- rhi/d3d12/sampler: Fix RHISampler reference path
- math/vector3: Fix projectonplane → project-on-plane
- rhi/opengl/command-list: Remove broken ClearFlag enum ref
- rhi/opengl/device: Create 2 new method docs (MakeContextCurrent, GetNativeContext)
- rhi/device: Fix device-info types reference

All 0 broken references remaining.
This commit is contained in:
2026-03-26 02:41:00 +08:00
parent d018a4c82c
commit b414bc5326
141 changed files with 393 additions and 254 deletions

View File

@@ -44,13 +44,13 @@ device->Initialize(desc);
### 使用资源管理器
```cpp
#include <XCEngine/Resources/ResourceManager.h>
#include <XCEngine/Resources/Resources.h>
// 加载纹理
auto texture = Resources::ResourceManager::Get().Load<Resources::Texture>("textures/player.png");
auto texture = XCEngine::Resources::ResourceManager::Get().Load<XCEngine::Resources::Texture>("textures/player.png");
// 加载网格
auto mesh = Resources::ResourceManager::Get().Load<Resources::Mesh>("models/player.fbx");
auto mesh = XCEngine::Resources::ResourceManager::Get().Load<XCEngine::Resources::Mesh>("models/player.fbx");
```
### 日志记录
@@ -65,32 +65,34 @@ XE_LOG(Debug::LogCategory::Rendering, Debug::LogLevel::Info, "Render started");
### 数学运算
```cpp
#include <XCEngine/Math/Matrix4.h>
#include <XCEngine/Core/Math/Matrix4.h>
// 创建变换矩阵
Math::Matrix4 transform = Math::Matrix4::TRS(position, rotation, scale);
Math::Matrix4x4 transform = Math::Matrix4x4::TRS(position, rotation, scale);
```
---
## 文档统计
> ⚠️ 注意:以下统计数据为近似值,部分 RHI 伪造文档待删除后需重新统计。
| 模块 | 文档数量 |
|------|----------|
| RHI 抽象层 | 17 |
| D3D12 后端 | 24 |
| OpenGL 后端 | 14 |
| Math | 17 |
| Resources | 17 |
| Threading | 10 |
| Memory | 6 |
| Debug | 9 |
| Core | 6 |
| Containers | 4 |
| Audio | 10 |
| Components | 36 |
| Scene | 19 |
| **总计** | **143** |
| RHI 抽象层 | ~15 (含待删除伪造文档) |
| D3D12 后端 | ~20 |
| OpenGL 后端 | ~25 (含待删除伪造文档) |
| Math | ~15 |
| Resources | ~20 |
| Threading | ~15 |
| Memory | ~12 |
| Debug | ~10 |
| Core | ~5 |
| Containers | ~4 |
| Audio | ~20 |
| Components | ~50 |
| Scene | ~10 |
| **总计** | **~220 (待精确统计)** |
---