docs: 修正 API 文档准确性 (第三轮检查)

修复问题:
- containers: HashMap include 路径修复
- core: RefCounted 析构函数访问级别, Event::begin/end 返回值说明
- memory: LinearAllocator::GetMarker 返回偏移量非指针
- resources: LoadAsync 示例使用不存在的模板方法
- rhi: OpenGL 链接错误, ShaderType 枚举缺失8个类型, 链接修复
- threading: SpinLock STL 兼容方法说明, Mutex const 方法说明
This commit is contained in:
2026-03-19 00:35:26 +08:00
parent a9f882f233
commit 870cb3116e
13 changed files with 36 additions and 21 deletions

View File

@@ -22,7 +22,7 @@
## STL 兼容方法
支持 `lock()``unlock()``try_lock()` 以兼容 STL 的 lockable 概念。
支持 `lock()`, `unlock()`, `try_lock()` 以兼容 STL 的 lockable 概念**注意**:这些方法为 const 成员函数)
## 使用示例

View File

@@ -20,6 +20,10 @@
| [`Unlock`](unlock.md) | 释放锁 |
| [`TryLock`](trylock.md) | 尝试获取锁(非阻塞) |
## STL 兼容方法
支持 `lock()`, `unlock()`, `try_lock()` 以兼容 STL 的 lockable 概念。
## 使用示例
```cpp