Files
XCSDD/docs/api/resources/filesystem/initialize.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00

25 lines
434 B
Markdown

# ResourceFileSystem::Initialize
```cpp
void Initialize(const Containers::String& rootPath)
```
初始化资源文件系统。设置资源根目录,准备虚拟文件系统。
**参数:**
- `rootPath` - 资源根目录路径
**返回:**
**复杂度:** O(1)
**示例:**
```cpp
ResourceFileSystem::Get().Initialize("resources/");
```
## 相关文档
- [ResourceFileSystem 总览](filesystem.md) - 返回类总览