docs: update resources API docs

This commit is contained in:
2026-03-20 02:35:35 +08:00
parent fd792b7df1
commit ea756c0177
314 changed files with 9439 additions and 1360 deletions

View File

@@ -0,0 +1,27 @@
# ResourcePath::GetPath
```cpp
const Containers::String& GetPath() const
```
获取原始路径字符串。
**详细描述:**
返回内部存储的路径字符串的常量引用。
**返回:** `const Containers::String&`,路径字符串的常量引用
**复杂度:** O(1)
**示例:**
```cpp
ResourcePath path("textures/player.png");
const Containers::String& rawPath = path.GetPath(); // "textures/player.png"
```
## 相关文档
- [ResourcePath 总览](resourcepath.md) - 返回类总览
- [SetPath](setpath.md) - 设置路径